Matt Massicotte on Nostr: I made a thing and it's very weird! A NoSQL-inspired local persistence system. Your ...
I made a thing and it's very weird! A NoSQL-inspired local persistence system.
Your types define the database schema, including type-safe query functions. All generated with macros and built for Swift 6. Very much still a work-in-progress, but I thought it would be fun to share.
https://github.com/mattmassicotte/EmpirePublished at
2024-07-01 15:44:59Event JSON
{
"id": "58fee7ebd799db488eff4340889587755d9bf8c44b78fc497f8efe8df0348238",
"pubkey": "326c9100a3d1f1ecd0d35bf9590b2633e6c22a25debb08aac79d5af903bd8672",
"created_at": 1719848699,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/mattiem/statuses/112712004376698199",
"activitypub"
]
],
"content": "I made a thing and it's very weird! A NoSQL-inspired local persistence system.\n\nYour types define the database schema, including type-safe query functions. All generated with macros and built for Swift 6. Very much still a work-in-progress, but I thought it would be fun to share.\n\nhttps://github.com/mattmassicotte/Empire",
"sig": "16e8cb9b463f71355f4de568f56940fe036cdd04f813d7a4cdcdbbe50fe2742c280201ec4a0e34ae02a1d8d0bd6af1887786e8fa7aedbf1bf9227912959ff853"
}