Skip to content

Browser Extension Boilerplate using Preact and Deno

License

Notifications You must be signed in to change notification settings

plutack/deno_web_extension_starter

 
 

Repository files navigation

Deno WebExtension Boilerplate

Boilerplate to build a Deno + Preact-UI Browser Extension. Basically, built.ts uses esbuild to build js into the dist dir, and updates manifest stuff for v2 (ff) and v3 (chrome).

fwiw I built Bext so that you don't have to think about it. build.ts here is basically the Bext main.ts script. But if you want max control, I guess you can start here. This app is a mirror of the preact_example + build.ts

You need to download Deno in order to build this app.

Commands What they Do
deno run -A build.ts bundles extension
deno run -A build.ts -w watch extension

If you have bundled using make commands, you should be able to load your unpacked extension using a browser.

Options + Popup Page

About

Browser Extension Boilerplate using Preact and Deno

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • HTML 4.3%
  • CSS 0.6%