This a small project that creates a simple webservice to show various stats from your current working environment. The project is meant to be forked and extended for you own usage. It is built on flask and javascript
Included features are:
- Currently played spotify song.
- Git statistics showing your current diff from the master branch.
- Time since the author ordered a webcam.
- A page showing a youtube video of pole dancing bears in a loop.
- The option to extend and modify the service as you want.
In combination with OBS and OBS Virtualcam
- Fork or clone repository.
- Install from
pyproject.toml
. I recommend using poetry
poetry update
- Run project
poetry run python server.py
To configure the current features add a config file settings.cfg
in root folder of the repository.
Currently supported settings:
[SPOTIFY]
username=MY_USER_NAME
client_id=MY_SPOTIFY_CLIENT_ID
client_secret=MY_SPOTIFY_CLIENT_SECRET
[CODESTATS]
username=MY_GIT_USER_NAME
repos = ("/my/full/path/to/my/git/repo/one", "/my/full/path/to/my/git/repo/one")
[APP]
port=7007