GitView - https://gitview1.netlify.app/
A Real-time GitHub Explorer application built with React that provides live repository search, user profiles, and comprehensive GitHub data using the GitHub API.
- π Real-time Repository Search: Instantly search GitHub repositories with live results
- π€ User Profile Explorer: View comprehensive user profiles and statistics
- π’ Organization Insights: Browse organization repositories and member data
- π Repository Analytics: Stars, forks, issues, and contribution data
- π Trending Repositories: Discover popular and trending projects
- π± Responsive Design: Optimized for desktop and mobile devices
- β‘ Fast Performance: Built with Vite for optimal loading speeds
- π¨ Clean UI: Modern and intuitive user interface
- Frontend Framework: React.js
- Build Tool: Vite
- Styling: Tailwind CSS
- API: GitHub REST API v3
- HTTP Client: Axios/Fetch API
- State Management: React Hooks (useState, useEffect)
- Routing: React Router DOM
- Search Repositories: Use the search bar to find repositories by name, description, or topics
- View Repository Details: Click on any repository to see detailed information, file structure, and statistics
- Explore User Profiles: Search for users and view their repositories, contributions, and activity
- Browse Organizations: Discover organizations and their public repositories
- Filter Results: Apply filters for language, stars, creation date, and more
This application uses the GitHub REST API to fetch repository and user data.
GET /search/repositories- Search for repositoriesGET /search/users- Search for usersGET /users/{username}- Get user profile informationGET /repos/{owner}/{repo}- Get repository detailsGET /users/{username}/repos- Get user repositories
Rate Limits:
- Authenticated requests: 5,000 requests per hour
- Unauthenticated requests: 60 requests per hour
GitView/
βββ public/
β βββ screenshots/
β βββ desktop-view.png
β βββ mobile-view.png
β βββ search-feature.png
β βββ video-thumbnail.png
| βββ favicon.png
βββ src/
| βββ index.css
β βββ App.jsx
β βββ main.jsx
βββ tailwind.config.js
βββ postcss.config.js
βββ package.json
βββ vite.config.js
βββ README.md
In the project directory, you can run:
npm run dev- Runs the app in development modenpm run build- Builds the app for productionnpm run preview- Preview the production buildnpm run lint- Run ESLint to check code quality
Real-time Repository Search
User Profile Fetching
Tailwind CSS Configuration
- Repository Name & Description
- Programming Language
- Stars, Forks, and Watchers Count
- Open Issues Count
- Last Updated Date
- License Information
- Owner/Organization Details
- Profile Picture & Bio
- Follower/Following Count
- Public Repository Count
- Location & Company
- GitHub Join Date
- Contribution Activity
You can customize the application by:
- Adding more search filters (date range, file size, etc.)
- Implementing repository comparison features
- Adding code visualization and analysis
- Implementing starred repositories tracking
- Adding trending topics and languages
- Creating repository bookmarking functionality
-
Build the project:
npm run build
-
Deploy the
distfolder to Netlify -
Add environment variables in Netlify dashboard:
VITE_GITHUB_TOKEN: Your GitHub Personal Access Token
-
Install Vercel CLI:
npm i -g vercel
-
Deploy:
vercel --prod
-
Add environment variables in Vercel dashboard
VITE_GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
VITE_API_BASE_URL=https://api.github.comSecurity Note: Never commit your .env file to version control. The GitHub token should be kept private.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request