Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

plasmo

> 前端框架
Open source

The Browser Extension Framework

13.1K stars0 likes0 views
WebsiteGitHub

About

The Browser Extension Framework

English | 简体中文 | Tiếng Việt | Deutsch | French | Indonesian | Русский | Turkish | 日本語 | 한국어

Production Cloud: We've built a cloud offering for browser extensions called Itero. Check it out if you want instant beta testing and more awesome features.

Plasmo Framework

The Plasmo Framework is a battery-packed browser extension SDK made by hackers for hackers. Build your product and stop worrying about config files and the odd peculiarities of building browser extensions.

It's like Next.js for browser extensions!

Highlighted Features

  • First-class React + Typescript Support
  • Declarative Development
  • Content Scripts UI
  • Tab Pages
  • Live-reloading + React HMR
  • .env* files
  • Storage API
  • Messaging API
  • Remote code bundling (e.g., for Google Analytics)
  • Targeting multiple browser and manifest pairs
  • Automated deployment via BPP
  • Optional support for Svelte and Vue

And many, many more!

System Requirements

  • Node.js 16.x or later
  • MacOS, Windows, or Linux
  • (Strongly Recommended) pnpm

Examples

We have examples showcasing how one can use Plasmo with Firebase Authentication, Redux, Supabase authentication, Tailwind, and many more. To check them out, visit our examples repository.

Documentation

Check out the documentation to get a more in-depth view into the Plasmo Framework.

Browser Extensions Book

For a more in-depth view into how browser extensions work, and how to develop them, we highly recommend Matt Frisbie's new book "Building Browser Extensions"

Usage

bash
pnpm create plasmo example-dir
cd example-dir
pnpm dev

The road ahead is filled with many turns.

  • Popup changes go in popup.tsx
  • Options page changes go in options.tsx
  • Content script changes go in content.ts
  • Background service worker changes go in background.ts

Directories

You can also organize these files in their own directories:

ext-dir
├───assets
|   └───icon.png
├───popup
|   ├───index.tsx
|   └───button.tsx
├───options
|   ├───index.tsx
|   ├───utils.ts
|   └───input.tsx
├───contents
|   ├───site-one.ts
|   ├───site-two.ts
|   └───site-three.ts
...

Finally, you can also avoid putting source code in your root directory by putting them in a src sub-directory, following this guide. Note that assets and other config files will still need to be in the root directory.

Supported Browsers

To see a list of supported browser targets, please refer to our documentation here.

Community

The Plasmo community can be found on Discord. This is the appropriate channel to get help with using the Plasmo Framework.

Our Code of Conduct applies to all Plasmo community channels.

Contributing

Please see the contributing guidelines to learn more.

A big thanks to all of our amazing contributors ❤️

Feel free to join the fun and send a PR!

Plasmo Framework

Plasmo Examples

Plasmo Storage

Browser Platform Publisher

Disclaimer

Plasmo is currently alpha software, and some things might change from version to version, so please be mindful and use it at your own risk.

License

MIT ⭐ Plasmo

Issues· 371 open

View all issuesOpen on GitHub
  • #1178

    Dependency Dashboard

    Updated Sep 28, 2026
  • #1345

    [BUG] Is it ready to continue maintenance?

    bugUpdated Sep 17, 2026
  • #1040

    [BUG] ERROR | Failed to resolve '../../popup.tsx' from './.plasmo/static/popup.tsx'

    bugUpdated Jul 10, 2026
  • #1188

    [BUG] Error: Could not resolve module "node:module" in jiti after upgrading to Tailwind v4 in Plasmo

    bugUpdated Jul 7, 2026
  • #989

    [BUG] WARN | Unable to find any entry files. The extension might be empty

    bugUpdated Jun 28, 2026
  • #856

    [BUG] Sourcemaps off by 1 line

    bugUpdated Jun 18, 2026
  • #1193

    [BUG] shadcn/ui Select component not working in Firefox build

    bugUpdated May 30, 2026
  • #664

    [BUG] Development server usually doesn't update the extension or being extremely slow

    bugUpdated May 21, 2026
  • #1221

    [BUG] bundler is having issues with a dependency that uses 'import fields'

    bugUpdated Mar 23, 2026
  • #1131

    [BUG] Plasmo build stops working after a few runs (on any project/starter templates/etc...)

    bugUpdated Mar 14, 2026

> Tags

TypeScriptbrowser-extensionbundlerchrome-extensionedge-addon

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category前端框架
PricingOpen source

> Related tools

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