Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kristoferlund/holotxt
Proof of concept Holochain app showcasing simple collaborative notes editing.
https://github.com/kristoferlund/holotxt
Last synced: about 1 month ago
JSON representation
Proof of concept Holochain app showcasing simple collaborative notes editing.
- Host: GitHub
- URL: https://github.com/kristoferlund/holotxt
- Owner: kristoferlund
- License: mit
- Created: 2019-12-21T22:39:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T03:28:53.000Z (over 1 year ago)
- Last Synced: 2024-06-26T14:42:11.991Z (3 months ago)
- Language: JavaScript
- Size: 1.76 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# __holo.txt
♓️ **UPDATE 2020-04-15:** Recompiled for Holochain `v0.0.47-alpha`
Proof of concept [Holochain](https://holochain.org) 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](https://user-images.githubusercontent.com/9698363/72671726-c7131c80-3a4e-11ea-8c8d-46902d4661cb.gif)
## Installation for trying out
Easiest way to try holo.txt is by downloading and installing [Holoscape](https://github.com/holochain/holoscape). Holo.txt is available for one click install in the integrated app store.
## Installation for development
### Prerequisites
Holochain and nix-shell ([Installation guide](https://developer.holochain.org/docs/install/)).
### 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