gostatic
MadelineProtoDocs
gostatic | MadelineProtoDocs | |
---|---|---|
4 | 1 | |
442 | 41 | |
- | - | |
2.3 | 9.3 | |
about 1 year ago | 4 days ago | |
Go | PHP | |
ISC 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.
gostatic
-
Gojekyll – 20x faster Go port of jekyll
another good one thats even smaller:
https://github.com/piranha/gostatic
-
Bearclaw – tiny static site generator with RSS
Single binary alternatives also include https://github.com/piranha/gostatic & https://github.com/getzola
- Gostatic – Fast static site generator
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?
hugo-preproc - Helper for Hugo to provide for pre-processing of files.
gojekyll - A fast Go implementation of the Jekyll blogging engine
eclaire - lightning-fast static site webserver with automatic HTTPS right out of the box!
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
Hugo - The world’s fastest framework for building websites.
bearclaw - tiny static site generator w/ rss
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
arp242.net - This is my site. There are many like it, but this one is mine.
liquid - A Liquid template engine in Go