Welcome to Disco Chat!
A peer-to-peer chat application built using Tauri, JavaScript, and HTML.
Disco Chat is meant to be a fun, easy-to-use chat application, but it's also meant to help show developers how to build applications like it. It's based upon native-ipfs-building-blox, which is a great kit for getting started on building desktop IPFS applications using HTML/Javascript (Rust too if you like!).
A couple code snippets of note:
If you run into any problems please reach out to our community, or open an issue.
Getting the binaries
We don't currently have any binaries, but are working on getting them out. Below are instructions on how to build the application from source.
Requirements
Setup
Download the Source
git clone https://github.com/TheDiscordian/disco-chat.git
cd disco-chat
Install Tauri
cargo install tauri-cli
Install libraries
npm install
npm run build
Fetch Kubo
Linux / Mac
./fetch-kubo.sh
If it doesn't work for you refer to the Windows instructions for how to obtain and rename the kubo binary.
Windows
Warning: There be 🐉. While users have gotten Disco Chat running in WSL, no one has run it natively on Windows yet without WSL. If you get it working, a PR to this README would be hugely appreciated.
Grab the appropriate kubo binary. Ensure you extract the package, pulling the ipfs binary out. Then move it to bin/
naming it according to this guide's parameters (final name will be something like kubo-x86_64-pc-windows-msvc.exe
, probably, check here if you can't figure out your triple).
Run as Dev
cargo tauri dev
Contributing
We ❤️ all our contributors; this project wouldn’t be what it is without you! If you want to help out, please see ipfs/community/CONTRIBUTING.md.
This repository falls under the IPFS Code of Conduct.
Please reach out to us in one of our chat rooms.