Skip to content

Files

Latest commit

 

History

History
29 lines (26 loc) · 663 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 663 Bytes

Overview

  • Example of Pear desktop app with Javascript + React + Hyperswarm + Corestore + Hyperbee
  • Multiple app instances can run concurrently (same machine or different machines) to connect and replicate messages

Getting started

Prod mode

npm i
npm run build
npm start

Dev mode

npm i
npm run dev

Run

  • 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
    • query a message: triple (found), foo (not found)