github-activity

command module
v0.0.0-...-05c9684 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 4 Imported by: 0

README

GitHub Activity CLI

A command-line interface (CLI) tool to display a user's GitHub activity, including pushes, issues, stars, forks, and more. The sample solution for the github-user-activity challenge from roadmap.sh

Installation

To use the GitHub Activity CLI, you need to have Go installed on your machine.

  1. Clone the Repository:
git clone https://github.com/fhasnur/github-activity.git
  1. Navigate to the project directory:
cd github-activity
  1. Build the CLI:
go build -o github-activity

Usage

Once built, you can run the CLI tool from your terminal. The basic usage is:

./github-activity <username>

Replace with the GitHub username you want to query. For example:

./github-activity fhasnur
Example Output
Github User: fhasnur
Name: Fandi Hasnur
Bio: my codes are funday space 🌞
Public Repos: 52 | Followers: 46

Recent Activities:
-------------------------------------------------
- Pushed 1 commit(s) to fhasnur/github-activity
 (at 2024-09-03T16:52:59Z)
 -------------------------------------------------
- Created branch in fhasnur/github-activity 
 (at 2024-08-24T01:15:41Z)
-------------------------------------------------
- Created repository in fhasnur/github-activity 
 (at 2024-08-24T01:09:37Z)

Contributing

Feel free to submit pull requests or open issues for new features, improvements, or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL