How maheenniazi/orbit-web works
orbit is a local-first student workspace: students import course material, organize schedules and notes, plan study, and use focused AI and career tools. The browser app routes between these features and persists data in browser storage; optional local-server mode adds provider-backed AI, richer job search, and page reading. The graph includes documented major capabilities, but some are represented by their enclosing feature module because their detailed implementation was not sampled. Relationships follow excerpts, indexed imports, or README statements; unsampled wiring is omitted.
Main entry points: app.js App router · ai.js AI client · store.js Local state · server.js Local server
Components 30
Student workspace
- App router
public/js/app.js - Dashboard
public/js/dashboard.js - Calendar
public/js/calendar.js - Spotify player
public/js/spotify.js
Study planning
- Syllabus import
public/js/syllabus.js - File reader
public/js/fileread.js - Focus and study plans
public/js/focus.js - Exam prep
public/js/examprep.js - Notes
public/js/notes.js
AI and content
- Study assistant
public/js/chat.js - AI client
public/js/ai.js - Browser AI providers
public/js/byoai.js - Model picker
public/js/modelpicker.js
Career and degree
- Degree planner
public/js/degree.js - Degree calculations
public/js/degree-engine.js - Career workspace
public/js/careers.js - Browser job search
public/js/webjobs.js - Full job search
jobs.js
Runtime services
- Local state
public/js/store.js - UI helpers
public/js/ui.js - Shared utilities
public/js/util.js - Local server
server.js - AI provider runtime
ai-providers.js - Web search
websearch.js - Page reader
pages.js
Other components
- Student
- AI services
- Job sources
- Spotify
- Browser storage
Connections 35
- Student → App router: uses
README.md - App router → Dashboard: routes to
public/js/app.js - App router → Calendar: routes to
public/js/app.js - App router → Syllabus import: routes to
public/js/app.js - App router → Notes: routes to
public/js/app.js - App router → Study assistant: routes to
public/js/app.js - App router → Focus and study plans: routes to
public/js/app.js - App router → Degree planner: routes to
public/js/app.js - App router → Career workspace: routes to
public/js/app.js - Dashboard → Local state: reads
public/js/dashboard.js - Calendar → Local state: reads and updates
public/js/calendar.js - Syllabus import → File reader: reads files with
public/js/syllabus.js - Syllabus import → Local state: updates events
public/js/syllabus.js - Focus and study plans → Local state: reads
public/js/focus.js - Focus and study plans → Exam prep: requests prep
public/js/focus.js - Focus and study plans → Spotify player: renders player
public/js/focus.js - Notes → Exam prep: requests prep
public/js/notes.js - Notes → File reader: reads files with
public/js/notes.js - Study assistant → AI client: sends prompts
public/js/chat.js - Study assistant → Local state: reads context
public/js/chat.js - Exam prep → AI client: requests generation
public/js/examprep.js - AI client → Browser AI providers: calls in browser mode
public/js/ai.js - AI client → Local server: posts in server mode
public/js/ai.js - AI client → AI services: connects to
README.md - Degree planner → Degree calculations: uses calculations
public/js/degree.js - Degree planner → AI client: requests parsing
public/js/degree.js - Career workspace → Browser job search: searches in browser mode
public/js/careers.js - Career workspace → Local server: requests sources locally
public/js/careers.js - Spotify player → Spotify: connects optionally
README.md - Local server → AI provider runtime: uses
server.js - Local server → Full job search: uses
server.js - Local server → Page reader: uses
server.js - Full job search → Web search: uses
jobs.js - Full job search → Job sources: searches
README.md - Local state → Browser storage: persists state
public/js/store.js