Not a static resume page β a live, terminal-themed application with a real AI assistant,
a database-backed content layer, and a command palette that actually does things.
Most developer portfolios are static marketing pages. This one is a working full-stack application: an embedded AI assistant answers real questions about my background in-character as a tactical terminal, a Cmd/Ctrl+K command palette drives real actions (not just navigation), and the Experience/Projects/Education sections are pulled live from MongoDB β updating the content is a database write, not a redeploy.
| Feature | Description |
|---|---|
| π€ AI Operator Uplink | /ask queries a Gemini-powered assistant with full context on my background, projects, and skills β answers in-character as a tactical terminal readout |
| β¨οΈ Command Palette | Cmd/Ctrl+K opens a real command interface: /ask, /socials, /resume, /reset β not decorative, each one does something |
| ποΈ Live Data Layer | Experience, Projects, and Education are fetched from MongoDB via Mongoose, not hardcoded |
| π¬ Dynamic Boot Sequence | Decrypting text headers, typewriter terminal output, and staged reveal animations on load |
| π‘ Kill-Feed Notifications | Event-driven, terminal-style toast system for in-app actions |
| π― Custom Cursor & Magnetic UI | A reactive crosshair cursor and magnetic hover effects on interactive elements |
| π₯ Hidden Easter Egg | Type a certain 5-letter word anywhere on the page. See what happens. |
| βοΈ Direct Contact | Secure client-to-server messaging via EmailJS β no exposed mail credentials |
- Frontend: Next.js (App Router), React 19, TypeScript
- AI: Google Gemini API (
@google/generative-ai) - Animation: Framer Motion, Lenis smooth scroll
- Database: MongoDB with Mongoose
- Styling: Tailwind CSS, custom CSS (scanlines, grid overlays)
- Messaging: EmailJS
- Icons: Lucide React
portfolio-main/
βββ public/
β βββ og-image.png # Open Graph preview image (1200x630 tactical social card)
βββ src/
β βββ app/
β β βββ api/ask/ # Gemini-powered AI assistant endpoint
β β βββ page.tsx
β βββ components/
β β βββ CommandPalette.tsx # Cmd/Ctrl+K terminal command interface
β β βββ EntryDossier.tsx # Boot sequence / hero section
β β βββ KillFeed.tsx # Event-driven notification system
β β βββ EasterEgg.tsx # Hidden keyboard-triggered animation
β β βββ ... # Section components (About, Experience, Projects, etc.)
β βββ lib/mongodb.js # Database connection
β βββ models/ # Mongoose schemas (Experience, Education, Projects, SkillSector)
βββ .env.local # API keys and DB connection string (git-ignored)
git clone https://github.com/Ananth-Sai/portfolio.git
cd portfolio
npm installCreate .env.local:
MONGODB_URI=your_mongodb_connection_string
GEMINI_API_KEY=your_gemini_api_key
NEXT_PUBLIC_EMAILJS_SERVICE_ID=your_service_id
NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=your_template_id
NEXT_PUBLIC_EMAILJS_PUBLIC_KEY=your_public_key
npm run devOpen http://localhost:3000.
- Press
Cmd/Ctrl+Kto open the terminal command palette - Type
/askfollowed by a question about my background or projects - Type
/socialsfor direct contact links - There's a hidden easter egg somewhere on the page β try typing while you scroll
MIT
