Comments (4)
Devs who are already writing a pouchdb or rxdb client apps are in a good spot to adopt peerbit. Seeing as you and orbitdb are the only free games in town, it is a no-brainer for a startup with no capital.
from peerbit.
Great idea, I agree with you! Would be a super cool abstraction to unlock more usecases for this project and make it easier to use as well.
from peerbit.
Great idea, I agree with you! Would be a super cool abstraction to unlock more usecases for this project and make it easier to use as well.
Another possible abstraction is forking couchbase-lite-core and using peerbit as the preferred backend.
https://github.com/couchbase/couchbase-lite-core
This is the core, which becomes the IoT, RaspberryPi, iOS, Android and WASM Embedded DB. If the target is in a mobile app it can use the C++ libp2p client to access the network then its game on. If it is in the browser using WASM then it can use a fallback gateway such as cloudflare's IPFS gateway to pull in the files and update the offline database - and still get a fast offline experience that we see in webworkers.
The end result would be a new dapp platform and I wouldn't call it CouchDB or peerbit anymore. It can make an existing app more impressive at a hackathon and works well on a wide range of platforms, so if you are at a solana or ethereum hackathon you can drop in zk memberships and an encrypted filesystem for private searchable data. Any poor college student at any hackathon can pick this up and have a shared database. Ideally it would be a kind of "international space station of web3" that is chain agnostic just as the ISS works with many different counteries that all have their own currency. We still need open standards, and forking couchbase-lite means that not only apps already written for this platform, but developers who have learned how to use technology can now develop apps for a web3 ISS project.
from peerbit.
Interesting. Never played with anything from couchbase before, but I see where you are going with this. Couchbase brings more of the standard interface people are expecting from a database in general which might not be true for Peerbit out of the box. Challenges are however, that some of the features, for example sorting and aggregation (iterating over documents in a particular order) might be quite tricky to achieve in the same way in a distributed setting where people are responsible for storing different parts of the database in comparison to more traditional solutions where there might be a centralized middleware that can dictate who is going to store what, and can coordinate aggregation and sorting queries. (this might also perhaps be an interesting challange if you wanna make this compatible with level).
Though, I am confident though that it is possible to achieve things you have outlined above, or at least bring more value to developers that are today using similar tools.
I am very enthusiastic building the tools that allows anyone no matter the economical and technical background to setup a distributed, discoverable and secure state with minimal amount of dependencies. A goto thing you would use during a hackathon as you said.
But before I digging into this, I would want to stabilize the project a bit more by solving the other issues (that might impose some constraints/compatibility issues that I can not foresee right now)
from peerbit.
Related Issues (20)
- Support for symmetric key within EncryptedThing and DecryptedThing HOT 1
- Build KeychainProgram
- `Documents`: Reconsider default min replicas settings
- `getReady()` should return a list of PublicSignKey's instead of hashcodes HOT 1
- `pubsub`: Add 'seqno' to pubsub data messages
- `shared-log`: Smartly fetch blocks
- IP privacy
- `Shared-log`: add option to automatically set minReplicas based on network dynamics
- `getDefaultMinRoleAge`: Make it adaptive the amount of data that exist HOT 1
- Improved Changelog and release notes
- `documents`: add "NOT" query
- `@peerbit/server`: cli does not show nodes deployed in multi-region with same name
- Saving 170k+ entries crashes process HOT 2
- `documents`: Allow for SQLLite WASM backend HOT 2
- `shared-log`: Efficient sync HOT 2
- Pinning documents and document deletions
- Uncaught exception and crash when peer disconnects
- setMaxListeners error example demo chat room HOT 1
- Add Tor integration
- Verify that Peerbit is working as expected on Windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peerbit.