Open-source self-hosted comments
The data are stored in
data.yaml. This file is edited manually.
apigh/<YYYY-MM-DD>/directory if does not exist;
- downloads (using system
https://api.github.com/repos/:user/:repo/commits/masterto the created directory;
- reads these files and updates
data.yamlfor the following:
- Github stars,
- Github stars in the latest N days,
- latest commit date,
- creation date,
data.js(it defines two variables —
data.jsand parses it to the html table using datatables.js.
The webpage is updated daily at 17:00 UTC via
yaml_2_js.py, then deploys the updated files, then updates the repo.
How to view the page locally
Clone the repo and open
index.html in your browser.
To change it, edit
index.md and run
It will overwrite existing
It will update the
Check and add the information to make the table useful. I would appreciate adding a missing demo.
Improve the python code.
get_gh_data.py: retry to get the api data if response contains
"message": "Server Error".
Show column descriptions on mouse over.
Where do I find a number of opened and closed issues? For example, https://api.github.com/users/posativ/isso has
open_issues, both equal to 131, whereas there are 110 issues and 21 PR.
apigh/<date>folders store a lot of information which is never used. Need to write a python script to extract only needed info from the files and delete the rest.
Plot stars vs. time for ~10 top commenting systems. Update the plot daily automatically.
Contributions are welcome. Fork the repo and send PR, submit an issue, or leave a comment at the website.