Skip to content

Getting Started ​

This guide will help you set up your own SirrMesh node.

Choose Your Path ​

🚀 I Want to Use the App ​

If you just want to start using Sirr for private messaging:

  1. Download Sirr

  2. Create Your Account

    • Launch the app
    • Create or import a wallet
    • Your wallet address becomes your account
  3. Start Messaging

    • Add contacts by their wallet address
    • Send encrypted messages
    • Transfer crypto directly in chat

Full User Guide →

🖥️ I Want to Run My Own Server ​

If you want to deploy your own SirrMesh server:

  1. Quick Installation

    bash
    curl -sSL https://raw.githubusercontent.com/sirrmesh/SirrMesh/main/start.sh | bash
  2. Configure Your Domain

    • Set up DNS records
    • Choose a DNS provider for automatic TLS
  3. Create User Accounts

    • Add users to your server
    • Configure authentication (password or blockchain)

Full Installation Guide →

👨‍💻 I Want to Develop ​

If you're a developer wanting to extend or integrate:

  1. Build from Source

    bash
    git clone https://github.com/sirrmesh/SirrMesh.git
    cd sirrmeshd
    make build
  2. Explore the Architecture

    • Understand the module system
    • Learn about available interfaces
    • Read the API documentation
  3. Create Custom Modules

    • Write custom authentication modules
    • Extend storage backends
    • Add custom message processing

Architecture Guide →

Quick Start: User Journey ​

Step 1: Download Sirr ​

Choose your platform:

Step 2: Set Up Your Account ​

When you first launch Sirr:

  1. Create a New Wallet

    • The app generates a BNBChain wallet
    • Your wallet address becomes your unique ID
    • Save your recovery phrase - this is crucial!
  2. Or Import Existing Wallet

    • Use your existing BNBChain wallet
    • Import using private key or recovery phrase
  3. Set Up Profile

    • Choose a display name
    • Add a profile picture (optional)
    • Your privacy is protected - no personal info required

Step 3: Add Contacts ​

Add people to chat with:

  1. By Wallet Address

    • Ask for their wallet address
    • Add them as a contact
  2. By Scanning QR Code

    • Scan their Sirr QR code
    • Instant contact addition
  3. From Your Wallet

    • Import contacts from your crypto wallet

Step 4: Start Chatting ​

Send your first message:

  1. Select a Contact

    • Tap on any contact to open chat
  2. Type Your Message

    • Your message is automatically encrypted
    • Only the recipient can decrypt it
  3. Send Crypto (Optional)

    • Tap the wallet icon
    • Send BNB or tokens directly in chat

Quick Start: Server Deployment ​

One-Click Deployment ​

The fastest way to get a SirrMesh server running:

bash
# Download and run installation script
curl -sSL https://raw.githubusercontent.com/sirrmesh/SirrMesh/main/start.sh | bash

This script will:

  • ✅ Detect your system architecture
  • ✅ Download the correct binary
  • ✅ Set up configuration directory
  • ✅ Configure DNS and TLS certificates
  • ✅ Create systemd service
  • ✅ Start the mail server

Manual Deployment ​

For more control over the installation:

bash
# 1. Download binary
wget https://download.sirr.chat/sirrmeshd-linux-amd64-v0.3.1
mv sirrmeshd-linux-amd64-v0.3.1 /usr/local/bin/sirrmeshd
chmod +x /usr/local/bin/sirrmeshd

# 2. Create configuration directory
export SIRRCHAT_HOME=$HOME/.sirrmeshd
mkdir -p $SIRRCHAT_HOME

# 3. Initialize configuration
sirrmeshd config init

# 4. Edit configuration
nano $SIRRCHAT_HOME/sirrmeshd.conf

# 5. Start the server
sirrmeshd run

Detailed Installation Guide →

Common Tasks ​

For Users ​

Sending Encrypted Messages ​

  1. Open a chat with any contact
  2. Type your message
  3. Messages are automatically encrypted with OpenPGP
  4. Only the recipient can read them

Sending Crypto ​

  1. Tap the wallet icon in chat
  2. Enter amount and select token
  3. Confirm transaction
  4. Instant transfer to recipient

Creating Red Envelopes ​

  1. In a group chat, tap the red envelope icon
  2. Choose amount and number of envelopes
  3. Send to the group
  4. Members tap to claim

For Server Administrators ​

Adding Users ​

bash
# Create user with password
sirrmeshd creds create [email protected]

# Create user with blockchain auth
sirrmeshd creds create-blockchain \
  --email [email protected] \
  --address 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb

Managing Mailboxes ​

bash
# List all mailboxes
sirrmeshd imap-mboxes list [email protected]

# Create mailbox
sirrmeshd imap-mboxes create [email protected] "Work"

# Delete mailbox
sirrmeshd imap-mboxes delete [email protected] "Trash"

Checking Server Status ​

bash
# View service status
sudo systemctl status sirrmeshd

# View logs
sudo journalctl -u sirrmeshd -f

# Check open ports
netstat -tlnp | grep sirrmeshd

Next Steps ​

For Users ​

For Administrators ​

For Developers ​

Getting Help ​

If you need assistance:

  • 📖 Documentation: Browse this site
  • 💬 Community: Join our chat
  • 🐛 Issues: GitHub Issues
  • 🐦 Twitter: Follow for updates

Welcome to SirrMesh! We're excited to have you join our community of privacy-conscious users. 🎉

Released under the GPL 3.0 License.