rust Rust Programming Anybody wanna try a new static site generator?
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJP
    jplatte
    2 months ago 100%

    EDIT: Here’s a screenshot of what I mean by saying I’ve gone way overboard.

    Wow! Impressive :)

    You accidentally re-used the link to the Zola issue tracker there.

    Oops, fixed.

    it’ll depend on how amenable it is to checking a site rooted in a file:// URL so I don’t need the overhead and complexity of spinning up an HTTP server to check for broken links.

    Wouldn't you want your SSG to include a dev-server anyways? Zola has zola serve which even does incremental rebuilds, but something less sophisticated should be easy to add to your own (only took me a weekend to add to hinoki including rebuilds, though mostly starting the build from scratch on changes).

    1
  • rust Rust Programming Anybody wanna try a new static site generator?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJP
    jplatte
    2 months ago 100%

    Hey, only saw this now! Have you investigated some of the options already now?

    Re. Jekyll, I have the same experience which is what got me to try Zola. I find it rather nice to use at least when you're okay with its limitations – which hasn't always been the case.. missing flexibility for output paths has been an annoyance. What really led me to make my own Rust SSG instead of forking Zola is that I found Zola to be quite hard to hack on, and Tera (its templating lang) to be a little buggy / much less elegant than minijinja API-wise.

    Re. link checking, have you seen lychee? When I found out about it, the priority of building my own link checker in my SSG (that was only an idea at that point, I think) basically dropped to zero :D

    the

    1
  • rust Rust Programming Anybody wanna try a new static site generator?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearJP
    jplatte
    5 months ago 100%

    Zola supports this? I've never heard of it and can't find anything about it in the docs. I'd be interested to find out how it's implemented there, but it does seem a bit too complex for my liking on first thought.

    2
  • rust
    Rust Programming jplatte 5 months ago 97%
    Anybody wanna try a new static site generator? github.com

    I just released v0.1.0 of hinoki, my static site generator :)\ The `README.md` should explain usage, and you can also see how I ported my blog to it [here](https://github.com/jplatte/blog.turbo.fish/commit/c11e40699a59b178a84b829efe9e6556175d3ade). This project started because I'm not entirely happy with Zola, which does not support customizing page paths much (e.g. `/year/month/day/title/index.html` style paths) and made some other design decisions that I wanted to explore alternatives to. You can download the binary from GitHub releases, or `cargo install` it from git. Any feedback is appreciated, here or in the GitHub issues!

    39
    10