polyphony
polyphony copied to clipboard
A multi-instance, Polyphony/Spacebar API-compatible chat client
Polyphony
A multi-instance, cross-platform Discord/Spacebar API-compatible chat client, written in Rust using leptos and optionally Tauri.
Explore the docs »
Report Bug
·
Request Feature
·
Join Discord
early mockup of the client, not indicative of the current state of the code.
Setting up a dev environment
This repository uses Tauri 2.0.0-alpha for mobile support in the future. Tauri-generated mobile project
files can be found under crates/polyphony-tauri/gen/android and /apple for Android and iOS
respectively.
Add wasm as a compilation target
rustup target add wasm32-unknown-unknown
Install tauri-cli and trunk
cargo install tauri-cli trunk --locked
To start the web-based application, change into the crates/polyphony-wasm directory and run trunk serve.
To start the Tauri powered Desktop-App instead, change into the crates/polyphony-tauri directory and run cargo tauri dev.
Note that the Tauri Dev Server will try to run and listen for the
trunk serveDev server. If it fails to do so (perhaps because Port8080is already occupied), it will not be able to start the Tauri App.