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?

  • ripe_banana@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      4
      ·
      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.

  • carl_dungeon@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      3
      ·
      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.

  • TheEmpireStrikesDak@thelemmy.club
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    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.

      • TheEmpireStrikesDak@thelemmy.club
        link
        fedilink
        English
        arrow-up
        2
        ·
        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.

        • CaptObvious@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Thanks, I didn’t know what it’s called. I agree that the block editor is unusable. Honestly, it reminds me of GeoCities. I wouldn’t consider it progress.

      • m88youngling@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        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

  • pound_heap@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    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.

  • SLaSZT@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    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.

  • AlecStewart1st@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    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.

  • interloper@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I find a blog is something I won’t self host since my homelab is mostly a dev environment and with that it isn’t super available.

    However I do recommend github pages and use some jekyll theme.

    Other than that, you can always self host Hugo or Ghost, although when I tried that I always found I ran into issues.

    I tried on 3 widely separated occasions and still found issues so maybe it’s a problem with me or my environment.

    Either way, people seem to mention those two so I’d recommend them if you want to selfhost, if not, github pages.

  • Engywuck@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

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

  • tabular@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

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

  • johntash@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.