Skip to content
Graph history of GitHub stars of a user or repo over time
Branch: master
Clone or download
dtolnay Skip null stars
GraphQL can return nulls in the stargazer list, usually accompanied by
an error that looks like:

      "type": "INTERNAL",
      "message": "Something went wrong while executing your query. Please include `CC64:0000:000000:000000:00000000` when reporting this issue."
Latest commit 5952a58 Jan 16, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots star-history Jan 13, 2020
src Skip null stars Jan 16, 2020
.gitignore star-history Jan 13, 2020
.travis.yml Set up travis builds Jan 13, 2020
Cargo.toml Release 0.1.5 Jan 14, 2020
LICENSE-APACHE star-history Jan 13, 2020
LICENSE-MIT star-history Jan 13, 2020 star-history Jan 13, 2020

GitHub star history

Build Status Latest Version

Command line program to generate a graph showing number of GitHub stars of a user or repo over time.

$ cargo install star-history

Compiler support: requires rustc 1.40+


star history of rust-lang/rust


We require a token for accessing GitHub's GraphQL API. Head to and click "Generate new token". The default public access permission is sufficient — you can leave all the checkboxes empty. Save the generated token somewhere like ~/.githubtoken.


$ export GITHUB_TOKEN=$(cat ~/.githubtoken)

$ star-history dtolnay
$ star-history rust-lang/rust

Simply pass multiple arguments to display multiple users or repositories on the same graph.

The generated graphs use D3; the star-history command should pop open a browser showing your graph. It uses the same mechanism that cargo doc --open uses so hopefully it works well on various systems.


Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
You can’t perform that action at this time.