- Example of Pear desktop app with Javascript + React + Hyperswarm + Corestore + Hyperbee + Hyperdrive
- Multiple app instances can run concurrently (same machine or different machines) to connect and replicate messages
npm i
npm run build
npm start
npm i
npm run dev
- Open two apps, e.g. run
npm run dev
in two terminals - On the first app,
- click Start writer
- wait for core created with a core key
- On the second app
- copy the above core key into the reader input box
- click Start reader
- wait for started
- Go to the parent dir of the current working dir
- create
writer-dir
, add/update/remove files - click Sync on the first app
- create