#github #contributions #show #command-line-tool #cli #token #dono

app dono-cli-contributions

A CLI tool to show your GitHub contributions

1 unstable release

0.1.2 Apr 7, 2024

#17 in #contributions

MIT license

1MB
24K SLoC

GraphQL 24K SLoC Rust 347 SLoC // 0.1% comments

Dono

GitHub Workflow Status GitHub Crates.io

A customizable CLI tool to show your GitHub contributions graph in your terminal

Installation

Cargo package

cargo install dono-cli

Build from source

git clone https://github.com/jervw/dono
cd dono
cargo build --release
cargo run

Generating a personal access token

Navigate to your GitHub developer settings. Click the Personal access tokens menu, then click Generate new token (classic).

Scopes are not required.

GitHub will display the personal access token once. Copy the token into dono.toml configuration file.

Configuration

After installing dono, edit the example configuration to your liking. The location is $XDG_CONFIG_HOME/dono/dono.toml.

Usage

dono --help

A CLI tool to show your GitHub contributions

Usage: dono <user_name>

Arguments:
  <user_name>  GitHub user name

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Features/Bugs

Please create an issue :)

TODOs

  • Week starts on monday setting
  • Display stats (e.g. streaks, highest contributions)
  • Custom queries

License

This project is licensed under the MIT. See the LICENSE file for details.

Dependencies

~8–24MB
~297K SLoC