Skip to content

About

πŸ”Ž A sleek, responsive GitHub profile finder built with HTML, CSS, and JavaScript. Explore developer profiles and public repositories using the GitHub REST API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”Ž GitHub Profile Finder

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.

πŸ‘€ Live Demo

View it here

✨ Features

  • πŸ” 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

πŸ› οΈ Built With

  • 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

πŸ“ Project Structure

github-profile-finder/
β”œβ”€β”€ index.html   # Application structure
β”œβ”€β”€ style.css    # Styling and responsive layout
β”œβ”€β”€ script.js    # API requests and application logic
└── README.md    # Project documentation

πŸš€ How to Run

  1. Clone this repository:

    git clone https://github.com/itsrazakhan/github-profile-finder.git
  2. Open the project folder:

    cd github-profile-finder
  3. Open index.html in your browser, or use the Live Server extension in VS Code.

  4. Enter a GitHub username and click Explore profile.

No package installation or API key is required for basic use.

πŸ”§ How It Works

  1. Enter a GitHub username in the search field.
  2. JavaScript sends a request to the GitHub Users API.
  3. The application receives the response and converts the JSON data into JavaScript objects.
  4. Profile details are displayed in a styled profile card.
  5. A second API request retrieves public repositories, including their descriptions, programming languages, and star counts.
  6. Loading indicators and error messages provide feedback when needed.

API Endpoints

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.

🧠 What I Learned

  • 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

🎯 Future Improvements

  • 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

πŸ“š Resources

πŸ“« Connect


Made with ❀️ while learning to code.

About

πŸ”Ž A sleek, responsive GitHub profile finder built with HTML, CSS, and JavaScript. Explore developer profiles and public repositories using the GitHub REST API.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages