How thevirtualkrishnaaa/virtualtwin works
This is a portfolio website with an interactive experience timeline and a first-person AI chat grounded in the candidate’s CV. A visitor views the portfolio, can filter experience entries, or sends a question through the chat widget; the server validates and rate-limits chat requests before asking Gemini for a response. The README documents dashboard panels, project and education content, responsive chat behavior, and the local-versus-hosted distinction. The page markup and styling were not sampled, so their internal structure and specific wiring are not inferred.
Main entry points: server.js Chat API · script.js Chat widget · index.html Portfolio dashboard
Components 8
Portfolio presentation
- Portfolio dashboard
index.html - Responsive styling
styles.css
Visitor interactions
- Experience filters
script.js - Chat widget
script.js
AI chat service
- Chat API
server.js - CV facts prompt
server.js
Other components
- Visitor
- Google Gemini
Connections 7
- Visitor → Portfolio dashboard: views
README.md - Visitor → Experience filters: filters experience
README.md - Visitor → Chat widget: asks questions
README.md - Chat widget → Chat API: posts chat
script.js - Chat API → Google Gemini: generates response
server.js - Chat API → CV facts prompt: supplies facts
server.js - Google Gemini → Chat API: returns answer
server.js