RepoSense is a next-generation AI developer tool that analyzes GitHub repositories to provide deep, system-level insights, architecture diagrams, and risk assessments.
It is powered by the Google Gemini 3 model and runs entirely in the browser, ensuring low latency and high privacy.
- Deep System Analysis: Understand project purpose, target users, and core problems solved.
- Architecture Visualization: ASCII-based architectural diagrams generated by AI.
- Risk Assessment: Identify code smells, security vulnerabilities, and scalability issues.
- Component Breakdown: Detailed analysis of key files and modules.
- Bring Your Own Key (BYOK): Securely use your own Gemini API Key directly in the browser. Keys are stored locally and never sent to a backend server.
- Dark/Light Mode: Beautiful, responsive UI built with Tailwind CSS.
To use RepoSense, you need a Google Gemini API Key.
- Go to Google AI Studio: Visit https://aistudio.google.com/app/apikey
- Sign in: Use your Google account.
- Create Key: Click the "Create API key" button.
- Copy: Copy the generated API Key string (it starts with AIza).
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/thamothara7/RepoSense cd RepoSense -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173 in your browser.
Since RepoSense is a client-side application (SPA), you can build it as a static site.
npm run buildThe output will be in the dist/ directory. You can deploy this folder to any static hosting provider like GitHub Pages, Netlify, Cloudflare Pages, or Vercel.
RepoSense is designed with security in mind:
- Client-Side Execution: All analysis happens directly in your browser.
- Secure Key Storage: Your API Key is stored in your browser's localStorage for your convenience.
- Direct Connection: The application connects directly to Google's Gemini API. Your key and data are never sent to any intermediate backend server or third-party database.
- The application uses the Gemini 3 Pro/Flash models. If you hit the rate limit, wait 1-2 minutes and try again.
- Ensure you have a valid API Key configured in the Settings menu.
- Ensure the repository is public. RepoSense cannot access private repositories without a Personal Access Token (PAT).
- You can add a GitHub PAT in the Settings menu to increase rate limits and access private repos (if your token has permissions).
MIT License.