ap-components

I want to share some information about a repository we just published. ap-components is a set of Web Components for building interfaces for the ActivityPub API. I built it as I was making a sample application for handling the 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. 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 if itโ€™s helpful for your work.

1 points · 5 comments · view on lemmy.world

5 Comments

Pfeffy@lemmy.world · 1 pts · 1y

Lol 17 year old account? I'm just blocking this stupid instance.

mariusor@metalhead.club · 0 pts · 1y (1 reply)

@evanprodromou probably it's not entirely useful, as this is my first attempt at building web components, but I've done similar work for one of my projects: https://git.sr.ht//~mariusor/oni/tree/master/item/src/js

They are not zero dependency however, they are built with the help of lit.js.

evanprodromou@socialwebfoundation.org · 1 pts · 1y

@mariusor @mariusor Wow. Looking this over, your classes are surprising close to the ones in ap-components. Should we try to join forces on this work?

skarnio@social.alquimidia.org · 0 pts · 1y (1 reply)

@evanprodromou Wow!! Great!

evanprodromou@socialwebfoundation.org · 1 pts · 1y

@skarnio @skarnio@alquimidia.org ๐Ÿ‘๐Ÿผ