Live data from Hacker News

Ask HN: Looking for lightweight personal blogging platform

news.ycombinator.com

21–30 of 84 posts

Re: Ask HN: Looking for lightweight personal blogging platform

#21
My blog works like many of those described in others comments, it's:

- Jekyll(any static site generator would do, I'd probably pick Zola or Hugo if I was starting from scratch. See list[0])

- GitHub to host source code

- GitHub actions to push resulting assets to S3(Would try R2 over S3 if starting from scratch I think)

- Cloudflare for TLS, edge caching(including HTML[1] which is nice)

The source for my blog is: https://github.com/k0nserv/hugotunius.se. I also made a starter template[2] at some point, but it's quite out of date now.

0: https://github.com/myles/awesome-static-generators

1: https://hugotunius.se/2020/01/01/edge-cached-static-sites-on...

2: https://github.com/k0nserv/one-cent-blog

Re: Ask HN: Looking for lightweight personal blogging platform

#23

If I were to start again from scratch, I'd likely use Zola as SSG ( https://www.getzola.org/ )

every time I've tried to set something up using jekyll and a theme I actually like, I've run into dependency issues, so I'm really liking the look of this

Re: Ask HN: Looking for lightweight personal blogging platform

#24
Lately I've been using Fruition - which is just a way to attach a custom domain name to your published Notion directory. The script is no longer maintained but it keeps working using some Cloudflare agent scripting mechanisms.

URL: https://github.com/stephenou/fruitionsite

Re: Ask HN: Looking for lightweight personal blogging platform

#25

If you don't need tagging (as http://danluu.com/ doesn't, for example), you can use my "no workflow" solution: * draft in markdown * render in HTML (using any Markdown to HTML tool, e.g. pandoc) * link your CSS in the HTML file. * push to your preferred serving platform This has the advantage of getting you started as quick as you can open an editor. If after 5 posts you are wanting a tool, pick whichever (Hugo).

+1

This puts the focus on writing content vs. spending unlimited time in the setup.

Re: Ask HN: Looking for lightweight personal blogging platform

#26
I built my blog to publish via email.

It’s got everything you need except it’s not possible to edit posts. You just have to email yourself a new, updated version and make that version public.

Taught me a lot about serverless, SES, css, and htmx. 10/10 would recommend trying this route if you don’t want to use the standard toolsets.

Re: Ask HN: Looking for lightweight personal blogging platform

#27
Sounds like any static site generator supporting Markdown will do.

- Jekyll: the OG, but requires a ruby toolchain.

- Hugo: compiles to a single static binary, but you may have to get used to its (Go text/html) templating.

- Zola: also compiles to a single static binary, but uses Jinja-like templating.

- Gozer [^1]: my own, like Hugo, but 1000x simpler. I rolled my own because I wanted something that didn't move under me in the next 10 years and just because it was fun and easy enough to build.

[1]: https://github.com/dannyvankooten/gozer

Re: Ask HN: Looking for lightweight personal blogging platform

#28
I like Hugo a lot, personally.

If you want to go as minimal as possible, my https://github.com/Siilikuin/minimum-viable-hugo gets you set up with a single no-CSS, no-JS HTML page. I found this pretty ideal for staying to learn the platform.

If you really, really like minimalism, you could also try pandoc-server to dynamically serve HTML files from your Markdown as people visit the page, just like PHP does: https://pandoc.org/pandoc-server.html

Re: Ask HN: Looking for lightweight personal blogging platform

#29
post #26

I built my blog to publish via email. It’s got everything you need except it’s not possible to edit posts. You just have to email yourself a new, updated version and make that version public. Taught me a lot about serverless, SES, css, and htmx. 10/10 would recommend trying this route if you don’t want to use the standard toolsets.

can you elaborate a bit more how did you achieve this. also source code will be amazing if you have it open sourced of course.

Re: Ask HN: Looking for lightweight personal blogging platform

#30
I've played around with several platforms in the last year or so. I've landed on the following setup that works very well for me and ticks all your boxes:

A SvelteKit[0] app hosted on Cloudflare pages. The repo is hosted on GitHub and hooked up to the Cloudflare Pages app [1]. On PRs, I get preview environments. On merge, the changes get deployed to my "production" website. I write blog posts and other content in markdown, which is then processed by mdsvex[2] with very minimal setup.

Mostly, my requirements were more focused around getting the actual framework, hosting, etc. out of my way so that I could focus on writing. Gatsby and Next.js were too configuration heavy and turned me off once I scratched beyond the surface.

[0] https://kit.svelte.dev/ [1] https://developers.cloudflare.com/pages/configuration/git-in... [2] https://github.com/pngwn/MDsveX

Post reply on HN