News for hackers. Stuff that matters.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by jeremyjh on Sunday July 09, 2023 @07:16PM (#36660082)
Well and later they admit:

> So, all in all, I’m paying almost 400 euros per year to host a personal blog.

Seems...a bit much. But what do I know? I've just been using Jekyll since 2013. For a long time now Github has had first-class support for Jekyll and so I haven't even had to mess with Ruby for many years now, I usually just edit it online in the Github UI. I pay $0 a year for this service so my only cost is DNS.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by mylab6 on Sunday July 09, 2023 @07:35PM (#36660199)
As someone who's manually setup Ghost blog, I'd heavily advise towards just paying for Ghost hosting. I wasted hours setting it up, and I gave up when it came time to configure emailing.

Anyway, here's my blog post on it. I actually pay 20$ to AWS to host my Captain Rover server, but I have multiple web apps running.

https://rhymesworldwide.com/self-hosting-this-blog/

Re:It Took Me a Decade to Find the Perfect Personal Website ... by haswell on Sunday July 09, 2023 @08:03PM (#36660401)
As a long time happy Ghost user, self hosting is far easier than most stacks, and I just configured a new self-hosted instance for a friend this past week (5.x). Aside from a bug with the Let’s Encrypt auto-config (I had to fix the path to the cert in the generated nginx config), it was otherwise an extremely straightforward process.

I used the mailgun integration for mail, which involved adding a few lines to a config file and typing `ghost restart`.

Self hosting will always involve some fiddling, but I’ve fiddled less with Ghost than almost every other thing I’ve self hosted over the decades. Maybe I’m just lucky.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by ochronus on Sunday July 09, 2023 @11:12PM (#36661624)
I had the same experience. I've been self-hosting Ghost sites for years now. Cloudflare + Ghost is a really great combination, you can cache your whole site and set up a webhook to invalidate when you update/add something.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by koinedad on Sunday July 09, 2023 @10:48PM (#36661476)
I had a heck of a time setting it up to self host myself and I am technically inclined. There was one thing misconfigured by default that took me a few hours to catch. Now I’m trying to figure out why the VM stops responding randomly…free sounded better to me at the time
Re:It Took Me a Decade to Find the Perfect Personal Website ... by RobotToaster on Monday July 10, 2023 @06:02AM (#36664137)
No wonder people still use wordpress.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by 65 on Sunday July 09, 2023 @07:53PM (#36660324)
I pay $0 a year to host my Next.js website on S3.

I use MDX to write posts. I have CI/CD set up to auto publish when I push a new post. It's a simple set up (for a developer).

I don't get why one would want to or need to pay hundreds of dollars each year to host a simple blog, especially if that person is technically inclined. There are cheaper/free options.

Even your average Squarespace/Wordpress/Wix user will pay less than 400 euros a year. This sounds like the exact opposite of "perfect" to me.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by arkadiyt on Sunday July 09, 2023 @08:29PM (#36660559)
> I pay $0 a year to host my Next.js website on S3.

It's only free while you have no traffic. Getting a single post on the top of HN could cost you e.g. $10.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by Gigachad on Sunday July 09, 2023 @09:22PM (#36660915)
I find the idea of using AWS for personal use absolutely terrifying. You are signing up for literally unlimited costs. If my site gets ddosed, I don’t want a $100,000 bill, I want the site to go offline.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by hewlett on Sunday July 09, 2023 @10:58PM (#36661530)
then use Lightsail or set a maximum size for your ec2 autoscaling group
Re:It Took Me a Decade to Find the Perfect Personal Website ... by klysm on Sunday July 09, 2023 @11:57PM (#36661894)
But outbound traffic
Re:It Took Me a Decade to Find the Perfect Personal Website ... by ashconnor on Monday July 10, 2023 @01:45AM (#36662551)
Cloudflare Pages is free.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by c7DJTLrn on Monday July 10, 2023 @02:24AM (#36662793)
Or stop overengineering and use a PaaS like Netlify.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by ladzoppelin on Monday July 10, 2023 @03:51AM (#36663276)
Honestly this is a valid concern. I am not knocking AWS and they are working with us but $100000 in one week from bad code in a Java service is really nerve racking. For the record the only reason I use AWS over other clouds is because they actually work with you when stuff like this happens. ( Its taking a long time but we are hopeful)
Re:It Took Me a Decade to Find the Perfect Personal Website ... by meowface on Monday July 10, 2023 @08:18AM (#36665264)
It's very odd that AWS doesn't support spending caps. A lot of other services and paid APIs I use have them, and they save me a ton of stress.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by TeMPOraL on Monday July 10, 2023 @08:51AM (#36665603)
As long as enough people use AWS despite the lack of spending caps and the stress it causes, it just means Amazon effectively monetizing your risk tolerance.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by 65 on Monday July 10, 2023 @11:13AM (#36667605)
I would prefer to pay like this, especially since I'm not writing a ton of blog posts. To me it's better to pay $10 for a viral post than pay $10/month continuously with little traffic. It depends on your use case though. Low traffic sites like mine are great for hosting on S3.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by cehrlich on Monday July 10, 2023 @02:08PM (#36670484)
Same but Astro on Vercel's free tier. If my traffic suddenly spikes 1000000x, my site might go down temporarily. That's ok.

Paying $400/year to get some static html based on markdown for a personal website seems insane to me.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by qchris on Sunday July 09, 2023 @08:09PM (#36660429)
I don't think it would be too much to say something like a low-end VPS on AWS or Digital Ocean for a personal blog is too much, which would end up running somewhere between $5-10/mo depending on resources/automated backups. At 400 euros, though, they're quite a bit beyond that. I'm a bit curious what their cost per page-served ratio looks like.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by manuelmoreale on Monday July 10, 2023 @02:42AM (#36662865)
If his stats are correct the numbers are right there. It’s roughly 100k views in around 2800 days. So that 36 views/day. If it’s 400€/year then it’s 1.10€/day to serve those 36 views so we’re looking at around .03€ per view? That seems like a lot.
Re:It Took Me a Decade to Find the Perfect Personal Website ... by firecall on Sunday July 09, 2023 @10:02PM (#36661166)
Jekyll is great.

Fashions with things come and go, but Jekyll is still around.

Much faster now too, thanks to improvements to Jekyll and importantly Ruby!

Compile times used to be painful, especially with inclusions and data files, but now I don’t have any noticeable build time pain!

Cloud Cannon is a great service to run Jekyll on, but not free I don’t think.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by graypegg on Monday July 10, 2023 @12:08AM (#36661966)
+1 for Jekyll, I just recently came back to it after giving up on trying to upgrade my Gatsby 3 theme. It's a beautifully scoped project. A script that spits out HTML from templates, and some markdown. It's all you really need.

I'm sure Hugo is also great for the same reason, just haven't had a chance to mess with it.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by fragmede on Monday July 10, 2023 @01:18AM (#36662411)
especially on top of GitHub pages. it's free, as far as I can tell, and lets you have a custom domain
Re:It Took Me a Decade to Find the Perfect Personal Website ... by hanniabu on Monday July 10, 2023 @03:37AM (#36663180)
Same with other services like netlify and vercel
Re:It Took Me a Decade to Find the Perfect Personal Website ... by hanniabu on Monday July 10, 2023 @03:44AM (#36663223)
I use jekyll for many sites, most aren't even blogs. But it's really slow to compile and there's not many plugin options so you have to try to write them yourself in ruby except documentation for writing your own is scarce and insufficient.

I also wish there were an easier way up make an api call to get data to use within the template.

I tried migrating to hugo for these reasons but i'm not a fan of hugo syntax and i couldn't figure out how to setup a non-blog site.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by poglet on Sunday July 09, 2023 @11:45PM (#36661813)
> just edit it online in the Github UI

I do the same but I wish there was a easier way to make a blog post as it's still a bit fiddly. It would be great if it was as simple as sending an email or writing a message in a messaging app.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by onion2k on Monday July 10, 2023 @03:41AM (#36663203)
Seems...a bit much.

I'd bet that a side effect of paying that money is that you're significantly more likely to write posts. That would make it worth the money.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by INTPenis on Monday July 10, 2023 @03:43AM (#36663218)
Why is this even on HN? It seems like a terribly confused blog post, about a terribly inefficient stack.

To create any static site, including blogs, I just use hugo, maybe a custom theme, edit it in any editor, including the online one at github/gitlab, once it merges/pushes the CI/CD script is just 3 lines and 2 of those deal with aws.

And of course the pricing depends on the traffic but s3 and cloudfront can handle a lot of traffic before it starts getting out of hand.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by diffeomorphism on Monday July 10, 2023 @04:29AM (#36663523)
It seems that quite often the article itself is pretty irrelevant if the topic is interesting. Aka "nobody reads the article, only the headline".
Re:It Took Me a Decade to Find the Perfect Personal Website ... by Fethbita on Monday July 10, 2023 @04:10AM (#36663403)
Hey, I do the same but using Jekyll instead of Hugo, using S3 and CloudFront, I have only been charged 0.00 so far but why do you say that the pricing would get out of hand? Isn’t CloudFront there to cache the results so that the pricing would not get out of hand?

This is my blog post about how I set up my blog: https://blog.burakcankus.com/2023/04/23/getting-a-blog-runni...

Re:It Took Me a Decade to Find the Perfect Personal Website ... by INTPenis on Monday July 10, 2023 @04:35AM (#36663555)
Well I'm speaking theoretically because I haven't reached that point with any of my sites. Of course you should have a budget alert in AWS first of all.

But theoretically there is no such thing as a free lunch, and bandwidth costs money. Even cache hits in cloudfront generate bandwidth. A cache can't magically transfer text to your clients, it's still using transfer cost outgoing from cloudfront cache servers.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by vanjajaja1 on Monday July 10, 2023 @04:17AM (#36663448)
Because that link to ghost has a ?ref=
Re:It Took Me a Decade to Find the Perfect Personal Website ... by pindab0ter on Monday July 10, 2023 @08:30AM (#36665370)
> Why is this even on HN?

I'm no authority on this topic, but maybe because it still sparks interesting conversations.

Re:It Took Me a Decade to Find the Perfect Personal Website ... by Hoasi on Monday July 10, 2023 @04:44AM (#36663604)
> I've just been using Jekyll since 2013. For a long time now Github has had first-class support for Jekyll and so I haven't even had to mess with Ruby for many years now, I usually just edit it online in the Github UI. I pay $0 a year for this service so my only cost is DNS.

Jekyll remains one of the most robust solutions for small projects and blogs.