You can use diff2html.py that is able to create a side-by-side diff in a static html page, from an unified diff input. The script is written in python.
cat foo.diff | python diff2html.py > foo.html
pygments has syntax highlighting for diff (and for lots of other languages), and can be used as a library or a command-line program. Is that the sort of thing you're looking for? If not please clarify the question...
Something along the lines of:
vim test.diff -c TOhtml -c ":saveas test.html" -c ":q" -c ":q"
works well, and you can change the color-scheme of the diff by changing the color scheme in vi.
http://www.sourceforge.net/projects/diff2html
how about Text-Diff-HTML, difflib.HtmlDiff, CSDiff?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With