Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub User Activity CLI

A simple Command Line Interface (CLI) application built with Go to fetch and display the recent public activity of any GitHub user directly in your terminal.

This project was built to practice interacting with REST APIs, handling JSON data, and creating clean CLI tools without external dependencies.

Features

  • Zero External Dependencies: Built entirely using Go's standard library (net/http, os, encoding/json).
  • Real-time Activity Fetching: Uses the official GitHub Events API.
  • Graceful Error Handling: Provides clear messages for network issues, missing arguments, or non-existent usernames.

Installation

Make sure you have Go installed on your machine.

  1. Clone the repository:

    git clone https://github.com
    cd github-user-activity
  2. Build the application:

    go build -o github-activity main.go

Usage

Run the executable from your terminal and provide a GitHub username as an argument:

./github-activity <username>

Example

./github-activity kamranahmedse

Output:

- Pushed  to kamranahmedse/developer-roadmap
- Opened an issue in kamranahmedse/developer-roadmap
- Starred kamranahmedse/developer-roadmap

URL: https://roadmap.sh/projects/github-user-activity

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages