Git Product home page Git Product logo

Comments (4)

TheRook avatar TheRook commented on August 11, 2024 1

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.

marcus-pousette avatar marcus-pousette commented on August 11, 2024

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.

TheRook avatar TheRook commented on August 11, 2024

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.

marcus-pousette avatar marcus-pousette commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.