Getting Started
Welcome to TAD! This guide will help you get up and running in minutes.
What is TAD?
TAD (Tactical Autonomous Zone Communications) is a peer-to-peer, decentralized chat system designed for offline-first communication. It works on local networks without internet access and provides end-to-end encrypted private channels.
Perfect For
- 🎉 Free Parties - Coordinate without cell service
- 🏕️ TAZ (Temporary Autonomous Zones) - Community self-organization
- 📢 Protests & Demonstrations - Resilient communication
- 🌄 Remote Locations - Chat on local networks
- 🔒 Private Groups - End-to-end encrypted conversations
Quick Install
Automatic Installation (Recommended)
bash
# Clone repository
git clone https://github.com/fabriziosalmi/tad.git
cd tad
# Run installer
./install.sh
# Start TAD
./tadThe installer will:
- ✅ Check Python version (3.8+)
- ✅ Create virtual environment
- ✅ Install dependencies
- ✅ Run test suite
- ✅ Optionally install systemd service
Manual Installation
bash
# Clone repository
git clone https://github.com/fabriziosalmi/tad.git
cd tad
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run TAD
python -m tad.mainFirst Run
When you start TAD for the first time:
- Identity Generation - Cryptographic keys are created automatically
- Database Creation - SQLite database initialized
- Discovery Starts - mDNS service begins broadcasting
- TUI Opens - Terminal interface appears
┌─────────────────────────────────────────────────┐
│ TAD v1.0 │
├──────────┬────────────────────────┬─────────────┤
│ │ │ │
│ Channels │ Message History │ Peers │
│ │ │ │
│ #general │ [System] Welcome! │ 👤 (You) │
│ │ │ │
│ │ │ │
│ │ │ │
├──────────┴────────────────────────┴─────────────┤
│ > Type /help for commands │
└─────────────────────────────────────────────────┘Your First Message
Check peers:
> /peers Connected peers: 2Send a message:
> Hello, world!Create a channel:
> /create #dev [SYSTEM] Created channel #devSwitch channels:
> /switch #dev [SYSTEM] Switched to #dev
Next Steps
- 📖 Read the User Guide for all commands
- 🔒 Learn about Private Channels
- 🚀 See Deployment for production setups
- 🏗️ Explore the Architecture
Requirements
- Python: 3.8 or higher
- OS: Linux, macOS, Windows (WSL recommended)
- Network: Wi-Fi or Ethernet (same local network)
- Dependencies: Listed in
requirements.txt
Troubleshooting
Nodes Not Discovering
Problem: Started TAD but no peers appear.
Solutions:
- Ensure devices on same network
- Check firewall allows UDP 5353 (mDNS)
- Verify Python 3.8+
- Try
./install.shfor automatic setup
Import Errors
Problem: ModuleNotFoundError when running.
Solution:
bash
# Activate virtual environment
source venv/bin/activate
# Reinstall dependencies
pip install -r requirements.txtPermission Denied
Problem: Cannot run ./install.sh or ./tad.
Solution:
bash
chmod +x install.sh
chmod +x tadGetting Help
- 📘 User Guide - Complete command reference
- 🔧 Troubleshooting - Common issues
- 💬 GitHub Issues - Report bugs
- 📖 Architecture - Technical details
Ready to dive deeper? Continue to Installation for detailed setup options.