GitHub Profile Lookup is a webpage where you can search for GitHub users and view their profile summaries. This includes information like their name, bio, followers, and the repositories and gists they have created.
This project exists thanks to all the people who contribute. We welcome contributions from everyone who is interested in improving this project.
- Search for users by GitHub username
- View user profile summary including name, bio, followers, and following
- View user's repositories and gists
Try the live demo here.
This project is built using HTML, CSS, and JavaScript. It uses the Axios library to make HTTP requests to the GitHub API.
- Clone the repository:
git clone https://github.com/JubairRahman/Search-Git-Profile.git
- Open
index.html
in your browser.
Simply type a GitHub username into the search bar and hit Enter. The user's profile, along with their repositories and gists, will be displayed below.
The JavaScript code in script.js
handles the logic of the application. It makes asynchronous requests to the GitHub API to fetch user profiles, repositories, and gists. When a user is searched, it creates a user card with their profile details. If an error occurs, such as when a profile doesn't exist, it creates an error card displaying the error message.
Contributions are welcome and highly appreciated! Pull requests are an excellent way to help. For major changes, please open an issue first to discuss what you would like to change.
⭐ Please consider giving this repository a star to show your support!