How kazuya-01/portofolio works
This is a static personal portfolio with an interactive browser UI and an AI chat endpoint. Visitors browse portfolio content, use project filters and certificate details, or submit a chat message; the browser chat code enforces a daily local usage limit and posts to the serverless handler, which validates requests and tries Gemini before Groq. main.js is only partially excerpted, so other portfolio interactions are represented at a broad level; no README capabilities were provided.
Main entry points: main.js Chat widget and limits · chat.js Chat request handler · index.html Portfolio page
Components 10
Portfolio site
- Portfolio page
index.html - Portfolio interactions
main.js - Project filtering
main.js - Certificate details
main.js
AI chat
- Chat widget and limits
main.js - Chat request handler
functions/chat.js - Gemini API
- Groq API
- Browser local storage
Other components
- Portfolio visitor
Connections 9
- Portfolio visitor → Portfolio page: opens
- Portfolio page → Portfolio interactions: loads scripts
- Portfolio visitor → Project filtering: filters projects
- Portfolio visitor → Certificate details: views details
- Portfolio visitor → Chat widget and limits: sends message
main.js - Chat widget and limits → Browser local storage: reads and writes
main.js - Chat widget and limits → Chat request handler: POSTs message
main.js - Chat request handler → Gemini API: requests response
functions/chat.js - Chat request handler → Groq API: fallback request
functions/chat.js