Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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