rtfpessoa / diff2html-cli

Pretty diff to html javascript cli (diff2html-cli)
https://diff2html.xyz
MIT License
521 stars 50 forks source link

Analyse electron to show the diff #11

Open rtfpessoa opened 8 years ago

rtfpessoa commented 8 years ago

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 7 years ago

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

rtfpessoa commented 7 years ago

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.

whyboris commented 5 years ago

@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 😃

rtfpessoa commented 5 years ago

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 :smile:

Feel free to go at it