hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs

Ask HN: Do you still self-host a blog? What's your publishing stack?

12 points

by krrishd

4 days ago

27 comments

story

Question says it all - I'm curious what the state of the art is for a community like HN (that, intuitively, wouldn't just start an eg. Substack).
  • mattl

    4 days ago

    I edit my posts in a self hosted Ghost site that I run on my laptop as needed and then I use Eleventy to translate that into a static website which gets pushed to Neocities.org via WebDAV (requires the $5 a month plan)

    https://mat.tl/blog/2024/10/29/migrating-from-wordpress-com-...

    1. quintes

      4 days ago

      Jekyll s3 cloudfront
      1. sharmi

        4 days ago

        Astro blog deployed on Github Pages.

        VS Code for editing.

        Points to Ponder

        -> Use the basic Astro template for blogs. It is basically enough for a self-hosted blog needs. Using any of the third party themes/templates with a list of features has a bunch of disadvantages. It takes more effort to customize and upgrading to newer versions totally breaks the setup, sucking in hours of your time.

        -> VS Code has plenty of Markdown Extensions. Markdown Preview and Frontend Masters come to mind.

        1. ridiculous_fish

          4 days ago

          Jekyll and nginx in Docker on Hetzner for €4.49/mo
          1. lappet

            4 days ago

            Hugo, s3 and CloudFront. I use GitHub actions to push to s3, that is my deployment pipeline.
            1. skwee357

              4 days ago

              Astro, netlify (in a process to move to a VPS), neovim
              1. chistev

                4 days ago

                My personal blog is -

                https://rxjourney.com.ng

                I self host because I love writing code. It's inspired by Medium. It was built with Django and Svelte. I could have written the whole thing with Django but I wanted to learn Svelte, and I had plans of making it bigger and more interactive initially.

                It's hosted on Render.

                1. rasulkireev

                  4 days ago

                  Add it to built with django!

                  https://builtwithdjango.com

                  1. chistev

                    4 days ago

                    Will do!
                2. petabyt

                  4 days ago

                  I use a from-scratch python script that generates a bunch of html files which are pushed to GitHub pages
                  1. aosaigh

                    4 days ago

                    Next.js with SSR, hosted for free with Vercel. I’ve used Jekyll, Django and Craft CMS in the past.
                    1. boricj

                      4 days ago

                      It's hosted on a computer located inside my apartment. It used to be hosted on a cheap Synology NAS. No Cloudflare or CDN or anything like that, just a bare NGINX server.

                      The website itself is built on Jekyll, but I want to switch to something else because I don't use Ruby/Gem for anything else and I can't be bothered to commit that stack to memory just for that.

                      1. solardev

                        4 days ago

                        Is there a particular stack you prefer?

                        If JS, maybe consider Astro (for simple blogs)? It has built-in MDX support and deploys in a few seconds.

                        There's also Ghost, but it's a bit more complex. It has both a paid cloud version now and also the FOSS self-hosted version: https://github.com/TryGhost/Ghost

                        If PHP, maybe https://getgrav.org/?

                        For Go or a prebuilt binary, maybe https://gohugo.io/?

                        1. boricj

                          4 days ago

                          I'm a low-level kind of person, both at work and at home. My requirements are static site only, hosted locally and no fuss (if I need to look up how to install the associated ecosystem or deal with a package manager it's out).

                          If I had to migrate right now I'd probably go with Hugo.

                          1. solardev

                            4 days ago

                            Fair enough! I can't be of any help there then. Hope you find something!
                      2. LinuxBender

                        4 days ago

                        Just nginx and static pre-compressed html and txt files. Publishing stack is my fingers and vim to get spell check. Backups are automated.
                        1. csomar

                          4 days ago

                          1. throwaway519

                            4 days ago

                            Ethereum.
                            1. krapp

                              4 days ago

                              Nikola to generate a static site and blog that I never bother updating because Mastodon is easier, and some shell scripts. The script that publishes the site creates a git repo, adds the static files and the remote host, force-pushes to origin and then gets deleted. It's as elegant as it is useless.
                              1. bergie

                                4 days ago

                                https://lille-oe.de/

                                Jekyll on GitHub Pages with various actions to automate stuff like calculating mileage statistics.

                                Editing via the GitJournal app.

                                1. asukachikaru

                                  3 days ago

                                  Hosted on GitHub Pages, built with React. For now I'm using nextjs, but a self-made static site generator is on the roadmap.
                                  1. bvnierop

                                    3 days ago

                                    Static website written entirely in Emacs' org-mode with a slightly customized publish script that gets executed on a push to `main`. Hosted on GitHub Pages.
                                    1. brokegrammer

                                      3 days ago

                                      Astro hosted for free on Cloudflare Pages.
                                      1. alp1n3_eth

                                        2 days ago

                                        A lot of aggregators will also not allow your blog to be posted if it's on a newsletter site like Substack, Patreon, etc.

                                        I use GitHub Pages for hosting, Porkbun for the domain, and Astro for the blog itself. EZPZ to manage and very straightforward, plus Astro's docs are great.

                                        1. wannabebarista

                                          1 days ago

                                          My personal blog is http://brettcmullins.com

                                          It is a static site using Jekyll and hosted on GitHub Pages. Although I'm not doing anything fancy, I'm surprised at how flexible Jekyll is when I try to add a feature.

                                          1. fedorvin

                                            1 days ago

                                            Mine is really simple. I push the changes to git and then pull them through ssh. I am planning to somehow automate the process, but honestly it takes less then 20 seconds so I'm quite happy with it as it is

                                            (My blog: Fedorvin.com)

                                            1. labarilem

                                              23 hours ago

                                              Yep I do, at https://marcolabarile.me/

                                              Quite simple stack: Jekyll on Github Pages.