Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perguth/blob-stream
:cyclone: A choo, hyperlog, webtorrent experiment.
https://github.com/perguth/blob-stream
choo experiment hyperlog p2p webrtc webtorrent
Last synced: 11 days ago
JSON representation
:cyclone: A choo, hyperlog, webtorrent experiment.
- Host: GitHub
- URL: https://github.com/perguth/blob-stream
- Owner: perguth
- License: mit
- Created: 2016-05-25T15:16:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T22:31:38.000Z (about 7 years ago)
- Last Synced: 2025-01-09T18:23:50.004Z (15 days ago)
- Topics: choo, experiment, hyperlog, p2p, webrtc, webtorrent
- Language: JavaScript
- Homepage: https://perguth.github.io/blob-stream
- Size: 1.74 MB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blob-stream
> A [choo](https://github.com/yoshuawuyts/choo), [hyperlog](https://github.com/mafintosh/hyperlog), [webtorrent](https://github.com/feross/webtorrent) experiment written in [modular](https://github.com/substack/node-browserify) [standard JS](https://github.com/feross/standard) that syncs images peer-to-peer between web browsers and even MacOS/Linux.
Simply open [https://pguth.github.io/blob-stream](https://pguth.github.io/blob-stream) in two web browser windows and select an image in one of them to see it work (use Chrome/Firefox).
![infrastructure drawing](assets/infrastructure-drawing.png)
## Web mode
```sh
npm install
npm start
```Then go to [localhost:9966](http://localhost:9966). Open two instances of the page. In one of them use the file picker to add an image. Wait a few seconds for both instances to synchronize.
## Native mode ("legacy mode")
```sh
npm install
cd legacy
npm install
cd ..
npm run legacy
```The script will then create a `./blob-stream` folder. Images added to that folder will be synced with other instances of blob-stream. Browser mode can be run simultaneously. Images that are added via browser instances will be synced into this folder and a system notification will be displayed (MacOS recent).
Local state can be reset via: `rm -rf legacy/ephemeral/known_files.db legacy/ephemeral/hyperlog_state/`
## Various
- [My presentation slides](https://slides.com/pguth/blob-stream/)