Deprecated: This repo is deprecated in favor of holochain-basic-chat
*Multi-room P2P chat on Holochain
-
Install the Holochain command line dev tool by following the instructions here: https://developer.holochain.org/start.html
-
Clone this repo:
git clone https://github.com/holochain/holochat-rust
- Make sure things are working by running the tests:
cd holochat-rust
cd test && npm install && cd ..
hc test | test/node_modules/faucet/bin/cmd.js
Note that by using the " | test/node_modules/faucet/bin/cmd.js" you lose the console.log
output of your tests, but gain nice color coding.
If you want to see the logs, just use hc test
.
- Compile the DNA and run it using
hc
with:
hc run --port 3400 --package
Finally to run the holochat UI, simply open the ui/index.html
file in a browser, and it should start communicating with the hc
via websockets.
Holochain is an open source project. We welcome all sorts of participation and are actively working on increasing surface area to accept it. Please see our contributing guidelines for our general practices and protocols on participating in the community.
Copyright (C) 2018, Holochain Trust
This program is free software: you can redistribute it and/or modify it under the terms of the license p rovided in the LICENSE file (GPLv3). This program is distributed in the hope that it will be useful, bu t WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note: We are considering other 'looser' licensing options (like MIT license) but at this stage are using GPL while we're getting the matter sorted out. See this article for some of our thinking on licensing for distributed application frameworks.