Live data from Hacker News

How I blog with Obsidian, Hugo, GitHub, and Cloudflare

ingau.me

11–20 of 248 posts

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#11
I have a very similar setup, but I went a step further by writing a custom Obsidian plugin that handles compressing assets / transforming frontmatter / pushing the bundle up to my Github blog repo.

Github has an automated action that then uses Pelican (a python based static site generator) to convert to HTML and deploys it to my VPS where it is served by Caddy.

Makes it very easy to have a WYSIWYG interface, the blog pages look basically identical to Obsidian.

https://mordenstar.com/blog/obsidian-to-pelican-exporter

Pelican static site generator:

https://github.com/getpelican/pelican

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#12

I'm curious about the pros and cons of Cloudflare pages versus GitHub pages. Given that you're using GH as a repo, would it be simpler to also use it to serve pages?

If you're using cloudflare already then it makes sense, closer to the edge and all that, plus there's integration to make that all very seamless from gh.

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#13

I'm curious about the pros and cons of Cloudflare pages versus GitHub pages. Given that you're using GH as a repo, would it be simpler to also use it to serve pages?

I already have several other projects and DNS managed in Cloudflare, so it made sense to keep everything in one place. GitHub Pages would definitely work too.

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#16
post #3
post #153

[stub for offtopicness] [submitted title was "How I Blog with Obsidian, Hugo, GitHub, and Cloudflare – Zero Cost, Fully Owned"]

What do you mean "fully owned"? There is no mention of that in the post Edit: I guess you mean the content itself is still on your machine if the services go away, and you can choose to host them elsewhere

I don't think there is a good term in the context of the Internet. Or offline for that matter. Even if you printed your blog and handed it out on street corners, for it to be "fully owned" would that mean you make your own ink and paper?

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#17

I'm curious about the pros and cons of Cloudflare pages versus GitHub pages. Given that you're using GH as a repo, would it be simpler to also use it to serve pages?

https://docs.github.com/en/pages/getting-started-with-github...

> GitHub Pages is not intended for or allowed to be used as a free web-hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).

Not finding a similar mention for Cloudflare... commercial sites are fine there?

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#18

VSCode has been good enough for markdown blogging for me. Hugo compiles pages on save so its quick to iterate. The markdown preview plugin brings same experience to misc markdown editing. No new editors to learn and one gets instant access to copilot etc.

Why would you need copilot for blogging? Isn't the whole appeal of a blog that it's something you, a human created?

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#19
post #153

[stub for offtopicness] [submitted title was "How I Blog with Obsidian, Hugo, GitHub, and Cloudflare – Zero Cost, Fully Owned"]

Not “fully-owned” though if you need external services to do the heavy lifting. I think they mean deployed onto a personal vps.

Re: How I blog with Obsidian, Hugo, GitHub, and Cloudflare

#20

Very cool. I first setup my blog way back in the 90s and wrote the HTML by hand and used FTP to get it on the server. Then moved to phpslash and slashcode, Drupal and then Wordpress. Probably something else in there too. This setup feels much closer to how I was doing it in the 90s in some ways. It kind of feels like we've come full circle!

Yeah, I’m hoping this kind of setup gets more popular. It’s simple, fast, and gives you real control over your content.
Post reply on HN