2 releases (1 stable)
|1.0.0||Sep 24, 2022|
|0.1.0||Sep 24, 2022|
#2463 in Command line utilities
A CLI tool built with Rust to scrape a Github profile and mirror the SVG heatmap as Unicode.
This is intended to be a fun little project to play around with scraping with Rust. I know that it's not the most efficient way to get these results, especially given that Github's GraphQL API is quite extensive.
github-heatmap <slug> <args>
|Slug||Github profile slug, e.g. torvalds||String|
|--color||-c||Heatmap color scheme. Nodes will be shaded depending on heat level.||red | green | blue||green|
|--year||-y||Specific year to fetch contributions. If not provided, contributions will be fetched for the last 365 days.||String|
github-heatmap torvalds -c blue
Filter by year
github-heatmap torvalds -y 2022
- Error handling
- Argument validation/value parsers
- Publish to crates.io