A custom extension of regular Pocketbase with bluemonday sanitization:
- Default sanitization behaviour for maximum user content preservation by using UGCPolicy
- Extends the JSVM binding to enable using sanitization with JS extension, so that you can make use of bluemonday sanitization in your JS code.
-
To init the dependencies, run
go mod init bluebase && go mod tidy. -
To start the application, run
go run main.go serve. -
To build an executable, you can run
CGO_ENABLED=0 go buildand then start the created executable with./bluebase serve.
Bluebase is licensed under the MIT License.