Web Based Static Site Generator?

That may seem like an oxymoron, but I’m looking for some sort of server that I can self-host where I can edit blog posts and whatnot, but that then deploys to something like neocities (or any other pure static host).

I’m not finding anything, but maybe it’s a thing and I just don’t know what it’s called?

Rearsays,

Github

fireshell,
@fireshell@lemmy.world avatar

you can place content in gemini

Bazz,

Something like next.js?

phase,
@phase@lemmy.8th.world avatar

You can all the config and content of a gohugo blog in github and it built and hosted by netlify. For the local dev, hugo server.

perishthethought,

That’s what I do. And it’s all free!

Just a note though: netlify runs on AWS.

marty,

That’s also my setup (just with gitlab) and it works very well. Only I deploy to my own host. I use the gitlab web editor sometimes, to quickly write stuff down, it also works well if you’re used to writing markdown.

phase,
@phase@lemmy.8th.world avatar

I use my own gogs/gitea for now. I need to check if I need to change since the name issue.

And as CI, I use drone.

skilltheamps,

There are also WordPress plugins that allow for exports of static html. Of course you need a theme without comment sections and all that jazz, as that is disfunctional in the static export anyways.

Aarkon,
@Aarkon@feddit.de avatar

Lektor maybe?

azdle,
@azdle@news.idlestate.org avatar

Ah, nice. I think that’s exactly what I was trying to describe. Thanks for the suggestion!

Though, I think the git forge ‘backend’ + “Static CMS” frontend seems a bit more featureful and slick. I think I’m going to keep going down that path instead for now. Good to have a backup of exactly what I originally thought I wanted though.

ares35,
@ares35@kbin.social avatar

grav is another option for what you were looking for. cli with optional web interface. run local and generate static sites or on a web server (like a traditional cms) https://getgrav.org

for a static site generator that runs locally (with local or git storage), check out https://jamstack.org/generators/ for lots of other options.

poxonus,

GitHub to host. Chatgpt to generate quick and dirty code if you’re not great at coding and don’t want a wysiwyg editor.

rs5th,
@rs5th@lemmy.scottlabs.io avatar

Hugo calls these sorts of things “frontends” and has a list here: gohugo.io/tools/frontends/

I haven’t had great luck with any of them personally.

Linuturk,
@Linuturk@lemmy.onitato.com avatar

I run a static site using Hugo, Gitea, Gitea Runners, Cloud Front, and S3.

azdle,
@azdle@news.idlestate.org avatar

Do you just use the gitea web editor for that? (I assume it has one right?) Does it provide a nice markdown-aware editor?

Linuturk,
@Linuturk@lemmy.onitato.com avatar

I use a local text editor and push the git repository, which triggers automation to generate and publish the content. vscode is my editor for that work.

pacology,
@pacology@lemmy.world avatar

You can do all of the through GitHub and GitHub actions by picking a static website generator.

azdle,
@azdle@news.idlestate.org avatar

I’d personally like to not depend on infra like github, but I hadn’t considered just using the web UI of a code forge. That’s a good idea, I’m going to try that and see if I like it, thanks!

(Still interested in other suggestions if others know of things that are more fit for purpose, tho.)

pacology,
@pacology@lemmy.world avatar

Fair enough. If you want to self host, you can go with forgjo as your web ui and forgjo CI/woodpecker CI for building and deploying the site.

I don’t know of any other self-hostable way to build and push a static site. There was forestry but they discontinued it for a paid service.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines