A web extension to keep you company.
UI stack:
- Lit for view layer abstraction
- Typescript for type checking
- Vite for bundling
This extension's manifest.json
references build artifacts located in dist/
. For now you will need to run the following to build these artifacts before you can use the extension:
yarn && yarn build
Running yarn dev
will rebuild source files on change, and launch an instance of Firefox with the extension loaded (via web-ext). You should create a new Firefox profile specifically for testing and then set the environment variable WEB_EXT_FIREFOX_PROFILE to the name of that profile. The profile cannot contain any spaces.
If the companion sidebar doesn't open automatically, it can be opened via the file menu by going to View > Sidebar
.
In order to fully debug the companion, you need the Google Client ID and Google Client Secret. You can reach out to me (@mkaply) to obtain those if you are a Mozilla employee. For other folks, you can create an Desktop application in Google Cloud. You'll need to allow the scopes userinfo.email, calendar.calendarlist.readonly, calendar.events.readonly, drive.metadata.readonly and enable the APIs for those services.