Skip to content

A small project that creates a simple webservice to show various stats from your current working environment

Notifications You must be signed in to change notification settings

Bjodol/den-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In the den

Introduction

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

Features

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.

Example usages:

As webcam

In combination with OBS and OBS Virtualcam

Installation

  1. Fork or clone repository.
  2. Install from pyproject.toml. I recommend using poetry
poetry update
  1. Run project
poetry run python server.py

Configuration

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

About

A small project that creates a simple webservice to show various stats from your current working environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published