this post was submitted on 28 Jul 2023
20 points (88.5% liked)

Selfhosted

40313 readers
353 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
 

Hi,

I'm looking into hosting a blog site for myself - nothing fancy, just a site where I can publish some of my thoughts and ideas. Maybe I also want a section to publish images. So, basically something lean and mostly text only.

What's the easiest way to set this up for myself?

top 22 comments
sorted by: hot top controversial new old
[–] ripe_banana@lemmy.world 19 points 1 year ago (2 children)

I really like hugo. Everything is written in Markdown and its pretty light. Definitely not as heavy as a full CMS. I also think the themes are pretty nice.

To deploy it you can use github pages or some cloud services (the hugo site lists some).

Its also pretty flexible, so its pretty easy to change how you want to deploy it, or change the look.

[–] rentar42@kbin.social 3 points 1 year ago

And even if you absolutely want to self-host the serving of static pages: Making that secure and not prone to security issues is much easier than something that can actually execute PHP.

[–] Midnitte@kbin.social 2 points 1 year ago

I hope someday ActivityPub support is achievable - though you could just always manually post a link

[–] bless@lemmy.world 8 points 1 year ago (1 children)
[–] doppelgangmember@lemmy.world 2 points 1 year ago* (last edited 1 year ago)
[–] carl_dungeon@lemmy.world 8 points 1 year ago (1 children)

I also recommend a static site builder- you dont have to fuss with database or security, you can host with a simple http server, and it’s easy to work with. Hugo, Jekyll, etc

[–] mr_tyler_durden@lemmy.world 3 points 1 year ago

Yeah, I’ve been paying $5 (or is it $10?) a month for my Ghost blog on a digital ocean droplet. It’s not worth it, my plan is to move to a static site generator (probably CloudFront -> S3 deployed via GitHub actions in a private repo) at some point. The features of Ghost don’t really matter to me and I hate maintaining the install/updating. Ghost feels like it’s moved more into “self-hosted substack”-territory which I have zero interest in, my blog posts are all public. Also, you can’t hack static files so security isn’t a worry with SSG which is super nice.

Not sure which SSG I’ll go with, when I was younger I would have written my own but now I’ll just pick something off the shelf that has nice themes lol.

[–] DakRalter@thelemmy.club 4 points 1 year ago (1 children)

I do that. I have WordPress.org with classic editor enabled and the raw html plugin. Use a classic layout like twenty twelve if you don't want the fancy effects. Look for a host that has softaculous or something similar to automate the installation. My host charges about £60 pa with unlimited bandwidth.

You can also use WordPress.com for free but it has Gutenberg, which I absolutely cannot bear. Some people like it though. It's also less customisable.

[–] CaptObvious@lemmy.world 1 points 1 year ago (2 children)
[–] m88youngling@lemmy.world 1 points 1 year ago

I believe Gutenberg is a visual editor that WordPress uses, it has buttons that let you insert blocks throughout the page I think

[–] DakRalter@thelemmy.club 1 points 1 year ago

Yeah the infamous block editor. As an old skool hand-coder, I can't stand it. You have to manually enable classic editing each time on WordPress.com otherwise it defaults to the Gutenberg editor. I heard it's improved somewhat recently, but when I first used it it was the biggest load of crap, worse than the beep beep boop one, which was at least useable. It was both dumbed down and unintuitive at the same time.

At least on a .org installation, classic editor disables Gutenberg completely.

[–] sv1sjp@lemmy.world 3 points 1 year ago

Hugo is awesome, check my go/markdown based site: https://sv1sjp.github.io

Static sites are okay. The problem starts with sites with comment section, searches etc which can be very vulnerable.

[–] chripede@lemmy.world 2 points 1 year ago

With a static site generator you can host it for free with Cloudflare Pages.

[–] HolidayGreed@sh.itjust.works 2 points 1 year ago

Bludit is very simple to install and configure. Worth a quick look at least.

https://www.bludit.com/

[–] SLaSZT@kbin.social 2 points 1 year ago

I don't use it myself, but there's a federated blogging service called WriteFreely that markets itself as being very minimalist and simple.

You can self-host an instance of it, just like you can with /kbin, or you can use an instance that already exists (I think it's a few bucks a month if you don't want to post anonymously).

Not sure if federation is something that's important to you but I thought I'd throw it out there.

[–] Engywuck@lemm.ee 1 points 1 year ago

I use a cheap (lowest tier) hetzner ampere server + wordpress container. Works like a breeze.

[–] tabular@lemmy.world 1 points 1 year ago

I'm looking to self host a blog but I want to use a Gemini capsule instead of a website.

[–] AlecStewart1st@lemmy.world 1 points 1 year ago

Find a static site generator you can tolerate and style things the way you want, have the static files be generated, pick your favorite way to host and server up those static files.

It's not self hosted, but you might like 750words as well.

[–] johntash@eviltoast.org 1 points 1 year ago

Ghost is pretty simple, and might be worth looking at. I have a couple sites that I use ghost to manage the content and then a script that wgets the rendered site and uploads it as a static site.

[–] pound_heap@lemm.ee 0 points 1 year ago* (last edited 1 year ago)

Depends on what you want exactly. Easy and self-hosted are not usually go well together unless you've got enough experience.

Easiest way for blog - use a platform. WordPress.com is great and has free tier.

More involved, but still relatively easy - static site generator. I use Hugo myself, there is Jakyll that is popular too. Host it for free on GitHub or GitLab pages.

I would not self-host a public web site for security reasons. But you can run a static site on some cloud service. A personal blog with small audience should be fine on Oracle free tier.