Join Nostr
2025-05-28 21:48:58 UTC

Evan Prodromou on Nostr: I want to share some information about a repository we just published. ...

I want to share some information about a repository we just published. [ap-components](https://github.com/social-web-foundation/ap-components ) is a set of [Web Components](https://webcomponents.org/ ) for building interfaces for the [ActivityPub API](https://www.w3.org/TR/activitypub/#specification-profiles ). I built it as I was making a [sample application](https://github.com/social-web-foundation/acct-handler ) for handling the [acct: URI scheme](https://en.wikipedia.org/wiki/Acct_URI_scheme ). I found myself making more and more components for the UI, and realised that they would probably be useful for other applications, too.

The library is available on npm at [@socialwebfoundation/ap-components](https://www.npmjs.com/package/@socialwebfoundation/ap-components ). It currently covers some of the simplest ActivityPub data, but I hope to expand it to give visibility to other types of objects and activities. Please feel free to try it out and [let us know](https://github.com/social-web-foundation/ap-components/issues ) if it’s helpful for your work.