A simple command-line tool that fetches and displays the recent activity of any GitHub user in your terminal. Roadmap.sh
- Fetch and display a GitHub user's recent activity
- Simple, clean command-line interface
- Minimal dependencies
- Fast performance
If you have Go installed, you can install directly from the source:
go install github.com/HackerManPeter/github-activity@latestDownload the pre-compiled binary for your platform:
- Go to the releases page
- Download the binary for your operating system (Windows, macOS, Linux)
- Extract and add to your PATH
# Clone the repository
git clone https://github.com/HackerManPeter/github-activity.git
# Navigate to the project directory
cd github-activity
# Build the application
go build -o github-activity
# Move to a directory in your PATH (optional)
mv github-activity /usr/local/bin/# Basic usage
github-activity <username>
# Example
github-activity kamranahmedseRecent GitHub Activity for kamranahmedse:
- Pushed 3 commits to kamranahmedse/developer-roadmap
- Opened a new issue in kamranahmedse/developer-roadmap
- Starred octocat/Hello-World
- Created a new repository kamranahmedse/sample-project
- Commented on issue #42 in kamranahmedse/developer-roadmap
You can configure the application using the following environment variables:
GITHUB_TOKEN: Your GitHub personal access token (optional, increases API rate limits)
Example:
export GITHUB_TOKEN=your_personal_access_token
github-activity kamranahmedse- 🚧 Activity filtering by type (commits, issues, PRs, etc.)
- 🚧 Time-based filtering (last day, week, month)
- 🚧 Interactive mode with paging and detailed views
- 🚧 Activity statistics and summaries
This tool uses the GitHub REST API v3 to fetch user events. By default, it works without authentication but has limited API rate. For increased limits, you can provide a GitHub personal access token through the GITHUB_TOKEN environment variable.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.