ActivityPub

758 readers
1 users here now

This is a community dedicated to discussing technical details related to ActivityPub.
We welcome developers familiar with the protocol!

https://activitypub.rocks/
https://www.w3.org/TR/activitypub/

Other ActivityPub communities on Lemmy

founded 5 years ago
MODERATORS
1
2
3
 
 

I'm trying to find out where the development is at right now for ActivityPub, specifically about data (posts) portability, and persistent IDs.

For the former I think that's fairly self-explanatory, I'm just trying to get a flavour of if it's a priority, who's working on it, what the anticipated timeline is etc. It's a clear advantage that ATproto has, so are we trying to close the gap?

By the latter I mean is there work happening to work towards us being able to have one ID that can be used to log in to any fediverse network (as per nostr)? This approach makes so much sense to me - is it even possible?

The link here to W3.org doesn't seem that up to date - but I'm not that knowledgable so may have misinterpreted that site. So I'm looking for education on this subject 😊

4
5
6
 
 

My #LocalHistory website, @hoxsie.org, is now federating freely!

Happy to say that @activitypub solved a problem for me.

So if you're into random snippets of history about #Albany, #Schenectady, and #TroyNY, go ahead and give it a follow – it works!

#history #histodons #UpstateNewYork #UpstateNY

7
 
 

Hey everyone! I'm excited to introduce BotKit, a new framework specifically designed for creating standalone ActivityPub bots.

What makes BotKit different from typical Mastodon bot approaches is that it creates fully independent ActivityPub servers. This means your bots aren't constrained by platform-specific limitations like character limits or attachment restrictions. Each bot is a complete ActivityPub server in itself.

The API is designed to be extremely straightforward. You can create a complete bot in a single TypeScript file, with intuitive event handlers for follows, mentions, replies, and more. Here's a quick example:

const bot = createBot<void>({
  username: "mybot",
  name: "My Bot",
  summary: text`A bot powered by BotKit.`,
  kv: new MemoryKvStore(),
  queue: new InProcessMessageQueue(),
});

bot.onMention = async (session, message) => {
  await message.reply(text`Hi, ${message.actor}!`);
};

BotKit currently supports Deno, with plans to add Node.js and Bun support in future releases. It leverages all the federation capabilities of Fedify but abstracts away the complexity, letting you focus purely on your bot's behavior.

The framework is still in early development, but we'd love to hear your thoughts and feedback. Feel free to try it out and let us know what kind of bots you build with it!

8
 
 

Reading the spec, I can't see why not, wondering if anyone knew.

9
 
 

The version 1.3.0 of Fedify, an ActivityPub server framework, released! The key changes include:

For details, see the full changelog as well!

Fedify 1.3.0 is available at JSR and npm.

10
 
 

cross-posted from: https://lemmy.ml/post/21657544

Finally, Hollo 0.1.0 released! Hollo is a single-user federated microblogging software which is ActivityPub-enabled and powered by Fedify.

Hollo has the most of features that Mastodon has except for moderation tools, and also include:

  • CommonMark (a.k.a. Markdown) and up to 4,096 characters per post
  • Misskey-style quotes (compatible with Misskey, Akkoma, Fedibird, etc)
  • Misskey-style emoji reactions (both Unicode emojis and custom emojis are supported; compatible with Misskey, Akkoma, kmyblue, etc)
  • Generally much relaxed limitations (more poll options, more attachments, and so on)
  • … and many more!

If you're interested in Hollo, please give it a try! There are several ways to install it: using Railway, using Docker (and Docker Compose), or manually.

If you're already using Hollo, please upgrade it to v0.1.0:

11
 
 

On est en train de finir notre #contribatelier : plusieurs dizaines de contributions à Common Voice et des discussions très sympathiques.

Rendez-vous au prochain le mercredi 13 novembre, on y explorera la fédération, @activitypub @mobilizon, @Mastodon, @peertube pour comprendre tout ça !

12
13
14
15
 
 

My #activitypub server is mostly coming along nicely but I'm having one problem with which I'd appreciate a little insight and help.

Right now I have this server (from which I'm writing now) operating in production, and I have a development version sitting behind a SSH tunnel from my public webhost. That version, like the production version, is proxied via nginx.

The problem is that for the development server only, much of the time servers from which I request public information complain that the server key I use to request most public data is "not found." This doesn't happen in production, and the code for this is identical to production, with the only system differences being that one is behind a tunnel and operating via a different domain name and server key.

Some relevant URLS, to make things concrete:

If anyone can look at the server's responses for those and let me know if they see anything fishy, I'd very much appreciate hearing about it!

activitypub

16
 
 

I know it's not a new thing to write guides on ActivityPub, but I wanted to throw my own into the ring. Lists information, common questions, links to many different variations of software, the varying stances on Threads, and also apps available to those who like to be on they phones.

17
 
 

I'm an old redditor that left the platform for Lemmy.

I have been using Sync and using lemm.ee.

I have heard so much about activity pub and simply don't understand how to use it. Do you use a browser to visit another website that is like a Lemmy instance? Is there an Android app that connects a bunch of instances like pixelated and Lemmy instances together? Or is Sync able to do all this but there is a setting I need to do.

Can someone please help shed some light to this? Thank you.

18
2
Building ActivityPub (activitypub.ghost.org)
submitted 1 year ago by [email protected] to c/[email protected]
 
 

publicado de forma cruzada desde: https://lazysoci.al/post/12745625

Looks like it's really happening!

19
20
 
 

Is it possible to get a list of all the users/accounts that liked(or disliked) a particular post or comment?

21
 
 

Hello everyone! Recently I have removed a couple of bot users from my Lemmy instance via DB query (I removed them from person table). Those bots were subscribing to hundreds of communities on other instances which I don't really want to spend resources on fetching new posts and updates.

I have purged those communities from my instance but they keep reappearing. As far as I can tell, this happens because other instances still "think" that users from my instance (bots, which don't exist already) are still subscribed, and therefore send updates to my instance.

How can I completely get rid of those communities?

22
23
2
Introduction to ActivityPub (socialhub.activitypub.rocks)
submitted 2 years ago by [email protected] to c/[email protected]
24
2
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 
 

Hello.

Is it planned to make up and downvotes of posts non public by default? Right now everyone can see which posts a certain user up- or downvoted. Which can be problematic.

Regards

25
 
 

The new standalone app will be based on Instagram and integrate with ActivityPub

view more: next ›