Robmroi and I asked ourselves who is more active on github since the beginning of the year.
Because counting was needed when looking onto the github profile I made this to automatically count.
Since then (a year ago) this evolved a bit, and is now in a usable state and could be used for Contribution Overviews/Challenges. A use case I can think of is at a Hackathon where you want to create (something like) a leaderboard.
This project is still being worked on:
- let the people edit their profile pages
- More types of challenges (not only year/eternity). Enter a specific start/end date.
- Make everything more beautiful (Please help! :))
docker run --name gyc -p 8000:80 -d strifel/githubyearcommits
Please change the admin password afterwards. Standard Password is admin
- clone the repo
- run
python3 install.pyand enter a (new) password when prompted. (WARING: Do not use any standard password.) - Configure your web server (e.g. Apache WGSI, gunicorn) to use
app.py(Or runapp.py(not recommended)). (ApacheWGSI Config) - Navigate your web browser to the page
/login. - Enter admin as username and your new password and setup names of github account(/participants) (Important. only public contributions are count unless you show private contributions on your github account page)
- Go to the main page (remove /admin in the address bar)
- Go back to
/adminand play with the settings (User permissions informations).
- Stop your web server.
- Pull the repo (
git pull) - Execute database script (
python3 update.py) - Start your web server.
- Check out new settings/functions.
- You can force reload by going to
/forcepath(can be disabled) - Admin can force reload even if disabled
- You can click on count and hover over another to see percentage.
- You can change path to sqlite database by changing
GYC_DATABASEenvironmental variable
On 26th Juli 2018 this is on MIT License.
- robmroi for the idea, the design and the darkmode
- sallar for giving an api for contributions
- All the people who build a library (I use).
- Stack Overflow Community (of course).