How nagahanuma/portfolio works
This is a static developer portfolio with a project showcase and an interactive AI assistant. The principal workflow is a visitor viewing the portfolio, sending a chat message, and receiving either a locally generated answer or an answer from the documented AI backend. The README also describes particle and typing effects. The tree contains no FastAPI backend or model files beyond the models directory, so those documented backend stages have no repository source path; implementation links are limited to README evidence.
Main entry points: chat-agent.js Chat agent · index.html Portfolio home · projects.html Project showcase · style.css Site styling
Components 15
Portfolio experience
- Portfolio home
index.html - Project showcase
projects.html
Visual effects
- Site styling
assets/css/style.css - Page interactions
assets/js/main.js - Particle background
index.html - Typing animation
index.html
AI assistant
- Chat interface
index.html - Chat agent
assets/js/chat-agent.js - 3D drone model
assets/models
Backend and AI services
- Local query interceptor
- AI failover router
- FastAPI backend
- Groq API
- Gemini API
Other components
- Visitor
Connections 17
- Visitor → Portfolio home: views
README.md - Visitor → Project showcase: views
README.md - Portfolio home → Site styling: styled by
README.md - Portfolio home → Page interactions: uses
- Portfolio home → Particle background: renders
README.md - Portfolio home → Typing animation: renders
README.md - Visitor → Chat interface: chats through
README.md - Chat interface → Chat agent: uses
README.md - Chat agent → 3D drone model: controls
README.md - Chat agent → FastAPI backend: posts chat
README.md - FastAPI backend → Local query interceptor: checks query
README.md - Local query interceptor → Chat agent: returns local reply
README.md - Local query interceptor → AI failover router: forwards query
README.md - AI failover router → Groq API: tries primary
README.md - AI failover router → Gemini API: falls back
README.md - Groq API → Chat agent: returns reply
README.md - Gemini API → Chat agent: returns reply
README.md