Interactive 3D developer portfolio with a keyboard where every keycap is a skill. Built with Next.js, React, TypeScript, GSAP & Motion. Free to use!
Interactive 3D developer portfolio with a keyboard where every keycap is a skill. Built with Next.js, React, TypeScript, GSAP & Motion. Free to use!
A jaw-dropping developer portfolio packed with interactive 3D animations, buttery smooth transitions, and a space-themed aesthetic. Not your average portfolio template! This one has a fully interactive 3D keyboard where each keycap is a skill.
Free to use! This portfolio is open source. If you use it, a credit/link back would be really appreciated
| Layer | Technologies |
|---|---|
| Framework | Next.js 14, React 18, TypeScript |
| Styling | Tailwind CSS, Shadcn UI, Aceternity UI |
| Animation | GSAP, Framer Motion |
| 3D | Spline Runtime |
| Resend | |
| Misc | Lenis (smooth scroll), Zod, next-themes |
Clone the repository:
git clone https://github.com/Naresh-Khatri/3d-portfolio.git
cd 3d-portfolioInstall dependencies:
pnpm installSet up environment variables:
Copy .env.example to .env.local and fill in the values:
cp .env.example .env.local| Variable | Required | Description |
|---|---|---|
RESEND_API_KEY |
Yes | API key from Resend for the contact form |
NEXT_PUBLIC_WS_URL |
No | WebSocket server URL for realtime features (cursors, chat, presence) |
UMAMI_DOMAIN |
No | Umami analytics script URL |
UMAMI_SITE_ID |
No | Umami website ID |
Run the development server:
pnpm devOpen http://localhost:3000 and see the magic ✨
All personal info is centralized in src/data/config.ts. Edit this single file to rebrand the portfolio:
…Other files you'll want to customize:
| File | What to change |
|---|---|
src/data/projects.tsx |
Your projects, screenshots, descriptions, and tech stacks |
src/data/constants.ts |
Skills list (name, description, icon) and work experience |
public/assets/ |
Your images, OG image, and project screenshots |
The 3D keyboard keycaps are baked into a Spline file. To update the skills displayed on the keyboard:
public/assets/skills-keyboard.spline file into Splinename field in src/data/constants.ts (e.g. js, react, docker)public/assets/skills-keyboard.splineAfter updating the Spline file, make sure src/data/constants.ts has matching entries for every skill on the keyboard:
// Each keycap object name in Spline must match a key in SKILLS
export const SKILLS: Record = {
js: { name: "js", label: "JavaScript", shortDescription: "...", ... },
react: { name: "react", label: "React", shortDescription: "...", ... },
// ... add/remove entries to match your keyboard
};The SkillNames enum, SKILLS record, and the Spline keycap names must all stay in sync for the keyboard interactions to work correctly.
The portfolio supports optional realtime features powered by a separate backend API:
These features activate automatically when the NEXT_PUBLIC_WS_URL environment variable is set. Without it, the portfolio works perfectly fine as a static site — no realtime features, no backend dependency.
[!NOTE] The backend API is not open source. This is intentional! Too many people have cloned the portfolio and claimed they built it from scratch. The realtime server stays private to keep the live experience unique make make it standout.
This site is deployed on Vercel. To deploy your own:
If you'd like to contribute or suggest improvements, feel free to open an issue or submit a pull request. All contributions are welcome!
This project is open source and available under the MIT License.
If you use this portfolio, a credit or link back to the original repo would be much appreciated ❤️
Note on analytics: a deployed copy reports its own hostname once per browser (nothing else — no visitor, page, or referrer data) so I can see where the template gets used.
No open issues yet, or sync has not completed.