Giter Site home page Giter Site logo

datter's Introduction

datter

twitter on dat proof of concept for use in browser - does not work unfortunately, but making it public anyway because the concepts could be useful.

the main issue is finding peers with webrtc - it sometimes just doesn't work, and is really hard to debug. webrtc-swarm also relies on a signalhub, which means that you can't find peers on the local network without an internet connection :( using beaker browser would solve that, but unfortunately beaker only exposes the dat apis. it would be amazing if beaker exposed a discovery-swarm api - the only thing that stops dat/hypercore from working in the browser is peer discovery, and this would open up the possibilities for a lot of non-dat (ie. hyperdrive/file-based) apps.

every user is modelled as a hypercore, which contains:

  • the user's messages
  • 'follow' messages

this hypercore could also contain further user-specific stuff, like profile information, private encrypted messages, or any other message type that could be useful.

to follow someone, you have to paste the user hypercore's public key in the textbox at the top of the screen. the app will start replicating that user's hypercore feed. keys are color coded to make typos obvious.

the app will also start replicating any feeds mentioned in 'follow' messages in feeds you follow, similar to scuttlebutt. this lets you see messages from friends of friends, which you can then follow without having to type in their key.

datter's People

Contributors

lachenmayer avatar

Watchers

 avatar  avatar  avatar

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.