Skip to content

niklashigi/devstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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