Insight-Coder is an AI-powered developer workspace designed for technical analysis, code exploration, and rapid debugging. It combines a multi-mode AI agent with an integrated browser IDE to provide a high-performance environment for modern software development.
Live Demo: insight-coder.vercel.app
Switch between 6 specialized AI modes, each optimized for different coding tasks:
| Mode | Purpose |
|---|---|
| Chat | General technical discussion and rapid prototyping |
| Explain | Deep-dive into complex logic and architectural patterns |
| Review | Code quality audits and optimization feedback |
| Debug | Root cause analysis and automated bug diagnosis |
| Tests | Generation of comprehensive unit tests and edge cases |
| Repo | Intelligent code indexing and repository-wide exploration |
Full-featured IDE experience directly in your browser using Monaco Editor (the engine behind VS Code).
- In-Editor Context: Ask AI questions about your code while writing
- Side-by-Side Analysis: View code and AI insights simultaneously
- Multi-Language Support: Syntax highlighting for 30+ programming languages
- Dark Theme: Optimized for extended development sessions
Built on Supabase, your workspace is always in sync across devices.
- Cloud History: Every session is saved and accessible from anywhere
- Session Management: Restore, rename, or delete past sessions
- Real-time Sync: AI responses stream directly to your history
Full integration with Supabase Auth keeps your technical data safe and secure.
- Frontend: Next.js 16 (App Router, Turbopack)
- UI & Logic: React 19, TypeScript
- State Management: Redux Toolkit
- AI Engine: Google Gemini 2.0
- Backend: Supabase (PostgreSQL, Auth)
- Editor: Monaco Editor
- Styling: Tailwind CSS
- Node.js 18.x or later
- npm or yarn
- Google Gemini API Key (Get it here)
- Supabase Account (Create one here)
-
Clone the repository
git clone https://github.com/albinjiji/Insight-Coder.git cd Insight-Coder -
Install dependencies
npm install
-
Set up environment variables
Create a
.env.localfile in the root directory:# Google Gemini API GEMINI_API_KEY=your_gemini_api_key # Supabase Configuration NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
-
Initialize the database
- Go to your Supabase dashboard
- Open the SQL Editor
- Run the schema from
supabase/schema.sql
This creates:
chat_sessionstablechat_messagestable- Row-level security policies for data isolation
-
Start the development server
npm run dev
Navigate to http://localhost:3000
npm run dev # Start dev server with hot reload
npm run lint # Run ESLint
npm run lint --fix # Fix linting issuesnpm run build # Build for production
npm run start # Run production serverThe easiest way to deploy is using Vercel:
- Push your code to GitHub
- Import your repository in Vercel
- Add environment variables in Vercel dashboard
- Deploy with one click
Insight-Coder/
├── src/
│ ├── app/ # Next.js pages and app routes
│ ├── components/ # React components
│ │ ├── Editor/ # Monaco Editor wrapper
│ │ ├── Chat/ # Chat interface
│ │ └── Layout/ # Layout components
│ ├── store/ # Redux store & slices
│ ├── lib/ # Utility functions
│ │ ├── api/ # API helpers
│ │ ├── auth/ # Authentication
│ │ └── supabase/ # Supabase client
│ └── types/ # TypeScript types
├── supabase/
│ └── schema.sql # Database schema
├── public/ # Static files
├── package.json
├── tsconfig.json
├── tailwind.config.ts
├── next.config.ts
└── README.md
Insight-Coder prioritizes your data security:
- Secure Authentication: OAuth 2.0 with Supabase Auth
- Data Isolation: PostgreSQL Row-Level Security (RLS) ensures only you can see your data
- Encrypted Communication: All data in transit is encrypted with HTTPS/TLS
- Server-Side Keys: API keys are never exposed to the browser
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
Found a bug? Have a feature request?
Open an Issue and let us know!
This project is open source and available under the MIT License.
- Google Gemini for powerful AI capabilities
- Supabase for backend infrastructure
- Vercel for seamless deployment
- Microsoft Monaco Editor for the editor experience
For questions or support:
Built with ❤️ by Albin Jiji