https://github.com/jfaexe/tem
tiny go template cli renderer
https://github.com/jfaexe/tem
cli go-templates template-rendering
Last synced: about 2 months ago
JSON representation
tiny go template cli renderer
- Host: GitHub
- URL: https://github.com/jfaexe/tem
- Owner: JFAexe
- License: mit
- Created: 2026-04-08T11:52:16.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2026-04-26T12:46:34.000Z (about 2 months ago)
- Last Synced: 2026-04-26T14:24:22.667Z (about 2 months ago)
- Topics: cli, go-templates, template-rendering
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tem - tiny go template cli renderer
```shell
echo '[{{ time.Now | time.DateTime }}] {{ "USER" | env.Or "anonymous" }}@{{ hostname }}' | tem
```
## Installation
### `go install`
```shell
go install -trimpath -ldflags "-s -w" github.com/JFAexe/tem/cmd/tem@latest
```
### Prebuilt binaries
```shell
(
TEM_VERSION="0.4.1"
wget "https://github.com/JFAexe/tem/releases/download/v${TEM_VERSION}/tem_${TEM_VERSION}_linux_amd64.tar.gz" -O "tem_${TEM_VERSION}.tar.gz"
tar -xzf "tem_${TEM_VERSION}.tar.gz" -C "$HOME/.local/bin/" "tem"
)
```