COLOPHON / BUILD YOUR OWN
An open engineering notebook.
How this portfolio is built, what is public, and how to adapt it. Next.js 14 and TypeScript, with Three.js for an explorable RAG architecture and CSS transforms for project architecture studies.
Read the sourceOverview
Three experiences share the same content: Studio, Digital Lab, and Terminal Hacker. Sparky answers portfolio questions through streaming responses and optional retrieval. The interactive terminal is an alternate way to navigate, with history and keyboard controls. The 100 day challenge has a separate environment.
Content and privacy
The content JSON files in this repository are tracked by Git. Names, project descriptions, résumé information, and contact details are included in the source and the website. Add only information you intend to publish.
Résumé feedback is saved privately for review. Only comments approved by Phaneendra appear publicly, together with the name or alias you provide. Avoid including private contact details in a comment.
Credentials belong in .env.local or your hosting environment. Local environment files, data/, and build artifacts are ignored. Example JSON files are optional starters; the setup script copies them only when a real content file is missing. Git ignore rules do not erase previously committed files.
Local setup
Install a current Node.js LTS release and Git, then clone and install:
git clone https://github.com/PHANI465/PORTFOLIO.git
cd PORTFOLIO
npm installCopy .env.local.example to .env.local using your editor or file manager. Configure only the services you need, then start the preview:
npm run devOpen localhost:3000. Basic pages and the 3D experience work without paid service credentials.
Service configuration
- AI assistant: set
OPENAI_API_KEY. Model requests incur provider usage charges. - Retrieval: configure the Pinecone settings from the example environment file. The embedding model uses 1,536-dimensional vectors.
npm run index-contentsends portfolio content to the configured service and consumes embedding API usage. - Contact: configure
RESEND_API_KEYand a verified sender. Local file fallback is not durable storage on serverless hosting. - Challenge: configure the documented Supabase settings, SQL schema, and password hash. Service-role credentials belong on the server.
Restart the local server after changing environment variables. Use hosting environment settings for production credentials.
Customization
content/portfolio.json/ identity, biography, socials, and metadata.content/projects.json/ projects, technologies, highlights, and links.content/resume.json/ experience, education, capabilities, and certifications.components/lab// the shared observatory, 3D execution and evidence exhibits, RAG walkthrough, and skill tree.app/lab.css,app/lab-world.css, andapp/world-exhibits.css/ the glass and copper palettes, motion, and responsive layout.lib/resumes.tsandpublic/resume/• résumé variants and downloadable PDFs.
Studio is the default. Digital Lab has its own theme id digital-lab; Terminal Hacker is the third experience. To disable AI chat, remove the AIAssistant render in components/shared/ThemedLayout.tsx.
Verify and publish
npm run lint
npx tsc --noEmit --incremental false
npm run build
git status
git diff --checkReview mobile and desktop rendering, reduced motion, keyboard navigation, project links, résumé downloads, theme switching, and contact. Inspect the diff for unintended public information before committing. Keep credentials out of Git.
Connect your own repository to Vercel and configure its environment variables. A push to a connected branch can trigger a deployment. Preview locally and approve the visual changes before pushing. Use GitHub-supported authentication such as Git Credential Manager or GitHub CLI; never paste access tokens into source files.
Common questions
Why is the architecture view still?
Reduced-motion preferences and the pause control disable continuous motion. Off-screen scenes and hidden tabs skip rendering. If WebGL is unavailable, the experience uses an SVG projection.
Why does a skill show no project?
Relationships come from the recorded project technology lists. A résumé skill can be listed without a matching project; the interface says so explicitly.
Why is chat unavailable?
Check the server environment and provider access. The site remains navigable without the assistant. Contact information is always available.