Conversation
Notices
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 02:28:30 JST Sexy Moon It's been less than two days. I wrote all the ActivityPub shit from scratch (except HTTP signatures.) Following and unstyled blog posts are already federating. AP endpoints work. It serves raw markdown and rendered HTML. I am using Zod ActivityPub schemas to validate incoming AP objects, that I stole from @alex 's Ditto project, thanks.
This is Pleroma-first development. When it works with Pleroma, I stop coding that feature. When this is released, I'll accept pull requests to make it work with the weird ActivityPub platforms like Mastodon.
Still lots to do:
* render to html before federating (easy)
* embedded images
* federate edits
* wysiwyg markdown frontend (currently it uses a cli to push markdown from files)
* honor unfollows
Right now I'm calling it "ActivityPress" but I'm probably going to change it to something else. Considering "Fartsmith".- on-lain ✔ᵛᵉʳᶦᶠᶦᵉᵈ, augustus pugin 🌖 and Doughnut Lollipop 【記録係】:blobfoxgooglymlem: like this.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 02:33:36 JST Sexy Moon This is being done because I HATE every other federating blog software. simsa03 likes this. -
Embed this notice
Doughnut Lollipop 【記録係】:blobfoxgooglymlem: (tk@bbs.kawa-kun.com)'s status on Thursday, 28-Dec-2023 02:35:40 JST Doughnut Lollipop 【記録係】:blobfoxgooglymlem: @Moon Reminds me of WriteFreely.
-
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 02:35:46 JST Sexy Moon @tk I hate it Doughnut Lollipop 【記録係】:blobfoxgooglymlem: likes this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 02:36:22 JST Sexy Moon @methyltheobromine I don't want people following it until it honors unfollow requests. -
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Thursday, 28-Dec-2023 02:36:29 JST :blobcatflower: @Moon coward reveal the domain -
Embed this notice
thegreatape (thegreatape@thechimp.zone)'s status on Thursday, 28-Dec-2023 02:36:37 JST thegreatape @Moon Yeah I've noticed the options for federated blogging aren't the best. Unless I go with wordpress and lol no thanks I'll avoid that. Sexy Moon likes this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 02:37:14 JST Sexy Moon @thegreatape I tried to make the wordpress one work, but at the time I tried it it only worked correctly with Mastodon (people tell me it works better now but too late) -
Embed this notice
『VRISKA』 (vriska@lizards.live)'s status on Thursday, 28-Dec-2023 02:38:31 JST 『VRISKA』 Sexy Moon likes this. -
Embed this notice
nick (nick@pech.tech)'s status on Thursday, 28-Dec-2023 02:41:19 JST nick @Moon @alex that's really neat! I tried running plume once and the whole experience sucked. Sexy Moon likes this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 02:43:18 JST Sexy Moon @nick @alex I am motivated by wanting the installation to be as simple as possible and for the code and documentation to be high quality. -
Embed this notice
(mint@ryona.agency)'s status on Thursday, 28-Dec-2023 05:26:35 JST @Moon @alex >{:error, {:transmogrifier, :error}}
Doesn't seem to be that Pleroma-first yet. -
Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Thursday, 28-Dec-2023 05:26:52 JST Alex Gleason @mint @Moon Wonderful error message. likes this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 05:28:46 JST Sexy Moon @mint @alex what url are you using, are you trying to pull in an existing post? I haven't tried that yet. it's pushing to my pleroma instance fine so far. -
Embed this notice
(mint@ryona.agency)'s status on Thursday, 28-Dec-2023 05:30:05 JST @Moon @alex Any of the direct AP object links (/a/1, for example). Profile (/author/Moon) gets fetched fine. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 05:30:56 JST Sexy Moon @mint @alex interesting, the exact same code is generating the pull json as the push. likes this. -
Embed this notice
(mint@ryona.agency)'s status on Thursday, 28-Dec-2023 05:32:03 JST @Moon @alex Right, it's an activity (Create) and not an object (Note). I don't think I've ever seen a server that just returns the activity instead of only pushing it and returning the object otherwise. Alex Gleason likes this. -
Embed this notice
(mint@ryona.agency)'s status on Thursday, 28-Dec-2023 05:34:13 JST @Moon @alex Pulling an object link (noticed it only now) brings different error.
Screenshot_20231227_233229.png -
Embed this notice
(mint@ryona.agency)'s status on Thursday, 28-Dec-2023 05:37:36 JST @Moon @alex Nevermind, I've just woke up. It's normal behavior, you can get the activity links from outbox.
https://ryona.agency/activities/4c9104a6-1a30-4033-801a-66b394d8f17e -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 05:38:43 JST Sexy Moon @mint interesting, it is working on mine. it looks like it is interpreting the article as an actor? when I look directly at the generated object it seems okay likes this. -
Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Thursday, 28-Dec-2023 05:41:52 JST Alex Gleason @mint @Moon What you're saying is true though. Pleroma even has a flow where it generates a fake "Create" activity for remote objects since there is no easy way to fetch them. likes this. -
Embed this notice
(mint@ryona.agency)'s status on Thursday, 28-Dec-2023 05:42:02 JST @Moon Everything is fine, I just used the wrong command (Pleroma.User.get_by_ap_id instead of Pleroma.Object.Fetcher.fetch_object_from_id). As I said, I still haven't fully woken up yet. Apologies. Sexy Moon likes this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 05:43:44 JST Sexy Moon @mint no problem friend. likes this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 05:54:19 JST Sexy Moon @alex @mint I make fake ids for transient activities I don''t want to store, like basically I use epoch milliseconds times a million for the id of follow Accepts. this is fun tbh and Alex Gleason like this. -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 07:20:01 JST Sexy Moon @lamp Can you explain the problem you're trying to solve? I might be able to accommodate it.
Currently all URLs, including properties that ActivityPub typically uses URLs for, are generated at runtime based on a configuration hostname loaded at startup. So, you can stop the server and change one line and start it again and serve it on another domain. But during runtime it cannot server on two domains simultaneously, at least not the activitypub stuff. Does that work for you? -
Embed this notice
lamp (lamp@kitty.haus)'s status on Thursday, 28-Dec-2023 07:20:02 JST lamp @Moon make it domain agnostic so it doesnt store its own name in databases so it can be dynamically substituted and make an alias feature so that it can use a particular name when serving to a particular peer -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 08:12:07 JST Sexy Moon @lamp Yes, I solved the re-hosting difficulty. It is trivial to re-host this on a different domain. You literally just change one line in a config.
It would be a hassle to support the second one though, I'd have to pass the hostname separately into every single function. -
Embed this notice
lamp (lamp@kitty.haus)'s status on Thursday, 28-Dec-2023 08:12:08 JST lamp @Moon one is being able to change the damn domain, i think pleroma embeds all its activitypub ids so all its documents have https://yourdomainnameblabla in the id. you're saying you solved that already by not doing this stupidity?
the other thing is FUCK JANNIES and being able to refederate without fucking the federation with everyone else; like i had to hack pleroma to refederate mstdn.social because FUCK YOU STUX I'M NOT SELF PROCLAIMED PRO CONTACT PEDOPHILE READ YOUR GOD DAMN APPEALS -
Embed this notice
Sexy Moon (moon@shitposter.club)'s status on Thursday, 28-Dec-2023 08:14:58 JST Sexy Moon @lamp Anyway this thing doesn't really let you interact with other servers in any significant way other than allowing people to follow your blog so they get the blog posts right away. -
Embed this notice
arcanicanis (arcanicanis@were.social)'s status on Thursday, 28-Dec-2023 09:52:42 JST arcanicanis That’s pretty much all it takes. I find it bizarre that so many will cling to certain poorly-designed software rather than just write their own, especially for certain focused niches.