Goofed Home

Conversation

$$21399
https://cosocial.ca/users/evan posted on Apr 1, 2026 23:17

I think if there's one thing I'd say to #ActivityPub developers, it's this: it seems like it's going to be easier to just parse Activity Streams 2.0 data as plain JSON, but it's not. You have to keep track of too many variations. Use a JSON-LD library instead. For JavaScript, try activitystrea.ms:

https://github.com/jasnell/activitystrea.ms

https://cosocial.ca/users/evan/statuses/116332001773753660

$$21507
https://cosocial.ca/users/evan posted on Apr 2, 2026 12:51
In reply to: https://mastodon.social/users/trwnh/statuses/116333828835838324

@trwnh "more actively maintained"?

The code is long-term but it was built by one author of AS2 and maintained by the other. It works well, and I use it in production systems all the time.

I'm pretty sure @hongminhee has made a similar package, although I'm not sure it's distributed independently.

https://cosocial.ca/users/evan/statuses/116335199274721737
$$21512
https://hollo.social/@hongminhee posted on Apr 2, 2026 13:01
In reply to: https://cosocial.ca/users/evan/statuses/116335199274721737

@evan@cosocial.ca @trwnh@mastodon.social I’m maintaining the @fedify/vocab package which depends on the jsonld package from Digital Bazaar. It’s written in 100% TypeScript, and has worked well on production services!

https://hollo.social/@hongminhee/019d4e48-b607-7523-a2a0-f1e0cf6b4670

Conversation

$$15610
https://mastodon.social/users/trwnh posted on Mar 21, 2026 16:58
In reply to: https://social.coop/users/smallcircles/statuses/116265901554073332

@smallcircles @hongminhee @evan @steve browser.pub is incorrect here -- having a range of Object or Link doesn't mean that schema PropertyValue is not allowed. it means that the value is inferred to be an Object or a Link *in addition to* a PropertyValue. there is no problem as long as there are no conflicting statements being made.

cc @js

https://mastodon.social/users/trwnh/statuses/116268224078918339

Create New Post