Skip to content
Spit out a diff as a more readable HTML page!
Python HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Diff Humaniser

Spit out a diff as a more readable HTML page!

I made this because I wanted to generate a human readable diff for changes made to the Stellaris game folder so I could update my mods.

I'm not a python expert by any means, so I thought this would be a good exercise to get more used to it.


  • Python
  • Git


python DEFAULT <from_version> <to_version> <path_to_git_repo> [repository_name] [from_revision] [to_revision]


python PRE-DIFF <from_version> <to_version> <path_to_diff_file>

Make sure to edit header.html, head.html and footer.html but please leave some credit and link back to this repository.

[from_revision] [to_revision] will be replaced with HEAD~1 and HEAD respectively


python DEFAULT 1.1.x 1.2.x "C:/Games/Steam/steamapps/common/Stellaris/" "STELLARIS"

The command above generated

You can’t perform that action at this time.