Skip to content

threadheap/github-stats-bot

Repository files navigation

github-stats-bot

Github stats rendering service Written in typescript using serverless framework, phantomjs and nivo.

Medium story

How to use

  1. Clone repo
  2. Go to repo root folder
  3. Run
yarn
  1. Change deployment bucket in serverless.base.js
  2. Install serverless framework and serviceless cli tool (You'll also have to configure your AWS credentials, see quick-start)
yarn add -g serverless
yarn add -g serviceless
  1. To deploy run
sudo GITHUB_TOKEN=<github_token> SLACK_TOKEN=<slack_token> slx deploy all

Examples of reports: Contributor stats serverless Contributor stats react Contributor stats nivo

LICENCE

MIT @pavelvlasov