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
- Features
- Getting Started
- Usage
- Visual Style
- Components
- Hooks
- Contributing
- License
- Acknowledgments
π§ 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:
π Replace
demo-screenshot.pngwith 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:
- Node.js (v16+ recommended): https://nodejs.org/
- npm (comes with Node.js)
Verify installation by running:
node -v
npm -vπ¦ Installation
- Clone the repository:
[git clone https://github.com/devansh934/GitHub_Project_Finder.git]
cd <project-directory>- Install dependencies:
npm installβΆοΈ Running the Application
Start the development server:
npm startOpen your browser and visit:
http://localhost:3000
π Usage
- Enter a search term in the input field.
- Click the "Search" button or press Enter.
- Browse the list of matching repositories.
- 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!
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name - Make your changes.
- Commit changes:
git commit -am "Add new feature" - Push to GitHub:
git push origin feature/your-feature-name - 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.

