How anselmlong/better-edurec works
Better EduRec is a read-only Chrome extension that layers navigation, summaries, dashboards and presentation controls over signed-in EduRec pages. The main workflow detects the current page, mounts the redesigned shell, enhances recognized pages, and saves selected summaries for the Overview; users can also navigate/search, configure themes, and view/export a live timetable. The README documents several feature relationships not visible in sampled excerpts; edges cite that documentation where appropriate. Unsampled implementation details are not inferred beyond those documented capabilities.
Main entry points: main.js Runtime orchestrator · enhancers.js Page recognizers and cards · shell.js Sidebar and search shell · store.js Preferences and snapshots
Components 20
Extension runtime
- Runtime orchestrator
src/main.js - Early theme boot
src/boot.js - Page layout fixes
src/layout.js - Preferences and snapshots
src/store.js - Shared page utilities
src/core.js
Navigation and controls
- Page routes and search index
src/routes.js - Sidebar and search shell
src/shell.js - Keyboard controls
src/keys.js - Toolbar settings
popup/popup.js
Academic summaries
- Page recognizers and cards
src/enhancers.js - Academic page parsers
src/parsers.js - Summary answer views
src/views.js - Overview dashboard
src/overview.js - Setup checklist and coach
src/guide.js - Live timetable
src/timetable.js
Presentation and preferences
- Themes and fonts
src/themes.js - Scoped restyle
src/theme.css
External services
- NUSMods public API
Other components
- Student
- EduRec pages
Connections 25
- Student → EduRec pages: opens pages
README.md - EduRec pages → Runtime orchestrator: loads extension
README.md - Runtime orchestrator → Early theme boot: caches first paint
src/main.js - Runtime orchestrator → Preferences and snapshots: checks preferences
src/main.js - Runtime orchestrator → Page routes and search index: detects page
src/main.js - Runtime orchestrator → Sidebar and search shell: mounts shell
src/main.js - Runtime orchestrator → Keyboard controls: starts controls
src/main.js - Runtime orchestrator → Overview dashboard: mounts dashboard
src/main.js - Runtime orchestrator → Setup checklist and coach: resumes setup
src/main.js - Runtime orchestrator → Page recognizers and cards: starts enhancements
src/main.js - Runtime orchestrator → Themes and fonts: applies preferences
src/main.js - Runtime orchestrator → Page layout fixes: applies layout fixes
README.md - Page recognizers and cards → Academic page parsers: parses page text
src/enhancers.js - Page recognizers and cards → Summary answer views: renders summaries
src/enhancers.js - Page recognizers and cards → Preferences and snapshots: saves snapshots
README.md - Overview dashboard → Preferences and snapshots: reads summaries
README.md - Overview dashboard → Live timetable: shows this week
README.md - Setup checklist and coach → EduRec pages: guides page visits
README.md - Toolbar settings → Preferences and snapshots: updates settings
popup/popup.js - Sidebar and search shell → Page routes and search index: searches destinations
README.md - Sidebar and search shell → Themes and fonts: offers theme picker
README.md - Themes and fonts → Scoped restyle: styles extension UI
README.md - Live timetable → NUSMods public API: exports course codes
README.md - Student → Toolbar settings: configures extension
README.md - Student → Sidebar and search shell: searches and navigates
README.md