Hacker News new | ask | show | jobs
by Sai_ 868 days ago
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.

1 comments

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.
Source code is a bunch of lambda functions to extract content from emails, then present that information in blog posts.

There are quite a few moving parts -

1. Route 53/AWS SES rules to handle Inbound emails

2. S3, Lambdas, and Step Functions to process emails into json objects

3. Cloudfront distro and behaviors to handle content delivery

4. Aws Cognito to handle login

This probably needs an accompanying blog series just to explain how everything works with each other.

If you’re interested, I’ve written a bit about it on https://pretzelbox.cc/blog which dogfoods the above product.

If there’s genuine interest, I’ll be happy to open source it.