this post was submitted on 06 Aug 2023
12 points (77.3% liked)

Selfhosted

40041 readers
684 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] -1 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago

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

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

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 0 points 1 year ago (1 children)

Nifty. At first blush just making a static clone of a dynamic site doesn't feel as elegant as using a code forge editor, but I'll keep that idea in mind if I find the editing experience (images and whatnot) to be too clunky with the gitea suggestion.

[–] [email protected] 0 points 1 year ago (1 children)

@azdle yeah understandable .I've had a good experience with just editing files locally (markdown or html) too. in case you miss some niceties of your local IDE

[–] [email protected] 0 points 1 year ago (1 children)

@azdle as in, edit locally, preview locally, push with git

[–] [email protected] -1 points 1 year ago

Gotcha, I'm trying to find something that doesn't require me to use a local editor. I want to give myself as smooth of an opportunity as possible to write small thoughts. That's my current setup and even that little bit of friction seems to keep me from writing. (Or that's my current excuse anyway...)

[–] [email protected] 1 points 1 year ago

Inused to use movabletype to so this back in the day

[–] [email protected] 0 points 1 year ago

Something like next.js?

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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.

[–] [email protected] -3 points 1 year ago

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