[Work in progress/pre-alpha/dragons, etc.] Just got transparent persistence working on WhatDB? – the tiny, in-memory, write-on-update database I’m building for simple server-side data in Site.js.

If you want to poke around, here it is:

github.com/small-tech/whatdb

Next: get full test coverage before implementing the querying mechanism :) Quite enjoying this. (But have to keep reminding myself to do the minimum I need for Small Web as there are other things to build too.)

#SmallWeb #WhatDB #SiteJS

@aral I added your lib in my repo: github.com/croqaz/Stones

BTW you can see other alternatives, I think neDB is very similar.

@croqaz Neat, thanks. Looked at quite a number, including NeDB before starting on this. If anything, WhatDB is going to most likely end up being the most lightweight. It’s a server-side database for a system (Small Web) that doesn’t want servers to be privileged nodes (or, more accurately, to be unprivileged nodes) and encourages data to be kept on the client or e2e-encrypted whenever possible so it is only for small things / org sites.

Follow

@aral Sounds great, thanks! I'll keep an eye, it sounds super useful.

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!