Skip to content

TheDiscordian/disco-chat

Repository files navigation

Welcome to Disco Chat!

A peer-to-peer chat application built using IPFS, Tauri, JavaScript, and HTML.

Screenshot

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

Check out our Releases page for pre-built binaries for Linux, Windows, and MacOS.

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

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.