liquid
MadelineProtoDocs
liquid | MadelineProtoDocs | |
---|---|---|
2 | 1 | |
269 | 41 | |
- | - | |
3.0 | 9.3 | |
5 days ago | 2 days ago | |
Go | PHP | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
liquid
-
Gojekyll – 20x faster Go port of jekyll
This project uses another templating language, apparently based on Shopify.
(1) https://github.com/osteele/liquid
-
Go template libraries: A performance comparison
liquid is a community-built implementation of Shopify’s template language. It provides a fully featured templating library.
MadelineProtoDocs
-
Gojekyll – 20x faster Go port of jekyll
An hour seems way too long; but I can confirm it's very slow. However, almost all of that is in this loop to generate the navigation: https://github.com/danog/MadelineProtoDocs/blob/master/docs/...
If I disable that your project builds in 30 seconds (no cache!) on my pretty old and not very fast i5-8350U, which is roughly what I'd expect for a project of this site. It will be even faster with cache, obviously.
I didn't look too closely, but I'm reasonably sure that can fixed so the total build time will be 30-40 seconds without to much effort; it looks like it's just generating the same HTML every time, so just caching it on the first generation seems like the obvious way.
And sure, Gojekyll is loads faster and more forgiving of these kind of inefficiencies, but "a few minutes" still seems pretty slow, especially considering even plain Jekyll can do it significantly faster.
What are some alternatives?
Razor - Razor view engine for go
gojekyll - A fast Go implementation of the Jekyll blogging engine
pongo2 - Django-syntax like template-engine for Go
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
mustache - The mustache template language in Go
Hugo - The world’s fastest framework for building websites.
Jet Template Engine for GO - Jet template engine
gostatic - Fast static site generator
gofpdf
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
sprig - Useful template functions for Go templates.
arp242.net - This is my site. There are many like it, but this one is mine.