rups

Relational Universal Peer-to-peer Storage

Usage no npm install needed!

<script type="module">
  import rups from 'https://cdn.skypack.dev/rups';
</script>

README

rups v0.0.1

Relational Universal Peer-to-peer Storage

npm license travis mind BLOWN

.

Status: pipe dream

rups is a relational database storing versioned data transparently on a network of peer-to-peer nodes, mostly running in the browser or on Node JS.

rups doesn't actually exist. I once started on this pipe dream before and the result was webdb, but that never went far beyond experimental. Rups isn't even beyond the 'that would be a cool name' phase, but my vision of what it would look like if it was ready, and how awesome it would be, only got clearer in recent times.

Imagine that every user that connects to your website becomes a server themselves. Imagine that the data that user needed would come mostly from other users. Other users in the same area for example, of that are friends or contacts or that work for the same company etc. Imagine a highly available, highly redundant and uber fast database that spans the globe, but only costs 5 dollars per month to host, because the users of the data are the hosts for the database. Imagine every twitter user hosting the tweets of themselves and the people they are following. Every Facebook user hosting their own timeline and that of their friends. Every Youtube user hosting their own channel and that of some other Youtubers they have some relation with. Imagine everyone not having to download everything again and again from a bunch of huge central servers, but instead downloading only from close peers or even localhost. What a world it would be!

Imagine rups. :)

Some ideas/packages related to rups:

  • webdb: Imagine a database that runs in your browser
  • uexpress: Imagine an express-like server, running in your browser

Copyright

Copyright 2021 by Stijn de Witt.

License

Licensed under the MIT Open Source license.