How monmiroir-toulouse/monmiroir works
Mon Miroir is a youth-support web application whose visible capabilities include a supportive multilingual chatbot, voice interaction, appointments and notifications, orientation resources, and youth-facing tools such as an interactive CV. The principal workflow appears to be a young person using the site to seek support, with chat responses generated by an API and presented through an avatar; voice transcription and speech synthesis are supporting stages. The README is only a title, and most page implementations were not sampled, so page-to-API wiring and several subsystem details remain unverified.
Main entry points: monmiroir_chatbot.html Chat experience · avatar-mediator.js Mediating avatar · github.js Library contribution API · auth-guard.js Session guard
Components 24
Support conversation
- Chat experience
monmiroir_chatbot.html - Mediating avatar
avatar-mediator.js
Youth tools
- Orientation
orientation.html - Resource library
bibliotheque - Interactive CV
cv-interactif.html - Appointments
mes-rendez-vous.html - Youth support pages
jeune.html
Access and platform
- Login
login.html - Session guard
auth-guard.js - Encrypted browser storage
crypto-storage.js - Push notification handling
sw.js
Backend services
- Chat and translation
api/chat.js - Speech synthesis
api/speak.js - Text-to-speech
api/tts.js - Audio transcription
api/whisper.js - Notification sender
api/send-notification.js - Library contribution API
api/github.js
Other components
- Young person
- Anthropic API
- OpenAI API
- ElevenLabs
- Browser speech
- Web push service
- GitHub API
Connections 23
- Young person → Chat experience: uses
- Chat experience → Chat and translation: requests replies
- Chat and translation → Anthropic API: requests completion
api/chat.js - Chat experience → Mediating avatar: presents replies
- Mediating avatar → Browser speech: speaks with
avatar-mediator.js - Mediating avatar → Speech synthesis: requests audio
- Mediating avatar → Text-to-speech: requests audio
- Speech synthesis → ElevenLabs: requests speech
api/speak.js - Text-to-speech → ElevenLabs: requests speech
api/tts.js - Chat experience → Audio transcription: submits audio
- Audio transcription → OpenAI API: transcribes audio
api/whisper.js - Young person → Orientation: uses
- Young person → Resource library: reads resources
- Young person → Interactive CV: uses
- Young person → Appointments: manages appointments
- Young person → Youth support pages: uses
- Session guard → Login: redirects to
auth-guard.js - Young person → Session guard: opens protected pages
- Young person → Encrypted browser storage: stores session data
- Notification sender → Web push service: sends notification
api/send-notification.js - Push notification handling → Young person: shows notification
sw.js - Library contribution API → GitHub API: writes library file
api/github.js - Library contribution API → Resource library: reads library files
api/github.js