Go template playground with wasm.
- switch html and text
- sprig, helm functions
- html view
- share template, input and settings
Download binary/static from releases or try docker image:
docker run -it --rm -p 8080:8080 ghcr.io/rytsh/repeatit:latestServer Configuration
Add config file repeatit.[yaml|yml|json|toml] in root of the container or use environment variables.
Environment variables have prefix
REPEATIT_and use_instead of..
For exampleREPEATIT_PATH_PREFIX=/repeatit.
log_level: info
address: ":8080"
path_prefix: "" # for example "/repeatit"
encoding:
disabled: false
encoding: # empty list's default to ["gzip"]
- gzip
cors:
allow_origins:
- "*" # for example "https://example.com"
allow_methods:
- GET
- HEAD
- PUT
- POST
- PATCH
- DELETE
allow_headers: []
allow_credentials: false
unsafe_wildcard_origin_with_allow_credentials: false
expose_headers: []
max_age: 0Development
Frontend developed with sveltekit in prerender mode.
Build wasm file
make buildRun frontend
make build-front-install runMake local test first and to try other things use ngrok like tools before tag new version.
Add new tag with starts v[0-9] to publish new version of website.