Skip to content
📊 A CLI application that fetches stats from developer sites.
Branch: master
Clone or download
shroudedcode Add fake `test` script back
Some sort of `test` script is required by `np`.
Latest commit 4281769 Jul 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Initial commit Mar 10, 2018
bin Improve code style Jul 12, 2019
src Improve code style Jul 12, 2019
.editorconfig Initial commit Mar 10, 2018
.gitignore Initial commit Mar 10, 2018
LICENSE Add README and LICENSE Apr 18, 2018
README.md Improve README Jul 12, 2019
package.json Add fake `test` script back Jul 12, 2019
tsconfig.json Simplify TypeScript config Jul 12, 2019
tslint.json Improve code style Jul 12, 2019
yarn.lock Update yarn lockfile Jul 12, 2019

README.md

devstats

A CLI application that fetches stats from developer sites.

devstats is a CLI application written in TypeScript that fetches statistics from developer sites like StackOverflow, WakaTime, and GitHub and displays them nicely.

Installation

Install it globally using:

$ npm install -g devstats

Or if you're using Yarn:

$ yarn global add devstats

Usage

Add accounts from the supported sites:

$ devstats add https://github.com/shroudedcode

Display your daily report:

$ devstats

Display your daily report and switch between days using your keyboard:

$ devstats -i

Full list of commands

From devstats --help:

Display the daily report for the current day:

$ devstats

Display a summary of the current week:

$ devstats -w or devstats --week

Display a summary of the last <days> days:

$ devstats -d <days> or devstats --days <days>

Switch between days interactively:

$ devstats -i or devstats --interactive

Add an account:

$ devstats add <site> <username/user-id>
$ devstats add github shroudedcode

$ devstats add <url>
$ devstats add https://github.com/shroudedcode

Remove an account:

$ devstats remove <site> <username/user-id>
$ devstats remove stackoverflow 6662225

$ devstats remove <url>
$ devstats remove https://stackoverflow.com/users/6662225

Supported sites

This is a list of sites currently supported by devstats. You can add your account using the name in parentheses.

Your favorite site is not on the list? Feel free to add support yourself and open a pull request.

License

MIT © Niklas Higi

You can’t perform that action at this time.