Chrome extension that analyzes your Google Calendar and displays a summary of activities with total time calculations.
- Automatically detects Google Calendar page
- Parses visible calendar events
- Groups activities by name
- Calculates total time per activity
- Shows summary overlay with activity breakdown
- Adapts to different calendar views (day, week, month)
yarn install
yarn buildyarn buildyarn watchYou don't need to publish the extension! You can load it directly as an unpacked extension:
-
Build the extension:
yarn build
-
Open Chrome and navigate to
chrome://extensions/ -
Enable "Developer mode" (toggle in top right corner)
-
Click "Load unpacked" button
-
Select the
distfolder from this project -
The extension will now be active on Google Calendar pages!
Note: Icons are optional. If you see a warning about missing icons, you can ignore it or add icon files to the icons/ folder (see icons/README.md).
- TypeScript with strict typing
- SOLID principles: Single responsibility, dependency injection
- Modular design: Separate services for detection, parsing, calculation, UI
- Extensible: Easy to add new features or modify behavior
src/
types.ts - Type definitions
page-detector.ts - Detects Google Calendar page state
event-parser.ts - Parses events from DOM
time-calculator.ts - Calculates activity summaries
summary-ui.ts - UI overlay component
content.ts - Main entry point
MIT