A lightweight, high-performance web tool to analyze public GitHub repositories, built entirely with Preact.
- Direct API Integration: Queries the public GitHub REST API directly from the client.
- Deep Insights: Displays key statistics such as stars, forks, open issues, and primary languages.
- Extreme Lightweight: Built with Preact to ensure maximum performance and minimal bundle size.
- Responsive Design: A polished UI built with Tailwind CSS 4 that looks great on mobile and desktop.
src/
|-- main.tsx # Entry point
`-- app.tsx # Main application logic and UI components
- Preact 10 with Vite 6
- GitHub REST API
- Tailwind CSS 4 for styling
lucide-preactfor iconography
npm install
npm run devOpen http://localhost:5173.
- API Rate Limits: The app uses unauthenticated requests to the GitHub API, which are limited to 60 requests per hour per IP. For extended use or a production deployment, consider adding a feature to provide a Personal Access Token (PAT).
- Responsive UI: The application uses modern CSS Grid and Flexbox layouts through Tailwind CSS to adapt perfectly to all screen sizes.
npm run build
npm run previewThe repository includes a highly optimized vercel.json for Vite static deployment.
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": "vite",
"buildCommand": "npm run build",
"outputDirectory": "dist",
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
]
}MIT License. See LICENSE.