A stunning, interactive developer portfolio that mimics the VS Code interface. Features include file explorer, code editor with syntax highlighting, integrated terminal, and AI-powered chat assistant.
- π¨ VS Code UI - Authentic VS Code interface with activity bar, sidebar, and status bar
- π File Explorer - Browse portfolio files with syntax highlighting
- π¬ AI Copilot - Chat with Gemini AI about the portfolio
- π Theme Switcher - Dark, Light, and Monokai themes
- π± Responsive Design - Works on desktop, tablet, and mobile
- β¨οΈ Keyboard Shortcuts - Ctrl+B (sidebar), Ctrl+J (terminal), Ctrl+W (close tab)
- π Copy to Clipboard - Copy any file content with one click
- π Live Preview - Toggle between code and preview mode for projects
- πΎ State Persistence - Remembers your open files and theme preference
- Double-click
setup.bat - Follow the prompts
- Get your Gemini API key from Google AI Studio
- Edit
.env.localand paste your API key - Done! π
# 1. Install dependencies
npm install
# 2. Create .env.local file
# Add this line with your actual API key:
# GEMINI_API_KEY=your_key_here
# 3. Start development server
npm run dev
# 4. Open browser to http://localhost:3000- Complete Codebase Documentation - Detailed architecture and file breakdown
- Quick Start Guide - Get up and running in 3 minutes
- API Reference - Google Gemini AI documentation
| Technology | Purpose |
|---|---|
| React 19 | UI framework with latest features |
| TypeScript | Type safety and better DX |
| Vite | Fast build tool and dev server |
| Tailwind CSS | Utility-first styling |
| Lucide React | Beautiful icon library |
| Google Gemini AI | AI-powered chat assistant |
devcode/
βββ components/ # React components
β βββ ActivityBar.tsx # Left sidebar navigation
β βββ ChatSidebar.tsx # AI chat interface
β βββ ProjectPreview.tsx # Project cards view
β βββ Sidebar.tsx # File explorer
β βββ Terminal.tsx # Terminal panel
β βββ ...
βββ services/
β βββ geminiService.ts # AI integration
βββ App.tsx # Main app component
βββ constants.tsx # Portfolio data
βββ types.ts # TypeScript types
βββ setup.bat # Windows setup script
| Shortcut | Action |
|---|---|
Ctrl + B |
Toggle sidebar |
Ctrl + J |
Toggle terminal |
Ctrl + W |
Close active tab |
| `Ctrl + `` | Focus terminal |
Edit constants.tsx to change:
- Your bio and information
- Project showcase
- Skills and tech stack
- Experience timeline
Modify CSS variables in index.html under each [data-theme] selector.
Add file objects to the FILES array in constants.tsx.
npm run buildnpm i -g vercel
vercel- Run
npm run build - Drag & drop the
distfolder to Netlify
GEMINI_API_KEY as an environment variable in your hosting platform!
| Command | Description |
|---|---|
npm run dev |
Start development server (port 3000) |
npm run build |
Build for production |
npm run preview |
Preview production build |
- Make sure
.env.localexists in the root directory - Verify it contains:
GEMINI_API_KEY=your_actual_key - Restart the dev server after adding the key
- Change the port in vite.config.ts
- Or kill the process using port 3000
- Stop the server (Ctrl+C)
- Clear browser cache
- Restart with
npm run dev
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
This project is open source and available under the MIT License.
Built with β€οΈ using:
Need help? Check out: