Sebastian Lasse<p>Hello <span class="h-card" translate="no"><a href="https://hollo.social/@hongminhee" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>hongminhee</span></a></span> </p><p>since multiple hours I was sleepless cause I wondered about how to store anything ActivityPub in <a href="https://digitalcourage.social/tags/deno" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>deno</span></a> <a href="https://digitalcourage.social/tags/kv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kv</span></a> </p><p>I think, I will finish this crazy code somewhen in the next days :) Would you be interested in such a thing?</p><p>If:<br>Tried to solve the following fully ActivityPub conformant, meaning e.g. <br>- multiple actors can do an action on multiple objects and it needs to be fully versioned cause Undo or Undo/Undo …<br>- so anything is RFC 6902 <-> kv where anything is ulid and the "version" for the object is the ulid of an Update/Undo etc.<br>- JSON Patch acknowledges the limits (e.g. size of kv values), any property is stored versioned<br>- strongly avoiding duplicates;<br>the "text properties" like contentMap are stored as cid and similar beneath each other by a numeric nilsimsa hash (though /me bad at math)<br>- we can query all relationships and<br>- additionally "where", "when", "what" questions are answered by geohash, ulid ranges or a specific hierarchic hash of as:- and our subtypes</p>