gojekyll
MadelineProtoDocs
gojekyll | MadelineProtoDocs | |
---|---|---|
3 | 1 | |
330 | 42 | |
- | - | |
6.4 | 9.3 | |
about 1 month ago | 7 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.
gojekyll
-
Gojekyll – 20x faster Go port of jekyll
No, plugins are not supported in any meaningful way. With Jekyll I can write "_plugins/foo.rb" and put any code in there, and even monkey-patch core Jekyll code.[1] I can't do this with GoJekyll, because Go doesn't really provide a good mechanism for this.
What it does have is a bunch of optional features that are typically provided by plugins in Jekyll[2], but this is a very different meaning of "plugins" that Jekyll has.
[1]: Whether you should be doing this is a different issue, but I would argue that for a static website builder it's fine, especially since you can just lock the Jekyll version with little downsides, and it doesn't change that often in the first place.
[2]: A list of them: https://github.com/osteele/gojekyll/blob/main/docs/plugins.m...
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?
darkness - The noblest static site generator 🥬
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
gostatic - Fast static site generator
Hugo - The world’s fastest framework for building websites.
arp242.net - This is my site. There are many like it, but this one is mine.
just-the-docs - A modern, high customizable, responsive Jekyll theme for documentation with built-in search.
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
liquid - A Liquid template engine in Go
yaegi - Yaegi is Another Elegant Go Interpreter