rtfpessoa/diff2html-cli

Analyse electron to show the diff

rtfpessoa opened this issue ยท 4 comments

Try to see if it is easy to integrate electron to draw the diff instead of the browser.

Check: https://github.com/dominictarr/electro

pbu88 commented

Although this is old, it sounds cool. I've wanted to work with electron for a while, but might be also a bit overkill :-)

Maybe just have a diff2html-ui project that wraps this in a electro UI. But I mostly use it in the terminal so I never got the need for this.

@rtfpessoa could you clarify what you had in mind?

Did you mean something like an electron app that allows the user to use a GUI to select a project folder and view the diff in the app? This would provide a simple refresh button and possibly some nice code folding, etc?

An electron app is overkill for this, but it's also very easy to create ๐Ÿ™†โ€โ™‚๏ธ

Please share your thoughts ๐Ÿ˜ƒ

I don't remember exactly who, but someone gave this idea to me.
It would be to have a some GUI to use the tool.
It could just provide the visualization but also have features like receiving two strings and show the diff for them.

Overall overkill seems a nice description for this idea, but nonetheless I let it stay, if any day I had extra time to spend ๐Ÿ˜„

Feel free to go at it