https://github.com/ktravis/ssgen
go static site generator
https://github.com/ktravis/ssgen
Last synced: 2 months ago
JSON representation
go static site generator
- Host: GitHub
- URL: https://github.com/ktravis/ssgen
- Owner: ktravis
- Created: 2018-03-21T12:16:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-09-20T23:48:36.000Z (10 months ago)
- Last Synced: 2025-09-21T01:18:40.176Z (10 months ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ssgen
A dead-simple static site generator that takes [go text
templates](https://godoc.org/text/template) and a markdown content structure,
producing HTML.
Included is a development server that will watch the sources and refresh output after
they change (i.e. `ssgen -serve :8080`).
Usage:
```bash
~/s/g/k/ssgen $ ssgen -h
Usage of ssgen:
-debug
print debug messages
-in dir
dir for source markdown (default "src")
-out dir
dir for output (default "build")
-serve address
watch files, build and serve output at address
-static dir
dir containing static files to be served at '/static' (default "static")
-templates dir
dir for input templates (default "templates")
```