This is a Plasmo extension project bootstrapped with plasmo init.
First install the dependencies:
pnpm install
# or
npm install
Then, run the development server:
pnpm dev
# or
npm run devOpen your browser and load the appropriate development build.
Found in build/chrome-mv3-dev
More details on how to load the unpacked extension can be found here.
You can start editing the popup by modifying popup.tsx. It should auto-update as you make changes. To add an options page, simply add a options.tsx file to the root of the project, with a react component default exported. Likewise to add a content page, add a content.ts file to the root of the project, importing some module and do some logic, then reload the extension on your browser.
For further guidance, visit our Documentation
supabase init
supabase link
supabase start (Start the local supabase server via Docker)
supabase db pull
supabase migration up (Apply pending migrations to local database)
supabase status (Show keys and urls for the local supabase project)
Supabase Studio URL: http://127.0.0.1:54323
PLASMO_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
PLASMO_PUBLIC_SUPABASE_KEY=
Run the following:
pnpm build
# or
npm run buildThis should create a production bundle for your extension, ready to be zipped and published to the stores.
The easiest way to deploy your Plasmo extension is to use the built-in bpp GitHub action. Prior to using this action however, make sure to build your extension and upload the first version to the store to establish the basic credentials. Then, simply follow this setup instruction and you should be on your way for automated submission!