A Rust command-line tool that fetches and displays a user's merged GitHub pull requests in a nicely formatted table.
- 📊 Fetches all merged pull requests using GitHub's Search API
- 📋 Displays results in a clean ASCII table format
- 🔍 Shows repository name, PR link, and merge date
- 🎨 Uses colored output for better readability
- ⚡ Asynchronous request handling for better performance
- 📂 Supports filtering by repositories listed in a
repos.txt
file
- Rust 1.76 or higher
- Cargo package manager
- Clone the repository:
git clone https://github.com/codeesura/github-contribution-fetcher.git
cd github-contribution-fetcher
Run the program with a GitHub username:
cargo run <github-username> [repos.txt]
cargo run octocat
With a repos.txt
file:
cargo run octocat repos.txt
The tool displays results in a table with the following columns:
- Repository name
- Pull request URL
- Merge date (or creation date if not merged)
- reqwest - HTTP client
- tokio - Async runtime
- serde - JSON serialization
- colored - Terminal colors
Contributions are welcome! Please feel free to submit pull requests.
This project is available under the MIT license.