Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/themcaffee/gosquatch
A super fast Github Action that converts markdown into a static HTML site.
https://github.com/themcaffee/gosquatch
Last synced: 26 days ago
JSON representation
A super fast Github Action that converts markdown into a static HTML site.
- Host: GitHub
- URL: https://github.com/themcaffee/gosquatch
- Owner: themcaffee
- License: mit
- Created: 2022-10-04T21:35:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-23T23:13:57.000Z (about 1 year ago)
- Last Synced: 2024-10-28T23:46:40.556Z (about 2 months ago)
- Language: Go
- Homepage: https://themcaffee.github.io/GoSquatch/
- Size: 1020 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoSquatch
A super fast Github Action that converts markdown into a static HTML site. This is super useful for personal blogs and project documentation
to keep pages in standard markdown but also be able to host through Github Pages (or other hosting providers). GoSquatch uses [native golang templating](https://pkg.go.dev/text/template) and [gomarkdown/markdown](https://github.com/gomarkdown/markdown) to handle markdown parsing. It includes a live building
server so you can easily see your site locally before publishing it._How fast?_
GoSquatch takes about 3 seconds on Github Actions to execute. This allows with checking out the code and publishing it to Github Pages to only take around 20 - 30 seconds in total execution time. Check out the [GoSquatch-template's Github Actions](https://github.com/themcaffee/GoSquatch-template/actions) for real examples of performance.
_Why is it so fast?_
First, there is a seperately built and published docker image `themcaffee/gosquatch` that builds an extremely lean docker
image with only an alpine image and a small binary program file. This allows for this action to pull a very small image hosted on Github that only takes
about 3s to pull down. Second, because this is written in Go this allows for a tight binary with super fast execution with the minimal depencies built in
the binary. The step to build the pages varies depending on size but will generally be less than 1 second.[Check out our documentation built with GoSquatch!](https://themcaffee.github.io/GoSquatch/)
## License
The scripts and documentation in this project are released under the [MIT License](https://github.com/themcaffee/GoSquatch/blob/main/LICENSE).