GitHunt
DE

devansh934/GitHub_Project_Finder

A simple and elegant React application that allows users to search for GitHub repositories and view basic information. Includes a unique visual representation (inspired by Scratch blocks) to display star counts in a fun and intuitive way.

πŸ” GitHub Project Finder

A simple and elegant React application that allows users to search for GitHub repositories and view basic information. Includes a unique visual representation (inspired by Scratch blocks) to display star counts in a fun and intuitive way.


πŸ“‘ Table of Contents


🧭 Introduction

GitHub Project Finder is a React-based web app built to interact with the GitHub REST API. It offers a user-friendly interface where users can search for repositories by keyword and instantly view key details like name, description, and star count.


✨ Features

  • πŸ”Ž Search GitHub Repositories
    Search for open-source projects using a keyword.

  • πŸ“‹ View Repository Details
    Displays repository name, description, and link to the GitHub page.

  • ⭐ Star Count Visualization
    A creative Scratch-block-style visual representation of the star count.


πŸ“Έ Demo

Here’s what the application looks like:

Screenshot (314)
Screenshot (315)

πŸ“Œ Replace demo-screenshot.png with your actual screenshot file.


βš™οΈ Getting Started

These instructions will help you set up and run the project locally for development and testing.

βœ… Prerequisites

Make sure you have the following installed:

Verify installation by running:

node -v
npm -v

πŸ“¦ Installation

  1. Clone the repository:
[git clone https://github.com/devansh934/GitHub_Project_Finder.git]
cd <project-directory>
  1. Install dependencies:
npm install

▢️ Running the Application

Start the development server:

npm start

Open your browser and visit:
http://localhost:3000


πŸš€ Usage

  1. Enter a search term in the input field.
  2. Click the "Search" button or press Enter.
  3. Browse the list of matching repositories.
  4. Click the repository name to view it directly on GitHub.

🎨 Visual Style

The application follows a light and clean theme with:

  • Soft blue and muted gold accents
  • Open Sans as the primary font
  • Simple, intuitive layout

🧩 Components

  • App – Root component that manages state and layout.
  • SearchBar – Input field and search button.
  • SearchResults – Displays results in a list.
  • RepositoryItem – Shows name, description, and link.
  • ScratchVisualizer – Creative star visualization component.

πŸͺ Hooks

  • useGitHubSearch
    Custom React hook that fetches data from the GitHub API based on the user's query.

🀝 Contributing

All contributions are welcome!

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes.
  4. Commit changes:
    git commit -am "Add new feature"
  5. Push to GitHub:
    git push origin feature/your-feature-name
  6. Open a Pull Request.

πŸ™ Acknowledgments

  • Powered by the GitHub REST API.
  • Visual inspiration taken from Scratch-style block representations.
  • Thanks to open-source contributors and UI libraries that made this project easier to build.