Edit and preview themes directly in the browser!
Sablier themes are Golang html/templates because data is fed at access time.
This website allows you to live edit and preview Golang html/templates with data.
- Rich editor (See Ace (Ajax.org Cloud9 Editor))
- Theme input data window with JSON Schema
- Golang html/template preview in the browser (With WebAssembly), rendered with the same data as Sablier
- Load the built-in themes from Sablier
- Rearrange and resize the template, data and preview panels
- Editor content and layout are saved to local storage
Run make dev and open http://localhost:8090 (requires Go and Node.js).
The page reloads on every change in webui, and the wasm is rebuilt whenever a .go file changes. Use make dev PORT=3000 to serve on another port.
This website was inspired by:
