|
|
|
|
|
by Groxx
1021 days ago
|
|
I'm far from an ActivityPub or Mastodon expert, to be clear - I've just been lurking at the periphery of json-ld and its more-than-a-little-insane spec. It wouldn't surprise me at all if there were literally zero json-ld-compliant systems in the entire ActivityPub universe, even if you ignore stuff like validating remote schemas. As it stands though: pleasantly readable code! I got curious and explored around a bit and it's all remarkably simple. Maybe it needs more error handling or auth or something and it'll grow before it's "ready", but it's nice to see something simple occasionally. You can probably keep a lot of those simple-structure assumptions if you frame your incoming requests to look like the common structure you're using now, if you can find a library that handles that for you: https://www.w3.org/TR/json-ld11-framing/ (which is a lot of text to say "it's a templating system") |
|