BroChat is a privacy-respecting, minimalist real-time chat application built from scratch for niche businesses that need simple, secure, and effective communication. Just like Slack, but stripped to the essentials — public chat, DMs, no distractions.
Built with:
- Rust + Axum backend (fast, safe, async-ready)
- Tauri + Vue.js frontend (native desktop feel with web flexibility)
- PostgreSQL database (reliable, relational, robust)
| Layer | Stack |
|---|---|
| Backend | Rust + Axum |
| Frontend | Tauri + Vue.js 3 |
| Database | PostgreSQL |
| Auth | JWT |
| Protocol | WebSockets (for real-time chat) |
Most chat platforms are bloated, full of unnecessary features and data mining. BroChat focuses on core communication:
- Public Chat — where every registered user can participate.
- Direct Messages (DMs) — for one-on-one convos with end-to-end routing.
- Built from scratch, not on any third-party chat API.
- Designed for cross-platform deployment via Tauri.
- Uses JWT-based authentication for secure login and user sessions.
Perfect for:
- Small teams
- Niche internal networks
- Companies wanting chat ownership (no third-party dependencies)
- ✅ Auth system with login & registration
- ✅ Real-time Public Chat
- ✅ Real-time Direct Messaging (DMs)
- ✅ Avatar upload support (optional)
- ✅ Native app for all platforms (Tauri-powered)
- 🔒 Token-based auth (no cookie mess)
- 🔧 Fully customizable & open source
⚠️ Requirements:Rust,Node.js,PostgreSQL,Tauri CLI
export DATABASE_URL=postgres://name:port@localhost/database_namecargo sqlx prepareexport ANDROID_HOME="$HOME/Library/Android/sdk"
export NDK_HOME="$ANDROID_HOME/ndk/$(ls -1 $ANDROID_HOME/ndk)"export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"Open Database
psql -U name -d database_nameCREATE
psql -U name -d postgres -c "CREATE DATABASE database_name;"DELETE
psql -U name -d postgres -c "DROP DATABASE database_name;"Migrate
sqlx migrate runcd brochat/backend
cargo runcd brochat/UI/frontend/
npm run dev
cargo tauri android dev
cargo tauri ios dev
cargo tauri dev