BASE

Plasmo

Plasmo

Browser-extension framework · Free

A browser-extension framework with React and TypeScript: organizes popups, content scripts, builds, and extension development.

Also known as: plasmohq/plasmo; plasmo-browser-extension-framework; plasmo; plasmohq

Resource illustration: Plasmo

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Local builds use your computer's resources. Selected external services, hosting, or cloud tools may have separate paid plans; Plasmo's MIT license does not cover their costs or require you to buy such services.

Access and limitations

Code and local use under MIT. Local builds use your computer's resources. Selected external services, hosting, or cloud tools may have separate paid plans; Plasmo's MIT license does not cover their costs or require you to buy such services.

Use cases

  • Create a React/TypeScript browser extension
  • Connect messaging entrypoints and build the extension for the target browser

Example workflow

A possible workflow; this is not a report of hands-on testing.

Create a React/TypeScript browser extension.

Before you start

  • The extension's manifest and workflow.
  • The target browser and UI stack.

Steps

  1. Describe the popup, content script, and required permissions.
  2. Connect messaging entrypoints and build the extension for the target browser.
  3. Build the package and test it in a separate browser profile.

Check your result

  • Permissions match the actions and store rules.
  • The extension works after reload and does not break the page.

Choosing Plasmo

Create a React/TypeScript browser extension

Choose this when

  • Create a React/TypeScript browser extension
  • Connect messaging entrypoints and build the extension for the target browser

Requirements

  • The README specifies Node.js 16+ and macOS/Windows/Linux; pnpm is recommended. Quick start: pnpm create plasmo, then pnpm dev.

Things to consider

  • Costs and limits of free use: Local builds use your computer's resources. Selected external services, hosting, or cloud tools may have separate paid plans; Plasmo's MIT license does not cover their costs or require you to buy such services.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • The README labels the project alpha and warns of changes between versions.

Frequently asked questions

What can you use for free in Plasmo?

Code and local use under MIT.

What additional costs might arise with Plasmo?

Local builds use your computer's resources. Selected external services, hosting, or cloud tools may have separate paid plans; Plasmo's MIT license does not cover their costs or require you to buy such services.

What terms of use matter for Plasmo?

MIT for the code; dependencies have separate licenses.

How do you get started with Plasmo?

Describe the popup, content script, and required permissions. Connect messaging entrypoints and build the extension for the target browser. Build the package and test it in a separate browser profile.

Which files create the extension interfaces in Plasmo?

popup.tsx creates a popup, options.tsx creates a settings page, content.ts creates a content script, and background.ts creates a background script. Same-named folders and src are allowed; assets and configuration files remain in the root.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Plasmo
  • extension
  • Development

Sources

Other resources