gitcli-rs
v1.0.0
Published
CLI tool to fetch GitHub user information from terminal
Downloads
27
Maintainers
Readme
GitCLI-RS
GitCLI-RS is a simple Node.js command line tool that allows you to fetch GitHub user information directly from your terminal using the GitHub API.
Features
- Search GitHub users from terminal
- Fast and lightweight CLI tool
- Clean terminal output
- Built with Node.js and Commander.js
Installation
Install globally using npm:
npm install -g gitcli-rsUsage
Search any GitHub user:
gitcli-rs search <github-username>Example:
gitcli-rs search octocatExample Output
GitHub User Info
Name: The Octocat
Username: octocat
Followers: 17000
Following: 9
Public Repositories: 8
Bio: GitHub mascot
Profile: https://github.com/octocatCommands
| Command | Description |
|---|---|
| gitcli-rs search <username> | Fetch GitHub user profile |
Technologies Used
- Node.js
- Commander.js
- Axios
- Chalk
- GitHub REST API
Project Structure
gitcli-rs/
│
├── index.js
├── package.json
├── README.md
└── service/
└── github.jsLocal Development
Clone repository:
git clone <your-repository-url>Move into project folder:
cd gitcli-rsInstall dependencies:
npm installRun locally:
node index.js search octocatLink globally for testing:
npm linkNow you can run:
gitcli-rs search octocatPublish to npm
Login to npm:
npm loginPublish package:
npm publishFuture Improvements
- Repository listing
- Followers/following fetch
- Interactive terminal UI
- Search suggestions
- Better terminal formatting
- Loading spinners
Author
Rohit Seth
License
MIT
