I went all out and restyled the entire self-hosted app to be very interesting. There's even a new "Brutalist" matching blog theme built-in that I am using over at https://staires.org. Here's some shots, for posterity.
Posts tagged with "self-hosted"
Experimenting with bolder, more classic internet styling for the self-hosted app. Looks kinda cool I think :D
Heck yeah, I had Claude Code set up a docker image and it works great. You can now run Postalgic self-hosted at home very easily by doing this...
curl -O https://raw.githubusercontent.com/amiantos/postalgic/main/docker-compose.yml
docker compose up -d
And then you can load the site at http://localhost:8010/ and... it just works! Assuming you have docker installed already, of course.
Heck yes, I just finally got a full sync system with smart publishing included working. So you can make a post on self-hosted, publish, pull it down to iOS, make a post and publish it, pull it down on self-hosted, and so on. It's working! It took some thought but, goddamn, it's finally working properly.
Unsurprisingly it has been very difficult to get syncing to work. Only today did I finally get syncing working between two copies of the self-hosted version of the app. Now we'll figure out if I can get syncing working between iOS -> iOS and then iOS -> self-hosted. I already know self-hosted -> iOS works. There's also two separate systems at play, because we're trying to do smart publishing so both systems need to generate the same identical html and hash it the same way, this has been annoying...
New Syncing
I am working today on getting cross-platform syncing working for Postalgic blogs. So when you upload your blog, it uploads a syncable version as well, with your draft posts encrypted with a choosable password. Then you can have your blog in multiple clients and the 'cloud storage' of your blog is just your site storage. So far I've gotten it working for uploading the sync data and importing a blog from the sync data in the new self-hosted version. Just need to QA the iOS side of that and keep going...
For some reason yesterday I started having Claude Code build out a self-hosted web version of Postalgic. It's already fully functional, just... ugly. I also built in an export feature for the iOS version, so you can fully export your site from iOS and then import it into the self-hosted version. This isn't ideal–the most ideal solution would be to have a sync system where the uploaded site is the cloud backup of it. Maybe you do an export->import to get it started and then some system maintains it otherwise.
Anyway, it's neat. I had the smallest feeling I would blog more if I had a desktop version of it, and I was able to get it working in less than 4 hours.