Skip to content

cdoremus/Browser-Extension-Boilerplate

 
 

Repository files navigation

Bext Boilerplate

Boilerplate to build a Deno + Preact-UI Browser Extension using Bext.

NOTE: BEXT BrowserAPI typing is not yet complete, so you may run into type-check errors such as xxx.addListener is not a method or whatnot. I've just been making updates as I need new methods; PRs to update types are super valuable.

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

Commands What they Do
deno task build bundles extension
deno task build:chrome bundles extension only for chrome
deno task build:firefox bundles extension only for firefox
deno task test:all run fmt, lint, check types, and unit tests

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 92.5%
  • HTML 6.6%
  • CSS 0.9%