A simple command-line tool written in Python that fetches and displays a user's recent public GitHub activity.
This project demonstrates working with APIs, parsing JSON, and handling CLI arguments — all using Python’s standard library only.
- Fetch recent GitHub activity via the public API
- Display actions such as:
- Pushes (commits)
- Issues opened/closed
- Stars
- Pull requests
- Handles invalid usernames and connection errors gracefully
- No external libraries required (only Python standard library)
- Python 3.8+
- Internet connection
- No need to install any extra packages (
urllib
,json
,sys
are built-in)
- Clone this repository:
git clone https://github.com/AeonForts/github-user-activity-python.git cd github-activity-cli
it's part of inspiration from https://roadmap.sh/projects/github-user-activity