Skip to content

A starter template for building a Plasmo browser extension with Next.js.

Notifications You must be signed in to change notification settings

evanlong0803/plasmo-nextjs-starter-template

Repository files navigation

plasmo-nextjs-starter-template

Introduction

This is a starter that combines Plasmo and Next.js. The advantages of Plasmo make it seamlessly compatible with Next.js, helping you develop browser plug-ins faster and better.

Features

  • Next.js: Support Next.js to develop your browser plug-ins.
  • Tailwind CSS: Support Tailwind CSS to quickly build your UI.
  • Automatically publish to store: Automatically publish to Chrome Web Store when a new release is created.

Usage

  1. Click on the Bookmarks Exporter icon in your Chrome toolbar.
  2. Click the "Export Bookmarks" button.
  3. Save the downloaded JSON file to your desired location.

Development

To set up the development environment:

  1. Install dependencies:
    pnpm install
  2. Start the development server:
    pnpm dev
  3. Open Chrome and navigate to chrome://extensions/.
  4. Enable "Developer mode" by clicking the toggle switch in the top right corner.
  5. Click "Load unpacked" and select the build folder inside your project directory.
  6. Rename the example.keys.json file to keys.json and fill in the corresponding fields.
  7. Make your changes and refresh the extension in Chrome to see the updates.

Star History

Star History Chart

Acknowledgements

  • Plasmo Framework for providing a robust platform for Chrome extension development.

About

A starter template for building a Plasmo browser extension with Next.js.

Topics

Resources

Stars

Watchers

Forks