Skip to content
프로젝트

소개

오픈 소스 브라우저 확장 프로그램 스타터 키트 🧩

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • 🔒 Full type-safety with Typescript
  • 📄 All pages (background, popup, options etc.)
  • 📜 Content scripts (UI)
  • 🔐 Authentication (OAuth)

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original


Logo


GitHub action badge GitHub action badge

GitHub license

This boilerplate has Plasmo version

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

Installation

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

Development

Chrome

  1. Run development server
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
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:

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

관련 프로젝트 살펴보기

불러오는 중…