%AQNGc9G+6mWgilOxQFQJXcRdougXYLmqcHExBPFXXmk=.sha256
This is the first post in my #dev-diary for #NGIPointerPeach #NGIPointer
We (as in Andre and I) have been working quite intensely on getting jitdb and ssb-db2 into a state where we can start using it in manyverse and #ssb-browser. The reasoning for doing a ssb-db2 can be summed up as:
- Performance, the database stores data in bipf
- Replace flume with jitdb and specialized indexes
- Run in the browser
- Work well with partial replication
Jitdb is getting into a pretty good shape, the api is stable and we recently added live support so you can do:
db.query(
and(votesFor(postMsg.key)),
live(),
toPullStream(),
pull.drain((result) => {
console.log("got a new vote on", postMsg.key)
})
)
As Andre has also discovered, atomic-file is not as atomic as one would like, so I made a small wrapper module around atomically to enable it to work in the browser, called atomically-universal that should work better on node.
Private messages are coming along nicely and should be done soon. From there we have about, friends and private groups missing as bigger tasks before you can run a "normal" ssb social app on top of this.
If you are interested in following along or even better helping π our work lives here.