/holotxt

Proof of concept Holochain app showcasing simple collaborative notes editing.

Primary LanguageJavaScriptMIT LicenseMIT

__holo.txt

♓️ UPDATE 2020-04-15: Recompiled for Holochain v0.0.47-alpha

Proof of concept Holochain app showcasing simple collaborative notes editing. Makes use of the useHolochain React hook to simplify UI communication with Holochain, Quill for editing and Yjs for realtime sync between clients.

ezgif-5-4fe180a74f39

Installation for trying out

Easiest way to try holo.txt is by downloading and installing Holoscape. Holo.txt is available for one click install in the integrated app store.

Installation for development

Prerequisites

Holochain and nix-shell (Installation guide).

Two agent setup

Install dependecies:

cd holotxt_ui
yarn

Terminal 1, start networking server:

cd holotxt_dna
nix-shell https://holochain.love
sim2h_server -p 9000

Terminal 2, first conductor (Alice):

cd holotxt_dna
nix-shell https://holochain.love
holochain -c conductor-config-alice.toml

Terminal 3, second conductor (Bob):

cd holotxt_dna
nix-shell https://holochain.love
holochain -c conductor-config-bob.toml

Terminal 4, first client (Alice)

cd holotxt_ui
npm run start:alice

Terminal 5, second client (Bob)

cd holotxt_ui
npm run start:bob

Contributing

Yes, please! Raise an issue or post a pull request.

TODO

✅ Test hApp bundle with Holoscape

✅ Add to Holochain temp hApp store

License

MIT