* Add empty projects listing and cards
* Projects page header
* Projects listing and filtering
* Add project detail page
* Add a task tracker CLI project
* UI changes
* Add projects for expense and task tracker
* Add new projects
* Add blogging platform API project
* Project page UI changes
* Add todo list api project
* Add todo list api project
* Add a project idea for weather service
* Add expense tracker API project
* Add more details to expense tracker
* Add markdown note taking app idea
* Add URL shortener service project
* Add broadcast server project
* Add ecommerce project idea
* Add project on other roadmaps
* Add workout tracker project
* Add image processing project idea
* Add movie reservation system ap
* Add movie reservation system project
* Add realtime leader board system project
* Add details for a database backup utility
* Add project contribution docs
* Fix UI of the discover page
title, description, isNew, sort, difficulty, nature, skills, seo, roadmapIds
title
description
isNew
sort
difficulty
nature
skills
seo
roadmapIds
GitHub User Activity
Use GitHub API to fetch user activity and display it in the terminal.
false
2
beginner
CLI
Programming Language
API Consumption
title
description
keywords
GitHub User Activity CLI
Build a command line interface (CLI) to fetch and display GitHub user activity.
github user activity cli
backend project idea
backend
nodejs
python
java
golang
spring-boot
In this project, you will build a simple command line interface (CLI) to fetch the recent activity of a GitHub user and display it in the terminal. This project will help you practice your programming skills, including working with APIs, handling JSON data, and building a simple CLI application.
Requirements
The application should run from the command line, accept the GitHub username as an argument, fetch the user's recent activity using the GitHub API, and display it in the terminal. The user should be able to:
Provide the GitHub username as an argument when running the CLI.
github-activity <username>
Fetch the recent activity of the specified GitHub user using the GitHub API. You can use the following endpoint to fetch the user's activity:
Output:
- Pushed 3 commits to kamranahmedse/developer-roadmap
- Opened a new issue in kamranahmedse/developer-roadmap
- Starred kamranahmedse/developer-roadmap
- ...
Handle errors gracefully, such as invalid usernames or API failures.
Use a programming language of your choice to build this project.
Do not use any external libraries or frameworks to fetch the GitHub activity.
If you are looking to build a more advanced version of this project, you can consider adding features like filtering the activity by event type, displaying the activity in a more structured format, or caching the fetched data to improve performance. You can also explore other endpoints of the GitHub API to fetch additional information about the user or their repositories.