Skip to content

tarunWebBuilder/cursor

Repository files navigation

# Cursor Clone A single-page Cursor IDE clone built with Next.js, shadcn/ui, and Electron. ## Features - **Filebar**: File explorer with folder navigation and search - **AI Copilot**: Right-side AI assistant panel with chat interface - **Top Toolbar**: Menu, search, and window controls - **Browser/Editor**: Tabbed interface for code editing and web browsing ## Tech Stack - Next.js 14 - React 18 - TypeScript - Tailwind CSS - shadcn/ui components - Electron (optional) ## Getting Started ### Install Dependencies ```bash npm install ``` ### Run Development Server ```bash npm run dev ``` Open [http://localhost:3000](http://localhost:3000) in your browser. ### Run with Electron ```bash npm run electron:dev ``` This will start both the Next.js dev server and Electron app. ## Project Structure ``` ├── app/ │ ├── layout.tsx │ ├── page.tsx │ └── globals.css ├── components/ │ ├── ui/ # shadcn/ui components │ ├── Filebar.tsx │ ├── Toolbar.tsx │ ├── AICopilot.tsx │ └── Browser.tsx ├── lib/ │ └── utils.ts └── electron/ └── main.js ``` ## Components ### Filebar Left sidebar with file tree navigation, folder expansion, and file search. ### Toolbar Top bar with menu, command palette search, settings, and window controls. ### Browser Main content area with tabbed interface for code editing and web browsing. ### AI Copilot Right sidebar with AI chat interface for code assistance. ## License MIT # cursor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors