Skip to main content

Welcome to Polaris

Polaris is a browser-based cloud IDE inspired by Cursor AI, designed to accelerate your development workflow with AI-powered code editing and real-time collaboration.

Quick Start

Get up and running in minutes with your first AI-powered project

Self-Hosting

Deploy Polaris on your own infrastructure for complete control

Features

Explore AI suggestions, quick edits, and conversation-based coding

Tech Stack

Built with Next.js 16, React 19, CodeMirror 6, and Claude Sonnet 4

Core Features

AI-Powered Code Editing

Polaris brings intelligent code assistance directly into your browser:
  • Real-time Suggestions: Ghost text completions that predict your next line
  • Quick Edit (Cmd+K): Select code and describe changes in natural language
  • Conversation Assistant: AI chat sidebar that understands your full project context
  • Documentation Awareness: Automatically scrapes and uses live documentation from URLs

Professional Code Editor

Built on CodeMirror 6 with enterprise-grade features:
  • Multi-language syntax highlighting (JS, TS, Python, CSS, HTML, JSON, Markdown)
  • Line numbers, code folding, and minimap overview
  • Bracket matching and indentation guides
  • Multi-cursor editing with VSCode-style keybindings

Real-Time Collaboration Ready

Powered by Convex for instant synchronization:
  • Optimistic UI updates for snappy interactions
  • Background job processing with Inngest
  • Auto-save with intelligent debouncing
  • Project-wide file management

Technology Stack

Polaris is built with modern, production-ready technologies:
CategoryTechnologies
FrontendNext.js 16, React 19, TypeScript, Tailwind CSS 4
EditorCodeMirror 6, Custom Extensions, One Dark Theme
BackendConvex (Real-time DB), Inngest (Background Jobs)
AIClaude Sonnet 4 (preferred) or Gemini 2.0 Flash (free tier)
AuthClerk (with GitHub OAuth)
ExecutionWebContainer API, xterm.js
UIshadcn/ui, Radix UI

Use Cases

Rapid Prototyping

Build and test ideas instantly without local setup

Learning & Education

Teach coding with AI assistance and instant feedback

Code Review

Collaborate on code with AI-powered suggestions

Documentation

Generate and maintain docs with AI understanding

Architecture Overview

Polaris follows a modern full-stack architecture:
src/
├── app/                    # Next.js App Router
│   ├── api/               # API routes
│   │   ├── messages/      # Conversation API
│   │   ├── suggestion/    # AI suggestions
│   │   └── quick-edit/    # Cmd+K editing
│   └── projects/          # Project pages
├── features/
│   ├── auth/             # Clerk authentication
│   ├── conversations/    # AI chat system
│   ├── editor/           # CodeMirror setup
│   │   └── extensions/   # Custom extensions
│   └── projects/         # Project management
├── convex/               # Real-time database
└── inngest/              # Background jobs
Polaris is actively developed as part of a comprehensive YouTube tutorial series. The current version (Part 1) includes editor, AI features, and file management. Part 2 will add AI agents, WebContainer execution, and GitHub integration.

Getting Help

Join the Polaris community:

Next Steps

Start Building

Create your first project in under 5 minutes

Self-Host

Deploy Polaris to your own infrastructure

Build docs developers (and LLMs) love