Skip to content

About

A theme editor for Sablier

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

Sablier Theme Editor

Edit and preview themes directly in the browser!

Start editing at https://editor.sablierapp.dev/ !

editor

Why ?

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.

Features

  • 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

Development

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.

Credits

This website was inspired by:

About

A theme editor for Sablier

Resources

Stars

7 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages