A tri-view developer portfolio built with Next.js, TypeScript, and Tailwind CSS: a web portfolio, an interactive CLI with an AI chatbot, and a Hill Climb Racing–style game mode.
- Web View — About, Services, Skills, Projects, and Contact sections.
- CLI View — Terminal-style commands with an AI-powered chatbot.
- Game View — Procedural terrain and vehicle physics built with Matter.js.
Next.js (App Router) · TypeScript · React · Tailwind CSS · Matter.js · LangChain + Gemini · Vitest
Requirements: Node.js 20+ and npm.
npm install
cp .env.example .env
npm run devOpen http://localhost:3000. The site works fully without any API keys — the AI chatbot is optional and only activates once a Gemini key is added.
Copy .env.example to .env and add your own Gemini API key to enable the AI chatbot:
GOOGLE_API_KEY=your-key-hereGet a free key from Google AI Studio. Never commit .env — it's gitignored and read only on the server, never exposed to the browser.
npm run checkRuns type checking, linting, tests, and a production build.
Add your Gemini environment variables to the deployment project before enabling the AI chatbot in production.