Skip to content

Repository files navigation

repeatit

repeatit

Licenserepeatit.io

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:latest

Server 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 example REPEATIT_PATH_PREFIX=/repeatit.

log_level: infoaddress: ":8080"path_prefix: ""# for example "/repeatit"encoding:
disabled: falseencoding: # empty list's default to ["gzip"]
- gzipcors:
allow_origins:
- "*"# for example "https://example.com"allow_methods:
- GET
- HEAD
- PUT
- POST
- PATCH
- DELETEallow_headers: []allow_credentials: falseunsafe_wildcard_origin_with_allow_credentials: falseexpose_headers: []max_age: 0
Development

Frontend developed with sveltekit in prerender mode.

Build wasm file

make build

Run frontend

make build-front-install run

Make 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.

Releases

Packages

Used by

Contributors

Languages