PocketBase API Rule Builder
A free, open-source web application that makes it easy to generate API rules for PocketBase collections visually.
PocketBase API Rule Builder
A visual tool for building and testing PocketBase API access rules. Easily create, preview, and save complex access control rules for your PocketBase collections using an intuitive web interface.
Features
- Visual Rule Builder: Compose access rules for List, View, Create, Update, and Delete operations.
- ABAC (Attribute-Based Access Control): Chain multiple JSON-based conditions with AND/OR logic.
- Quick Scenarios: Load real-world example rules for each operation type.
- Presets: Save and load your own custom rule configurations.
- Copy to Clipboard: Instantly copy the generated rule for use in your PocketBase project.
- Modern UI: Built with React, Vite, and Tailwind CSS for a fast and beautiful experience.
Usage
- Select Operation: Choose List, View, Create, Update, or Delete.
- Configure Rule: Set authentication, owner fields, lock fields, and add ABAC conditions.
- Apply Example: Load a real-world scenario for inspiration.
- Save Preset: Store your configuration for later use.
- Copy Rule: Copy the generated rule to your clipboard for use in PocketBase.
Tech Stack
Credits
- Built with ❤️ for PocketBase developers.
- PocketBase logo © PocketBase.
Contributing
Pull requests and issues are welcome! If you have ideas for improvements or new features, feel free to open an issue or PR.