How usernamehaze/bot works
Cassie is a browser-based study companion, with an installable web app and a browser extension. The main workflow is a learner asking by text or voice, receiving step-by-step teaching, and using related drawings, 3D views, labs, or a work board. Separate branches cover study materials, pictures, and the extension’s page-aware help. The README documents these capabilities, but most runtime wiring was not excerpted; uncertain links are omitted rather than inferred. The server’s specific request flow is not established by the supplied excerpts.
Main entry points: app.js App experience · cassie-bot.js Teaching chat · livedraw.js Drawing kits · labs.js Labs catalog
Components 22
Web app
- App experience
web/app.js - Teaching chat
web/cassie-bot.js - Voice interaction
web/voice.js - Cassie server
server/worker.src.js - Picture lookup
web/cassie-bot.js
Visual learning
- Drawing kits
web/livedraw.js - Drawing book
web/drawbook.js - 3D model views
web/isoview.js - Body explorer
web/explore/body3d.js - Cell explorer
web/explore/cell3d.js - Labs catalog
web/labs/labs.js - Interactive labs
web/labs - Lab previews
web/labs/previews.js
Study tools
- Work board
web/board.js - Study tools
web/labs/tools.js - Study progress
web/study-room.js
Browser extension
- Page selection
extension/content.js - Extension coordinator
extension/background.js - Extension panel
extension/panel.js - Floating board
extension/board.js - Extension drawings
extension/sketch.js
Other components
- Learner
Connections 21
- Learner → App experience: uses
README.md - Learner → Page selection: selects page content
README.md - App experience → Teaching chat: opens teaching
- Teaching chat → Cassie server: requests AI help
- Learner → Voice interaction: asks by voice
README.md - Teaching chat → Drawing kits: requests a drawing
README.md - Drawing kits → Drawing book: uses checked content
README.md - Drawing kits → 3D model views: shows 3D models
README.md - App experience → Picture lookup: finds pictures
README.md - Learner → Labs catalog: opens labs
README.md - Labs catalog → Interactive labs: dispatches labs
web/labs/labs.js - Labs catalog → Lab previews: shows previews
web/labs/labs.js - Interactive labs → Body explorer: opens body view
- Interactive labs → Cell explorer: opens cell view
- Learner → Work board: works problems
README.md - Learner → Study tools: makes study materials
README.md - Learner → Study progress: tracks learning
README.md - Page selection → Extension coordinator: sends page context
- Extension coordinator → Extension panel: opens help panel
- Extension panel → Floating board: shows floating board
README.md - Extension panel → Extension drawings: shows drawings
README.md