wiedehopf / graphs1090

Graphs for readsb / dump1090-fa / dump1090 (based on dump1090-tools by mutability)
MIT License
405 stars 42 forks source link

Wish: Add Version number here #49

Open Dtrieb opened 2 years ago

Dtrieb commented 2 years ago

https://github.com/wiedehopf/graphs1090/blob/30cbb24203ffce3e9d73c3c494f1d4738007ebea/html/index.html#L188

Could you please add the version number of the installed version here?

techfixpros commented 2 years ago

Since there are no actual releases, the git commit hash would probably be better, as in: image

mpentler commented 1 year ago

I had a look at how to do this and found a Python example which requires a subprocess to run a git command, so it could be inserted into the main html file on install/update somehow?

https://stackoverflow.com/questions/14989858/get-the-current-git-hash-in-a-python-script