Live data from Hacker News

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

ingau.me

101–110 of 248 posts

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

#101
post #61

Earlier quoted context omitted.

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?

So I agree in the sense that, you're always going to rely on something . Even if you're hosting on hardware you own at your house, using your own self-signed SSL certificates, you're still relying on an internet connection from some company. But, I think using the term "fully-owned" to refer to pushing up to GitHub, then deploying to Cloudflare Pages is definitely not "fully-owned"

What I meant by "fully-owned" is really about owning the content and the workflow: everything lives locally in plain text, versioned in Git, and built with open tools. I can move it to any host without being locked into a platform or losing anything.

You're right that hosting on GitHub and Cloudflare isn't infrastructure ownership. I should’ve been more precise with the wording.

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

#102
post #54

Earlier quoted context omitted.

I really dont agree with "fully owned", you arent running on anything you actually own ie self-hosting. It's all on the cloud , which dont get me wrong, is pretty cool and helpful, but hardly yours.

I’m using “fully owned” more in the sense of control rather than infrastructure ownership. The content lives locally, it’s versioned in Git, and everything’s built with open tools. I can move it to another host any time without being locked into a specific platform or format. I agree it’s not “self-hosted”. But compared to a closed CMS or paid platform, it feels meaningfully more in my hands.

[deleted]

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

#103

I have a sort of similar setup but I haven't started using Obsidian yet, it's on my todo list. I use Eleventy instead of Hugo, with its simple Eleventy-Base-Blog starter template. I use Github action to publish to Github pages instead of using Cloudflare. It's a nascent site/blog, haven't written much, no images yet, so I don't see the need for something more than Github pages right now. One thing I don't see the aut…

Nice setup.

Yeah, I do commit drafts. My repo’s private, so I don’t mind keeping everything versioned there, including posts still marked as draft: true.

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

#104
post #86

Earlier quoted context omitted.

I'd argue it is, because it's portable to any other service. As in you own all the content and methods to generate it.

But he doesn’t. If Cf or Gh go down he has to reconfigure the whole mess. Portability != full-ownership.

As a corporate senior eng, this does't look like a mess to me - just a few things, easily configurable in the matter of hours. My only concern would be if Cloudflare pages offer truly unlimited bandwidth, but so far the site is live. :-)

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

#105
post #4
post #3

Earlier quoted context omitted.

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

By "fully owned," I mean that I control the entire stack: - Content is just Markdown files in my local Obsidian vault - Hugo builds the site locally - no dependency on external editors or platforms - GitHub is just used for version control and deployment - Cloudflare Pages handles static hosting, but I can move it elsewhere anytime

Thank you for your post, it's very sensible setup. Does Cloudflare Pages offer unlimited bandwidth?

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

#106
post #86

Earlier quoted context omitted.

I'd argue it is, because it's portable to any other service. As in you own all the content and methods to generate it.

But he doesn’t. If Cf or Gh go down he has to reconfigure the whole mess. Portability != full-ownership.

No matter what host it's on, even if you run it at your house, if something goes down you'll need to do the same.

The internet as a whole relies on a huge variety of services all working as they should.

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

#107
post #4

Earlier quoted context omitted.

By "fully owned," I mean that I control the entire stack: - Content is just Markdown files in my local Obsidian vault - Hugo builds the site locally - no dependency on external editors or platforms - GitHub is just used for version control and deployment - Cloudflare Pages handles static hosting, but I can move it elsewhere anytime

Thank you for your post, it's very sensible setup. Does Cloudflare Pages offer unlimited bandwidth?

Thank you. Yes they offer unlimited bandwidth.

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

#108
How I Blog with HTML and nginx - Zero Cost, Fully Owned: Step 1. install nginx from repos on my home desktop computer. Step two: write html files and put them in directories under the web root. Step 3. forward port 80 to the webserver internal IP on my router config. Step 4. Link people to http://your.ip.here.a/somepage.html or maybe rent a .com domain.

I've been doing it for 20+ years (xitami and thttpd before nginx) and it not only has an infinite lifetime (because it's .html and files) but it also has no attack surfaces or mantainence required.

All that static site generator and remote corporate services stuff will break within a year if left untouched. And re: security, running a static nginx server from home is about 10,000x less of a security risk than opening a random page in $browser with JS enabled. nginx RCEs are less than once a decade. And DoS re: home IP? A vastly over-stated risk for most human people. In my 20+ years I've never had a problem, and even if I ever do, who cares? It's not like my personal website needs nine 9s of uptime. It can be down for days, weeks, with no issue. It's just for fun.

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

#109
post #153

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

I really dont agree with "fully owned", you arent running on anything you actually own ie self-hosting. It's all on the cloud , which dont get me wrong, is pretty cool and helpful, but hardly yours.

If we're going to nitpick that far they'd need to start an ISP and lay their own fibre too

Personally I feel if you can quickly pull out of a provider and host elsewhere with maybe just a config change - aye the data is fully owned, close enough.

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

#110
post #75
post #26

Obsidian is honestly such a joy to write in - I use it for my blog as well: https://ezhik.jp/ On my end I ended up building an entire custom thing that bastardizes SvelteKit to produce a static website that I then upload to GitHub Pages, but I think over-engineering a personal website is always good fun - and hey, I can tweak lots of silly aspects like how my post names get turned into /nice-and-readable-urls . Out o…

Github Pages also works, I used Cloudflare since almost all my other projects are hosted there + I use it to manage DNS.

Understandable. I went with GH Pages for my new blog pretty much entirely because that's what my old site already used.
Post reply on HN