All existing voice chat solutions are bad. This one is worse.
An experimental peer-to-peer voice chat application with a terminal UI. Written and intended for learning and fun, not recommended for serious use-cases.
Choose an option:
- Binary download: Go to the latest release and download the binary for your system.
insanity run --bridge <BAYBRIDGE_SERVER> --room <ROOM> - Nix
nix run github:nicolaschan/insanity -- run --bridge <BAYBRIDGE_SERVER> --room <ROOM> - Build from source
and keep installing missing system libraries until it works
cargo run --release -- run --bridge <BAYBRIDGE_SERVER> --room <ROOM>
Configuration options can be specified in a toml file passed to insanity with -c. Insanity will default to reading the config file at the location output by insanity print-config-path. An example config file is as follows.
bridge = ["<BAYBRIDGE_SERVER1>", "<BAYBRIDGE_SERVER2>"]
room = "<ROOM>"
With configuration in the default config file, running insanity is as follows:
insanity
If you use the insanity binary, you can update it in place with insanity update.
Install Bay Bridge and run baybridge serve.
The bridge server is used to bootstrap peer-to-peer connections. All audio and chat is peer-to-peer, not through the bridge server.
- NAT holepunch connections for direct P2P audio
- Encrypted with the noise protocol
- Background noise suppression
- Text chat messages
- Terminal UI