https://bartventer.github.io/go-template-playground/
An interactive environment to create and test Go templates.
https://bartventer.github.io/go-template-playground/
go go-templates golang wasm
Last synced: 29 days ago
JSON representation
An interactive environment to create and test Go templates.
- Host: GitHub
- URL: https://bartventer.github.io/go-template-playground/
- Owner: bartventer
- License: apache-2.0
- Created: 2024-10-05T14:37:11.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-26T05:27:26.000Z (about 1 month ago)
- Last Synced: 2025-03-26T06:26:32.188Z (about 1 month ago)
- Topics: go, go-templates, golang, wasm
- Language: TypeScript
- Homepage: https://bartventer.github.io/go-template-playground/
- Size: 15.9 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - go-template-playground - An interactive environment to create and test Go templates. (Recently Updated / [Mar 26, 2025](/content/2025/03/26/README.md))
README
# Go Template Playground
[](https://github.com/avelino/awesome-go)
[](https://pkg.go.dev/github.com/bartventer/go-template-playground)
[](https://github.com/bartventer/go-template-playground/releases/latest)
[](https://goreportcard.com/report/github.com/bartventer/go-template-playground)
[](https://codecov.io/github/bartventer/go-template-playground)
[](https://github.com/bartventer/go-template-playground/actions/workflows/default.yml)
[](https://github.com/bartventer/go-template-playground/actions/workflows/deploy.yml)

[](LICENSE)An interactive environment to create and test Go templates. The playground runs entirely in the browser without any server-side processing. It uses WebAssembly to execute Go code in the browser.
![]()
## Features
- 🌑 Dark mode
- ✨ Code autocomplete
- 📝 Input editor for Go template language syntax
- 📄 Data input editor supporting JSON, YAML, and TOML, with automatic conversion between formats
- 🖨️ Output editor with support for plaintext and Markdown, including a built-in Markdown viewer
- 🔍 Syntax highlighting
- 📐 Responsive design
- 🎨 Customizable layout
- 📤 Import and export templates and data
- 🚀 No server-side processing
- 🔒 No tracking or analytics## Credits
The Go gopher was designed by [Renee French](https://reneefrench.blogspot.com/) and is licensed under the [Creative Commons 3.0 Attributions license](https://creativecommons.org/licenses/by/3.0/).
## Contributing
All contributions are welcome! See the [Contributing Guide](CONTRIBUTING.md) for more details.
## License
This project is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for more information.