Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kashav/go-serve-static
Checkout and serve old revisions of static websites.
https://github.com/kashav/go-serve-static
go hugo jekyll
Last synced: 19 days ago
JSON representation
Checkout and serve old revisions of static websites.
- Host: GitHub
- URL: https://github.com/kashav/go-serve-static
- Owner: kashav
- License: mit
- Created: 2021-04-18T03:32:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T16:30:19.000Z (4 months ago)
- Last Synced: 2024-10-14T18:41:41.052Z (about 1 month ago)
- Topics: go, hugo, jekyll
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```sh
$ cat sample-config.yaml
- id: kashav.ca
repo: [email protected]:kashav/kashav.github.io.git
build: jekyll build
serve: _site
...
$ go build -o serve-static cmd/serve-static/main.go
$ ./serve-static sample-config.yaml
...
$ xdg-open "http://localhost:8080/?id=kshvmdn.com&rev=ed098544062a80ef2d8b03ca52f43e43194abb0a"
```