this post was submitted on 08 Jul 2023
8 points (100.0% liked)

Free and Open Source Software

17922 readers
27 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I am currently using Hugo as a static site generator for my blog. It's not bad but rather limited. Does anybody know about something that would be equally as lightweight but offer some more flexibility. I just don't know what is out there so anything you guys could come up with would be appreciated.

top 21 comments
sorted by: hot top controversial new old
[–] ono@lemmy.ca 6 points 1 year ago* (last edited 1 year ago)

There's a big filterable list here: https://staticgen.com/

I've been using Pelican for a few years. It's reasonably lightweight and very flexible, although the configuration could be prettier.

[–] TechnologyClassroom@partizle.com 4 points 1 year ago (1 children)

What do you find limited about Hugo?

[–] ablackcatstail@lemmy.goblackcat.com 3 points 1 year ago (2 children)

The only limiting factor is really that if I am, say, in a public place that bans SSH access or SFTP access. I am starting to see more of this as deep packet inspection becomes available to the masses now. I could be composing my blog post on my laptop but be unable to otherwise publish it if I am on such a network that combines deep packet inspection with locking down ports.

[–] TechnologyClassroom@partizle.com 2 points 1 year ago (1 children)

That is a networking issue which is not specific to Hugo. You need to solve this as most of the suggestions also involve SSH.

One way is to use a VPN like openvpn or wireguard that can use a common port like 80 or 443.

[–] ablackcatstail@lemmy.goblackcat.com 1 points 1 year ago (1 children)

No, of course it is not specific to Hugo. Solid point on OpenVPN because I forgot it can use TCP. However, does OpenVPN's negotiation look like a TLS handshake from a browser to a client? Again, deep packet inspection is my enemy here.

[–] TechnologyClassroom@partizle.com 1 points 1 year ago (1 children)

Deep packet inspection is unlikely the culprit in my experience. SSH and SFTP use port 22 by default which is probably blocked. I log in to my work VPN through common ports 80 and 443 on public WiFi.

[–] ablackcatstail@lemmy.goblackcat.com 1 points 1 year ago (1 children)

Actually, you're mistaken because I've set SSH and SFTP to use the port for IMAPS which is 993. I know that Dunkin Donuts, for example, offers guest WiFi. They have port 993 open because I can send and receive email from my phone. My email provider is Hostinger for reference. However, when I try to SSH into my server over the 993 port it fails when it should not. I have verified that 993 is not firewalled and that the SSH daemon is listening for connections on port 993. What else could it be other than a firewall analyzing the TCP handshake and seeing that it is not email, http, or https traffic? If I am wrong please educate me.

[–] TechnologyClassroom@partizle.com 2 points 1 year ago (1 children)

DD might be using something like that. I have heard they block TOR as well. I have used a VPN with ports 80 and 443 on their WiFi years ago.

Just in case I am wrong, the next time I go to Dunkin', I am going to see if I can use OpenVPN on port 80.

You could also have your back end pull from a git repo every minute. A cron job could check a GitLab repo for changes and update the site if any changes are found.

[–] HamsterRage@lemmy.ca 4 points 1 year ago (1 children)

My blog is hosted on GitHub pages and it supports Jekyll. I use the MinimalMistakes template.

That's a pretty good idea but I still want to keep doing the self-hosted thing. Nevertheless, it is lightweight and flexible.

[–] BrikoX@lemmy.zip 4 points 1 year ago (1 children)

Jekyll is great with a bunch of narrow tailored plugins to add only functionality you need. You can self host or use GitHub Pages (they only allow approved list of plugins).

[–] renard_roux@beehaw.org 3 points 1 year ago (1 children)

I found this article questioning the future of Jekyll. It says one of the maintainers of Jekyll suggested 11ty as an alternative.

I have zero experience with either, tough; YMMV.

[–] BrikoX@lemmy.zip 3 points 1 year ago (1 children)

It's still being developed 🤷 and as it's an open-source project it can always be forked if the maintainers decide to stop.

[–] renard_roux@beehaw.org 2 points 1 year ago

Was just curious so I went to have a look 😊👍

The releases seem to support that it's slowed down some, though, like the article suggested. No releases for past ~6 months. Closed issues seem mainly to be constraint releasing.

Again, I don't know much about it 😊👍

[–] lemmy@lemmy.hugovr.dev 2 points 1 year ago

Docusaurus is very simple although less customizable. I really like Astro as it is fast and very flexible

[–] navigatron@beehaw.org 2 points 1 year ago* (last edited 1 year ago) (1 children)

I recall eleventy being pretty good.

I had one issue with it, re how it generated links, that didn’t match how I needed it to in order to migrate my site, which was a dealbreaker for me. But other than that, it was solid.

I despise jekyll, purely from the standpoint of the state of their documentation.

There was another, that was extremely lightweight and configurable, at the cost of requiring much configuration - I think it was called “metal” - if I can find it I’ll report back

Edit: Hexo and Metalsmith. Hexo scratches my javascript itch; metalsmith is extremely versatile - it’s more of an erector set than a finished thing.

Thank you! I'll check out Eleventy. I also recently learned about Publii which might be a possibility.

[–] DogMuffins@discuss.tchncs.de 1 points 1 year ago (1 children)

In my experience this is one of those things where you'll never find something that's perfect, and have to settle for something.

I've been using metalsmith for years. The plugin ecosystem is a bit of a mess these days I think. IDK what else is available so can't make a recommendation.

Check out jamstack.org

Thank you!!! I sure will!

load more comments
view more: next ›