Then I sit down to actually start playing with it I struggle to think of anything to build that would actually take advantage of the tech aside from purely static sites. I would really love to see more complex examples folks have seen in the wild.
Then I sit down to actually start playing with it I struggle to think of anything to build that would actually take advantage of the tech aside from purely static sites. I would really love to see more complex examples folks have seen in the wild.
What I realized is that this technology ticks a lot of the boxes of what we right now think only the big cloud providers can do. By using a more decentralized protocol it is by design
- Actually Serverless
- Offline-first
- Real-time
- Auto-deploying
- Live-updating
- 100% uptime
I really think there is something there from both, a developer and user experience perspective. The problem is that a lot of it is still very experimental and far from the usability and maturity of e.g. a Firebase or Heroku.
Love the design, by the way.
The design is taken from the Chat guide for https://feathersjs.com. Feathers is a JS library that allows to architect APIs in a way that they are protocol independent. Which worked great in this case because I just had to swap out the existing REST/websocket Feathers adapter for a DAT/Beaker API Feathers adapter.
How can someone without the keys add their messages to the feed? Wouldn't only the initial creator have the keys necessary to add to the feed?
Actually as someone that deals heavily with static sites, if dweb was only used for static sites and perhaps pushed us back to a more document-oriented web I and a lot of others would be quite happy with that. I don't think it needs to be capable of feature-complete replacement of Twitter and Facebook to be successful, and requiring it to be that way as a precondition for success is IMHO a losing strategy for dweb. Start with document-oriented and slowly increment.
Also a bunch of zines and music albums are shared over DAT.
There is hypercore (https://github.com/mafintosh/hypercore), a distributed append only log library.
Rotonde, a DAT based social network (https://github.com/Rotonde)
Secure Scuttlebutt now supports dat attachments...
Cabal (https://github.com/cabal-club/cabal-cli), a chat program.
[0] https://wiki.xxiivv.com/#rotonde
Code is here: https://github.com/kickscondor/duxtape.
- dat://connect-four.hashbase.io - https://github.com/rjsteinert/four-in-a-row-game
There is some interesting stuff people are playing with in Dat - e.g. their Twitter clone (1) has the actual posts distributed in what they are calling their WebDB. I.e. you as an individual publish posts at a dat:// address you control, and the central site just references that address when other users load the feed. Your posts are distributed across the other users so there is no SPOF.
There is the kernel of something really interesting there in this GDPR-world where people need to be more aware of who has their data, and what can be done to control that.
Interesting stuff.
1 - https://github.com/beakerbrowser/fritter/blob/master/README....