Repository navigation
5 Developer and Contribution Guide
Your Name edited this page Aug 26, 2026
·
1 revision
This guide covers building, testing, debugging, and contributing to Tincan CLI.
- Rust: Version 1.91+ (edition 2024).
-
Opus: C Opus codec library & headers (
libopus-devon Ubuntu/Debian,opusvia Homebrew on macOS). -
Audio Host Libraries:
libasound2-devon Linux (ALSA), CoreAudio framework on macOS.
# macOS
brew install opus pkg-config autoconf automake libtool
# Debian / Ubuntu
sudo apt install libopus-dev pkg-config libasound2-dev autoconf automake libtool# Clone the repository
git clone https://github.com/bilalyazicioglu/tincan-cli.git
cd tincan-cli
# Build debug binary
cargo build
# Run room host
cargo run -- host --name alice --room lobby
# Run room join
cargo run -- join <code-string> --name bobTincan includes a 94-test suite validating room state, password auth, jitter buffer, and audio mesh without touching external internet connections.
# Run unit & integration tests
cargo test
# Run linter checks
cargo clippy --all-targetsTincan logs to stderr so debug messages never scramble the Ratatui terminal interface.
RUST_LOG=tincan=debug cargo run -- host 2>tincan.log