Web Extension Starter screenshot

Web Extension Starter

Author Avatar Theme by Abhijithvijayan
Updated: 4 Jan 2026
2142 Stars

Web Extension starter to build "Write Once Run on Any Browser" extension

Categories

Overview:

This product is a web browser extension template that allows developers to quickly create extensions for Chrome, Firefox, Opera, and other browsers. It utilizes React, TypeScript, and HTML for the frontend, and provides features such as cross-browser support, automatic builds, SASS styling, and a React UI library. It is used by several popular extensions with a large user base.

Features:

  • Cross Browser Support: The template supports multiple browsers including Chrome, Firefox, Opera, and more using the Web-Extensions API.
  • Browser Tailored Manifest Generation: The template automatically generates the manifest file tailored for each browser, saving development time.
  • Automatic Build on Code Changes: Builds are triggered automatically whenever the code changes, making development more efficient.
  • Auto Packs Browser Specific Build Files: The template automatically packs the browser-specific build files, eliminating the need for manual packing.
  • SASS Styling: The template supports SASS styling, providing a more organized and efficient way to style the extension.
  • TypeScript by Default: TypeScript is the default language used in the template, offering static typing and improved development experience.
  • ES6 Modules Support: The template supports ES6 modules, allowing developers to organize their code using modern JavaScript modules.
  • React UI Library by Default: The template comes with a React UI library by default, making it easier to build a user interface for the extension.

Installation:

To use this extension template, follow these steps:

  1. Create a new directory.
  2. Install Node.js 10 or later.
  3. Install Yarn v1 or v2.
  4. Run yarn install in the directory to install dependencies.
  5. Run one of the following commands to start the development server:
    • yarn run dev:chrome for Chrome extension.
    • yarn run dev:firefox for Firefox addon.
    • yarn run dev:opera for Opera extension.
  6. Run one of the following commands to build the extension:
    • yarn run build:chrome to build the Chrome extension.
    • yarn run build:firefox to build the Firefox addon.
    • yarn run build:opera to build the Opera extension.
  7. (Optional) Run yarn run build to build and pack all extensions at once.

Summary:

This web browser extension template provides an easy and efficient way to create extensions for popular browsers. With features like cross-browser support, automatic builds, and a React UI library, it simplifies the development process and reduces manual tasks. It is already being used by several popular extensions with a large user base.