A sleek and responsive web application that lets you search for GitHub users, explore their profiles, and discover their public repositories using the GitHub REST API.
- π Search for any GitHub username
- π€ View profile information, avatar, and bio
- π Display followers, following, and public repository counts
- π Explore public repositories, programming languages, and stars
- π Open GitHub profiles and repositories directly
- β³ Loading states and helpful error messages
- π± Responsive design for desktop and mobile devices
- π¨ Premium dark UI with gradient accents and smooth interactions
- HTML5 β page structure and semantic elements
- CSS3 β responsive layout, gradients, and styling
- JavaScript (ES6+) β application logic and asynchronous requests
- GitHub REST API β fetching profile and repository data
github-profile-finder/
βββ index.html # Application structure
βββ style.css # Styling and responsive layout
βββ script.js # API requests and application logic
βββ README.md # Project documentation
-
Clone this repository:
git clone https://github.com/itsrazakhan/github-profile-finder.git
-
Open the project folder:
cd github-profile-finder -
Open
index.htmlin your browser, or use the Live Server extension in VS Code. -
Enter a GitHub username and click Explore profile.
No package installation or API key is required for basic use.
- Enter a GitHub username in the search field.
- JavaScript sends a request to the GitHub Users API.
- The application receives the response and converts the JSON data into JavaScript objects.
- Profile details are displayed in a styled profile card.
- A second API request retrieves public repositories, including their descriptions, programming languages, and star counts.
- Loading indicators and error messages provide feedback when needed.
User profile
https://api.github.com/users/USERNAME
Public repositories
https://api.github.com/users/USERNAME/repos?sort=updated&per_page=6&type=owner
Replace USERNAME with the GitHub username you want to explore.
- Making HTTP requests with
fetch() - Working with asynchronous JavaScript using
async/await - Parsing and handling JSON responses
- Using the GitHub REST API
- Handling errors with
try/catch/finally - Dynamically rendering content in the DOM
- Creating responsive layouts with CSS
- Building a practical project using an external API
- Add pagination to browse more repositories
- Filter repositories by programming language
- Add sorting options for stars and recently updated projects
- Display more developer statistics
- Add a light and dark theme toggle
- Improve accessibility and add automated tests
- GitHub: @itsrazakhan
Made with β€οΈ while learning to code.