Node implementation of Github Badge ( berkerpeksag/github-badge )
Clone this repository and then run npm install
npm install
Run server:
npm start
In a browser:
http://localhost:8080/badge/nickname
Run with customized config.json
docker run -d -p 8080:8080 -v $(pwd)/config.json:/opt/app/config.json sydro/node-github-badge
{
"PORT": 8080,
"GITHUB_URL": "https://www.github.com/",
"CACHE_INTERVAL": 86400000,
"CACHE_DIR": "./cache/",
"USERS_ACCEPTED": [ "sydro" ]
}