Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niklashigi/devstats
:bar_chart: A CLI application that fetches stats from developer sites
https://github.com/niklashigi/devstats
cli cli-application daily-report statistics stats
Last synced: 2 months ago
JSON representation
:bar_chart: A CLI application that fetches stats from developer sites
- Host: GitHub
- URL: https://github.com/niklashigi/devstats
- Owner: niklashigi
- License: mit
- Created: 2018-03-18T18:16:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-21T20:52:38.000Z (over 3 years ago)
- Last Synced: 2024-11-09T01:34:41.661Z (2 months ago)
- Topics: cli, cli-application, daily-report, statistics, stats
- Language: TypeScript
- Homepage: https://asciinema.org/a/170671
- Size: 317 KB
- Stars: 113
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# devstats
# ![](https://user-images.githubusercontent.com/29176678/44999492-f17d4a80-afbd-11e8-965d-feb70142ac01.png)
> A CLI application that fetches stats from developer sites.
[![][npm-badge]][npm-link]
**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:
```console
$ npm install -g devstats
```Or if you're using Yarn:
```console
$ yarn global add devstats
```## Usage
Add accounts from the [supported sites](#supported-sites):
```console
$ devstats add https://github.com/shroudedcode
```Display your daily report:
```console
$ devstats
```Display your daily report and switch between days using your keyboard:
```console
$ devstats -i
```### Full list of commands
From `devstats --help`:
```console
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:
$ devstats -d or devstats --days
Switch between days interactively:
$ devstats -i or devstats --interactive
Add an account:
$ devstats add
$ devstats add github shroudedcode$ devstats add
$ devstats add https://github.com/shroudedcodeRemove an account:
$ devstats remove
$ devstats remove stackoverflow 6662225$ devstats remove
$ 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.
- [GitHub](https://github.com) (`github`)
- [GitLab](https://gitlab.com) (`gitlab`)
- [StackOverflow](https://stackoverflow.com) (`stackoverflow`)
- [WakaTime](https://wakatime.com) (`wakatime`)
- [Hackerrank](https://hackerrank.com) (`hackerrank`)
- [Reverse Engineering SE](https://reverseengineering.stackexchange.com) (`reverseengineering`)
- [Code::Stats](https://codestats.net) (`codestats`)Your favorite site is not on the list? Feel free to add support yourself and open a pull request.
## License
MIT © [Niklas Higi](https://shroudedcode.com)
[npm-link]: https://www.npmjs.com/package/devstats
[npm-badge]: https://img.shields.io/npm/v/devstats.svg?style=flat-square