EmailGenius is a browser extension that uses ChatGPT to help write emails: https://www.emailgenius.app/.
This repo contains the code for the extension.
- Run
pnpm install
to install dependencies. build/
contains the unpacked Chrome extension.release/
contains the production builds for the Chrome Web Store.
.ts
code lives ints/
.content.ts
is the content script and the entry point for the rest of the code.- Go to Chrome > Settings > Extensions and click the "Load unpacked" button and
select the
build/
folder. - Install the Reload Extensions extension.
- Run
pnpm run watch
. This will watch for changes to.ts
files in thets/
folder and automatically package them withwebpack
. This creates an unpacked extension inbuild/
. It also automatically reloads the extension in Chrome via the Reload Extensions extension.
- Bump the version in
manifest.json
. - Run
pnpm run build
. This will create a production build inrelease/
. - Upload the latest zip file in
release/
to the Chrome Web Store.