How thangved/ctu-extension works
Project type and purpose
• This is a browser extension (Chrome) named “CTU Extension” providing CTU students with enhanced functionality: bypassing login captcha, viewing study plans, suggesting timetables, and viewing study results.
• It is built entirely on the frontend (no custom backend), injecting or embedding requests into CTU’s existing web services.
File structure
• Top-level configuration and CI/CD: .github, .circleci, sonar, eslint, husky, prettier, etc.
• src: the React/Redux application code:
• App.tsx, index.tsx – entry points
• features/… – feature-based UI modules (Grade, Report, SemesterSelector, StudyPlan, Timetable)
• services/… – modules encapsulating HTTP calls or iframe interactions with CTU endpoints (course, grade, studyPlan, timetable, iframe.service)
• shared, utils – common helpers (iframe messaging, HTML parsers, HTTP client)
• constants, styles – theming and host definitions
• mocks – sample data for local testing
• scripts: build hooks (prebuild, postbuild)
• esbuild.mjs, package.json, tsconfig.json – build configuration
README for additional insights
• Confirms React + Redux + Ant Design stack.
• No mention of background/content scripts in README, but manifest.json implies extension context.
• Features align with the service modules under src/services.