+
Skip to content

A Rust command-line tool that fetches and displays a user's merged GitHub pull requests in a nicely formatted table.

License

Notifications You must be signed in to change notification settings

codeesura/github-contribution-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Contribution Fetcher

A Rust command-line tool that fetches and displays a user's merged GitHub pull requests in a nicely formatted table.

Features

  • 📊 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

Prerequisites

  • Rust 1.76 or higher
  • Cargo package manager

Installation

  1. Clone the repository:
git clone https://github.com/codeesura/github-contribution-fetcher.git
cd github-contribution-fetcher

Usage

Run the program with a GitHub username:

cargo run <github-username> [repos.txt]

Example:

cargo run octocat

With a repos.txt file:

cargo run octocat repos.txt

Output Format

The tool displays results in a table with the following columns:

  • Repository name
  • Pull request URL
  • Merge date (or creation date if not merged)

Dependencies

  • reqwest - HTTP client
  • tokio - Async runtime
  • serde - JSON serialization
  • colored - Terminal colors

Contributing

Contributions are welcome! Please feel free to submit pull requests.

License

This project is available under the MIT license.

About

A Rust command-line tool that fetches and displays a user's merged GitHub pull requests in a nicely formatted table.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载