News for hackers. Stuff that matters.
Re:An efficient ActivityPub Server, for small installs with ... by pickpuck on Thursday November 24, 2022 @11:37AM (#33733246)
Ahh this is so exciting to see so much happening in this space all of a sudden! My quest to get a personal instance running has been a long slog for me personally.

I had been working on an ActivityPub server in Node.js/TypeScript for a while before the Twitter migration. It's got most of the features I'd want in a small server but it's basically bring-your-own-client at the moment.

https://github.com/michaelcpuckett/activitypub-core

Finding all the resources to build a complete server that can interact with other instances isn't easy, so maybe this can help someone. The spec is well worded, but the checklist is confusing, the test server is down, Mastodon has its own rules, etc. Plus you have to have at least a cursory knowledge of JSON-LD/RDF.

Re:An efficient ActivityPub Server, for small installs with ... by anthropodie on Thursday November 24, 2022 @12:44PM (#33734054)
>Ahh this is so exciting to see so much happening in this space all of a sudden!

It's like Elon unknowingly funded this space!

Re:An efficient ActivityPub Server, for small installs with ... by hunterb123 on Thursday November 24, 2022 @01:30PM (#33734674)
Never underestimate HN's pettiness and spite!

Now it's mainstream to work on a a cool technology that's been around for awhile!

Oh and everyone can act like they weren't bad mouthing the tech and saying it wasn't going to work before.

Visit any Mastodon thread here before Elon's Twitter and it's nothing but negativity.

Re:An efficient ActivityPub Server, for small installs with ... by ruined on Thursday November 24, 2022 @01:37PM (#33734758)
well, there's more than one person on this website.

also, a lot of these projects have been on a slow simmer for a long time, and are only just now starting to become complete and interesting.

edit: though it does seem to be true that takahe's initial commit was nov 5 :) and personally i don't consider it complete and interesting yet

Re:An efficient ActivityPub Server, for small installs with ... by hunterb123 on Thursday November 24, 2022 @01:41PM (#33734801)
Yes but I mean the general sentiment was negative among most threads.

Go ahead and look over any Mastodon thread a year ago or before.

Generally it was dismissed with "oh it's too niche".

Ignoring the communities already on it and the tech overall.

Only until people got pissy about Elon running Twitter instead of hedge funds did the general sentiment here change.

It wasn't about the tech, it was the Twitter safe space got taken away.

Re:An efficient ActivityPub Server, for small installs with ... by Shared404 on Thursday November 24, 2022 @03:25PM (#33735819)
I suspect you may be surprised which instances get islanded off from the rest of the fedi.

Or rather, which ones already are.

Re:An efficient ActivityPub Server, for small installs with ... by hunterb123 on Thursday November 24, 2022 @03:40PM (#33735985)
I've been in the mastodon world for longer than the Twitter drama, so I'm well aware.

It's currently split between those who don't want free speech and those who do.

When you block other instances you realize you are islanding yourself off, right?

Everyone is federated until you block, so you are isolating yourself from the norm when you block others.

It's not too noticeable as the english speaking instances are small currently, but those who don't want wolfballs and friends are more isolated than those who do.

Re:An efficient ActivityPub Server, for small installs with ... by Shared404 on Friday November 25, 2022 @01:48AM (#33739921)
If the majority of servers federate with each other and block the same servers, wouldn't the larger group be the "not islanded" group?

My argument is that if a server behaves in a way that the majority of large servers block it, then it is islanded, not the others.

Re:An efficient ActivityPub Server, for small installs with ... by samwillis on Thursday November 24, 2022 @01:06PM (#33734392)
Your project looks super interesting.

I had the idea of running a single user server on CloudFlare Workers and using D2 (their SQLite based db). A light weight JS/TS implementation would be perfect. Looks like you have Postgres planned, it would probably be possible to expand from that to SQLite.

Re:An efficient ActivityPub Server, for small installs with ... by youngtaff on Thursday November 24, 2022 @02:10PM (#33735125)
Yeh, that’s what I’d like too (or using one of the other edge compute services)
Re:An efficient ActivityPub Server, for small installs with ... by mariusor on Thursday November 24, 2022 @08:12PM (#33738011)
I work on an ActivityPub server in Go that supports an sqlite backend. Check my bio for details.
Re:An efficient ActivityPub Server, for small installs with ... by pickpuck on Thursday November 24, 2022 @08:28PM (#33738123)
Cool idea! I'll start looking into that.
Re:An efficient ActivityPub Server, for small installs with ... by mariusor on Thursday November 24, 2022 @08:14PM (#33738026)
Is the server ActivityPub Client to Server compliant?
Re:An efficient ActivityPub Server, for small installs with ... by pickpuck on Thursday November 24, 2022 @08:27PM (#33738113)
I think this refers to handling JSON ActivityStreams objects at the `/outbox` endpoint for a logged-in user, and then broadcasting those out appropriately. If so, then yes that's the only API that's used. It also handles the uploadMedia endpoint and a few other details that are included in the spec.

I have tried unsuccessfully so far to set up an OAuth provider server along with it, so that you could log in on your phone, etc.

Re:An efficient ActivityPub Server, for small installs with ... by mariusor on Thursday November 24, 2022 @09:13PM (#33738429)
That is great news, one of the few implementations that does it. :D Do you have a demo server set up anywhere? Mine (based on my own activitypub code) is at https://federated.id :D