百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

extro

> 前端框架
开源

开源 浏览器扩展启动套件

398 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

开源 浏览器扩展启动套件

Features · Tech stack · Contributing · Getting started · Community · Star History

Everything you need to build a production ready browser extension, it's an opinionated stack based on learnings from building multiple browser extensions using the latest React framework. It's a starter kit with a focus on code reuse and best practices that will grow with your business.

[!NOTE] This project is listed on Awesome Open Source Boilerplates and Awesome SaaS Boilerplates

[!TIP] Sharing storage and authentication session between all pages

https://github.com/user-attachments/assets/970eddf8-5faf-42cc-89ed-54b7c7548bc8

Features ✨

  • Full type-safety with Typescript
  • All pages (background, popup, options etc.)
  • Content scripts (UI)
  • Authentication (OAuth)
  • Storage
  • Messaging
  • Hot reloading
  • One-click publishing
  • Internationalization
  • Analytics
  • ✨ Linting and formatting
  • Unit tests
  • CI/CD pipelines
  • ⚙️ Environment variables
  • shadcn/ui compatible
  • Custom fonts
  • Native AI integration (experimental)
  • ✨ ts-reset for enhanced DX
  • Billing (coming soon)

Tech stack ️

Tech Description
TypeScript Static type-checking programming language
React Library for building user interfaces
WXT Next-gen Web Extension Framework
Supabase Open source Firebase alternative
shadcn/ui Extendable component library
Tailwind Utility-first CSS framework
OpenPanel Open source analytics
React Hook Form Forms with easy-to-use validation
Vite Next generation frontend tool
Bun Package manager and build tool
Husky Git hooks
Biome Linting and formatting

Contributing

Please read CONTRIBUTING.md.

Getting started

Prerequisites

  • Bun

Installation

  1. Clone the repository
bash
git clone [email protected]:turbostarter/extro.git
  1. Install dependencies
bash
bun install
  1. Copy .env.example to .env and update the variables
bash
cp .env.example .env

Development

Chrome

  1. Run development server
bash
bun dev:chrome
  1. Open Chrome and go to chrome://extensions
  2. Check Developer mode
  3. Click Load unpacked
  4. Select the build/chrome-mv3 directory at root

Firefox

  1. Run development server
bash
bun dev:firefox
  1. Open Firefox and go to about:debugging#/runtime/this-firefox
  2. Click Load Temporary Add-on...
  3. Select the build/firefox-mv2/manifest.json file at root

[!NOTE]
In Firefox you're adding a plugin in temporary mode - that means it'll disappear after you close the browser.

Publishing

Manual

  1. Run bun run build to build the extension for both Chrome and Firefox or bun build:chrome or bun build:firefox to build only for one of the browsers.
  2. Go to the build directory and upload the .zip files to the Chrome Web Store and Firefox Add-ons.

CI/CD

  1. Obtain all the required API keys for your submission (check the official token guide to learn more about the tokens required to submit)
  2. Set your API keys as Github secrets under appropriate names
  3. Run CI / Publish workflow

Pages

Extro ships with the following extension pages preconfigured:

  • background - background service worker
  • content - content scripts that run in the context of web pages
  • devtools - devtools page with custom panels
  • newtab - new tab page
  • options - options page
  • popup - popup window
  • sidepanel - side panel
  • tabs - unlisted pages (custom pages delivered with the extension)

Community

To chat with other community members, you can join the Discord server. You can ask questions on that server, and you can also help others.

Also, suggest new features or share any challenges you've faced while developing Chrome extensions!

Star History


Made with ❤️ by Bartosz Zagrodzki

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptaiboilerplatebrowser-extensionchrome-extension

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架