A simple command-line tool to fetch and display a GitHub user's profile information and list of repositories.
-
Clone the repository:
git clone https://github.com/MRQ67/github-profile-viewer.git
-
Navigate to the project directory:
cd github-profile-viewer
Run the tool and enter a GitHub username when prompted:
go run main.goYou will be asked to input a GitHub username. After entering the username, the tool will display the user's profile information and a list of their repositories.
- Profile Information:
- Username
- Name
- Bio
- Followers
- Following
- Repositories:
- Repository Name
- Description
- Go 1.16 or higher
$ go run main.go
Enter GitHub username: MRQ67
Profile Information:
- Username: MRQ67
- Name: Abdellah Qadi
- Bio: Building impactful solutions with code. And a healthy dose of late-night debugging.
- Public Repos: 9
Repositories:
- MRQ67 () ★ 1
https://github.com/MRQ67/MRQ67
- My_Portfolio_Website () ★ 0
https://github.com/MRQ67/My_Portfolio_Website
- blockchain (Python) ★ 2
https://github.com/MRQ67/blockchain
- gif_generator (JavaScript) ★ 1
https://github.com/MRQ67/gif_generator
- githubprofile-viewer (Go) ★ 0
https://github.com/MRQ67/githubprofile-viewer
- java101 (Java) ★ 2
https://github.com/MRQ67/java101
- my-weather-cli (Go) ★ 1
https://github.com/MRQ67/my-weather-cli
- quotes_calls (Python) ★ 1
https://github.com/MRQ67/quotes_calls
- url-shorten (Go) ★ 1
https://github.com/MRQ67/url-shorten
The tool uses the GitHub API to fetch the user's profile and repository information. It makes HTTP requests to the API endpoints and parses the JSON responses to display the relevant data.
This project is licensed under the MIT License. See the LICENSE file for details.