cblgh / Hyperdb Examples
a small introduction to getting started with hyperdb
Stars: ✭ 53
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Hyperdb Examples
Dat Keyserver
a distributed PGP keyserver project based on the dat protocol
Stars: ✭ 89 (+67.92%)
Mutual labels: dat, p2p
Hypercloud
A hosting server for Dat. [ARCHIVED - Use Hashbase instead!]
Stars: ✭ 96 (+81.13%)
Mutual labels: dat, p2p
Random Access Http
Continuous reading from a http(s) url using random offsets and lengths for peers in a distributed system
Stars: ✭ 39 (-26.42%)
Mutual labels: dat, p2p
Datr
R package to interface with the decentralized dat network.
Stars: ✭ 56 (+5.66%)
Mutual labels: dat, p2p
paperslip
share hard-to-transmit snippets with easy-to-pronounce names using dht magic
Stars: ✭ 37 (-30.19%)
Mutual labels: dat, p2p
dat-workshop
How to build web apps using Dat. A workshop by GEUT.
Stars: ✭ 50 (-5.66%)
Mutual labels: dat, p2p
Sciencefair
The futuristic, fabulous and free desktop app for working with scientific literature 🔬 📖
Stars: ✭ 561 (+958.49%)
Mutual labels: dat, p2p
Dathttpd
Replaced by Homebase! See https://github.com/beakerbrowser/homebase.
Stars: ✭ 282 (+432.08%)
Mutual labels: dat, p2p
Dat React Native
Browse through the web with the Dat protocol in your device!
Stars: ✭ 25 (-52.83%)
Mutual labels: dat, p2p
Pulsarcast
A pub-sub system for the distributed web - my master thesis @ IST
Stars: ✭ 33 (-37.74%)
Mutual labels: p2p
Tox Node
A server application to run tox node written in pure Rust
Stars: ✭ 47 (-11.32%)
Mutual labels: p2p
Bittorrent Dht
🕸 Simple, robust, BitTorrent DHT implementation
Stars: ✭ 1,004 (+1794.34%)
Mutual labels: p2p
hyperdb-examples
a small example on how to get up and running with hyperdb
npm install && node index.js --db db1
then in another terminal window, using the key that is printed under db key is
, write
node index.js --db db2 --key <key>
where <key>
is the key that was printed above
if you want to disable auto-authorization, add the --noautoauth
flag to the above
Commands
there's a small cli (see input.js) for interacting with the hyperdb. use it as follows
.db
print out the db key
.local
print out the local feed's key
.get <key>
print out the information stored at key
.get hello
.put <key>=<value>
store value
under key
in the database
.put hello=world
.registered <key>
check if key
is authorized to write to the database
.auth <key>
authorize key
to write to the database
References
- mafintosh/hyperdb dat's distributed scalable database, see the full api
- jimpick/dat-shopping-list an interactive web demo using hyperdb by way of hyperdrive#hyperdb-backend
- substack/chatmesh a cli chat client built on hyperdb
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].