A basic example of Beekeeper Studio plugin demonstrating form creation, data persistence, and cross-view communication.
- Submit user ratings from
Tools > New Form - View the data from
Tools > View Summary
Note
This example does not use a UI framework for simplicity. But if you do, it supports hot reload! Thanks to Vite's Hot Module Replacement. 🎉
Note
Check the browser dev tools for debugging (Help > Show Developer Tools)
- Beekeeper Studio >= 5.4
- Node.js >= 20.19
-
Clone the repository
git clone https://github.com/beekeeper-studio/bks-sample-plugin cd bks-sample-plugin -
Install dependencies
yarn install
-
Create a symbolic link to the plugin directory
The symlink name must match the
idfield inmanifest.json. For example,bks-sample-plugin.Linux:
ln -s $(pwd) ~/.config/beekeeper-studio/plugins/bks-sample-plugin
macOS:
ln -s $(pwd) "~/Library/Application Support/beekeeper-studio/plugins/bks-sample-plugin"
Windows:
mklink /D "%APPDATA%\beekeeper-studio\plugins\bks-sample-plugin" "%CD%"
Windows (Portable version):
mklink /D "/path/to/beekeeper-studio/beekeeper-studio-data/plugins/bks-sample-plugin" "%CD%"
-
Start development server
yarn dev
-
For production build
yarn build
This repository contains Github Actions workflow that automates the release process by pushing a tag prefixed with v:
-
Push a version tag
git tag v1.0.0 git push origin v1.0.0
-
Once the GitHub Action completes, go to your repository's Releases page
-
Find the release
-
Mark it as "Latest release"
If you don't have the GitHub Actions workflow set up:
-
Build the plugin
yarn build
-
Create the plugin archive
The name format is
<pluginId>-<version>.zipzip -r bks-sample-plugin-1.0.0.zip dist/
-
Go to your repository on GitHub
-
Click "Releases" → "Create a new release"
-
Tag the release with the version, for example,
v1.0.0(prefixed withv) -
For assets, attach the current
manifest.jsonand the zip file -
Fill the title and description
-
Click "Publish release"
To make your plugin discoverable in Beekeeper Studio's plugin manager:
-
Fork the plugins registry at beekeeper-studio/beekeeper-studio-plugins
-
Add your plugin to plugins.json
{ "id": "bks-sample-plugin", "name": "Sample Plugin", "author": "Your Name", "description": "A sample plugin demonstrating form creation, data persistence, and cross-view communication in Beekeeper Studio", "repo": "yourusername/bks-sample-plugin" } -
Submit a pull request to beekeeper-studio/beekeeper-studio-plugins
-
Once approved & merged by our team, your plugin will be available in Beekeeper Studio for public
- Documentation: Visit the Plugin Development Guide
- Community Slack: Join the Beekeeper Studio Community
- Issues: Report bugs or request features in the main repository
MIT