Alex Gleason on Nostr: Sweet. It's very similar to what I'm doing. I have in-memory and SQLite implemented ...
Published at
2024-01-09 19:01:06Event JSON
{
"id": "53207109fe2825547b949fe689389c114bef2402bff22c54dca71d583a93d351",
"pubkey": "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6",
"created_at": 1704826866,
"kind": 1,
"tags": [
[
"p",
"d77637850017cffa7a61c7032db0f28be947d5487f9d504aabe4449a91b53cff",
"wss://relay.mostr.pub"
],
[
"e",
"8cb84f6e53990748ac6ab81c0afedde6fff8b8fa60fbe99f2450453f3bacafb9",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://gleasonator.com/objects/42f5b5a0-6d87-4fb1-8683-d3a72cf9b289",
"activitypub"
]
],
"content": "Sweet. It's very similar to what I'm doing. I have in-memory and SQLite implemented here: https://gitlab.com/soapbox-pub/ditto/-/tree/main/src/storages?ref_type=heads\n\nWe should try to nail down a common storage interface we can use between projects. I believe it's a good idea to base it off the ES6 Set interface: https://gitlab.com/soapbox-pub/nset just with async types.",
"sig": "b2a99c5a86be43c768c0d61ec528ccd8c48b30b5c2fbfabbe095c7c5562624e32776dede74d2d779e136938dbda1064d3b5a9b272957c72e6b8d1dac44402b25"
}