Oooof, I think it kinda works now!

I managed to build mastodon image and pod for it, kinda in parallel with PR from Hometown who did the same:
codeberg.org/charlag/kibou/com

github.com/tootsuite/mastodon/

My goal is to have a setup for federation without requiring you to run anything with sudo. I already experimented with CNI so it should not be that hard. Was annoying but we're getting there!

I am almost there! I could certainly curl from one to another but then I couldn't make mastodon listen on specific port 🙄
Tomorrow it will work.

Follow

okay okay so
there's a Procfile
and there's Procfile.dev 😡
and it has port hardcoded there of course 😡😡😡

fucking ruby can't do anything
It can't do threads so you need puma and sidekiq
It can't do caches so you need redis
It can't do streaming so you need another streaming process

I needed to patch masto a bit (again) but YAY! It's working kinda. I already found 2 issues in kibou thanks to this.

like I had no idea masto does requests with 'application/activity+json, application/ld+json', no wonder it can't fetch anything from me

omg YES
kibou and masto, completely rootless being able to somehow communicate

Last time it was a pile of slow hacks, this time it's easy to set up.

I didn't just debug masto for an hour with logging and accidentally consumed the response body, you did!

Oh I fixed a couple more things including signatures (when did masto start checking digest?). Would spend days on this with real deployment.

@charlag It's a great language for terse hacky scripts and metaprogramming.

Which is to say I 112% agree with you and every time someone says "it's great for DSLs" I'm like "the level of hell below the one that punishes people by making them learn unnecessary Ruby DSLs is reserved specifically for people who wrote them".

@grimmware oh yeah, after fiddling w/ Cocoapods I somehow cursed myself with shoes...

And there's still fastlane in my life.

@cypnk yes. It's the same. Kinda by design even.

@charlag please don't eat mastodon posts. If you're not careful that might damage your toot-h.

Sign in to participate in the conversation
birb site

This is a tiny, friendly fedi server!