All Projects → Debdut → browser-extension

Debdut / browser-extension

Licence: MIT license
Browser Extension Template with ESbuild builds, support for React, Preact, Typescript, Tailwind, Manifest V3/V2 support and multi browser build including Chrome, Firefox, Safari, Edge, Brave.

Programming Languages

typescript
32286 projects
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to browser-extension

nextjs-landing-starter
Build your landing site based on Next.JS in minutes 🚀
Stars: ✭ 59 (-88.97%)
Mutual labels:  postcss, starter, starter-kit
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (+8.04%)
Mutual labels:  postcss, starter, starter-kit
starter-kit
🏃 A simple and powerful Starter Kit made with Webpack, Gulp 4, Pug and SASS
Stars: ✭ 21 (-96.07%)
Mutual labels:  postcss, starter, starter-kit
fly-kit-preact
A starter kit for building offline / SPA / PWA apps with Preact
Stars: ✭ 28 (-94.77%)
Mutual labels:  preact, starter-kit
Polymer Skeleton
💀 Skeleton for Polymer 3 app with Webpack, PostCSS and Service Workers ready.
Stars: ✭ 185 (-65.42%)
Mutual labels:  postcss, starter-kit
go-preact-starter
Starter for combining Go and Preact in any web project.
Stars: ✭ 19 (-96.45%)
Mutual labels:  preact, starter
Gatsby Starter Alchemy
A Gatsby starter with PostCSS powers ✨🔮
Stars: ✭ 23 (-95.7%)
Mutual labels:  postcss, starter-kit
Preact Cli
😺 Your next Preact PWA starts in 30 seconds.
Stars: ✭ 4,510 (+742.99%)
Mutual labels:  preact, starter-kit
11tyby
Simple 11ty setup using TypeScript, SASS, Preact with partial hydration, and other useful things. Aims to provide the DX of Gatsby, but using 11ty!
Stars: ✭ 38 (-92.9%)
Mutual labels:  preact, starter
PreactSimpleStarter
PWA Simple Starter with Preact, Preact-mdl and Webpack2 🔥🔥🔥
Stars: ✭ 65 (-87.85%)
Mutual labels:  preact, starter-kit
Preact Minimal
🚀 Minimal preact structure
Stars: ✭ 136 (-74.58%)
Mutual labels:  preact, starter-kit
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+242.62%)
Mutual labels:  postcss, starter-kit
Preact Redux Typescript Rollup Starter
Smallest "React-like" + Redux starter EVER - 13KB min&gzip
Stars: ✭ 24 (-95.51%)
Mutual labels:  preact, starter-kit
Zero To Preact
A Step-by-step Guide to Preact + Webpack 2, without boilerplate!
Stars: ✭ 185 (-65.42%)
Mutual labels:  preact, starter
progressive-web-app-starter
Preact based starter kit for making a Progressive Web App (PWA).
Stars: ✭ 19 (-96.45%)
Mutual labels:  preact, starter-kit
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+205.23%)
Mutual labels:  postcss, starter-kit
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-28.22%)
Mutual labels:  preact, starter-kit
project-starter
My starter boilerplate for new projects. Totally opinionated :)
Stars: ✭ 24 (-95.51%)
Mutual labels:  postcss, starter-kit
Poi
⚡A zero-config bundler for JavaScript applications.
Stars: ✭ 5,291 (+888.97%)
Mutual labels:  preact, postcss
twitch-extension-starter
Kickstarts your Twitch Extension using React
Stars: ✭ 38 (-92.9%)
Mutual labels:  starter, starter-kit

Browser Extension Template

w/ React Preact Typescript ESBuild

Generic badge

Browser Extension Template with ESbuild builds, support for React, Preact, Typescript, Tailwind, Manifest V3/V2 support and multi browser build including Chrome, Firefox, Safari, Edge, Brave.

Builtin

  • Fast 100ms builds: ESBuild
  • Manifest v3/v2 in TS
  • 17+ Browsers Support
  • 8+ Pages: content, bookmarks, popup, ...
  • Auto Opens Browser
  • Run Multiple Browsers in Parallel
  • Autoreloads Browser
  • Isolated Browser Profiles

Commands

# Install packages
npm install

# Live Dev for multiple browsers
npm run start [browser]
# npm run start chrome firefox safari

# Build for multiple browsers
npm run build [browser]
# npm run build chrome firefox safari

That's it, if you got the browsers in the start command installed, it automatically builds for that, starts all of them, loads the extensions and reloads them on change. ESBuild makes sure the builds and reloads are really fast.

See browser support below.

Supports

  • ESBuild
  • React 18
  • Typescript
  • Preact X
  • PostCSS
  • TailwindCSS
  • CSS Modules

Simply remove or don't use the technologies you don't like.

Scripts & Pages (located in src/pages):

  • background
  • content
  • history
  • options
  • popup
  • bookmarks
  • devtools
  • newtab
  • panel

Just delete the folders of pages you don't require, the builds scripts detects automatically what's in there and adjusts the manifest automatically.

Browsers:

  • arc
  • brave
  • chrome
  • chrome-beta
  • chrome-canary
  • chromium
  • edge
  • firefox
  • firefox-developer-editon
  • firefox
  • opera
  • orion *
  • safari *
  • safari-beta *
  • safari-technical-preview *
  • sidekick
  • vivaldi

Browsers with * stars get a build, but needs to be launched manually, and extension needs to loaded manually with Xcode.

Notes

If you want webpack build, checkout the webpack branch.

In each of the pages folder, the target main script is the first of

  • index.html
  • index.ts
  • index.tsx
  • index.js
  • index.jsx
  • main.html
  • main.ts
  • main.tsx
  • main.js
  • main.jsx

Put your injecting scripts in public directory that needs to imported via the chrome.runtime.getURL API.

Credits

V2 wouldn't have been possible without my brilliant friend Sayan Naskar, the more credit we give him is less!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].