Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ arc-chat Public

Anonymous Relay Chat. Progressive Chat App. Uncensored. Sovereign.

x-ira/arc-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Arc - Anonymous Relay Chat

Arc (Anonymous Relay Chat) is a next-generation, zero-trust, progressive chat application that puts your privacy, security, and performance first. Built with Rust's memory-safe architecture and powered by decentralized relay networks, Arc delivers military-grade anonymity through intelligent message routing.

Mission: Anonymous communication through secure relay networks - no servers, no logs, no compromise.

Core Features

  • Anonymous:

    • NO user registration or personal info required, No email or phone number is required.
    • We use a key pair based ID, which called KID, a 32-byte public key. saved locally.
    • NO persistant messages on server except a few cached encrypted meida messages for speed up.
  • Progressive:

    • There are 3 types of chat (see below), you can choose different security level of chat as you wish.
Open Group Secured Group Private Chat
E2EE โœ“* โœ“
Join Approach Free Pass Code Invitation
Participant Limit No No 2
Persistent Messages No No Local
Encrypted Messages โœ“ โœ“ โœ“
Command โœ“ โœ“ โœ“
  • Each member of Secured Group share a same private key that server DOESN'T know it.
  • Security
    • Using ECDSA (Elliptic Curve Digital Signature Algorithm) to ensures key messages(eg, KID) integrity and authenticity.
    • Using ECDH (Elliptic-curve Diffieโ€“Hellman) to generate a shared AEAD key for private chat.
    • Using XChacha20Poly1305 to encrypt all messages of all chat types.
    • Using pure-rust cryptography implementation to provide fast & safe E2EE feature.
    • Memory Safety: Rust prevents buffer overflows and memory vulnerabilities
    • Anti-Replay: HMAC timestamps prevent message replay attacks

ECDSA & ECDH implementation: Curve25519 (from dalek-cryptography) XChacha20Poly1305 implementaion: RustCrypto

  • Decentralized

    • Each node acting as a peer, and you can roaming to other discovered peer by DHT.
    • Users can only chat in the same relay peer, cross-relay chat is not supported.
    • Optimized DHT routing for fast peer discovery based on Mainline DHT.
    • Global Relay Mesh: Worldwide network of relay nodes ensures connectivity anywhere
    • Censorship Resistance: Relay network adapts around blocked or compromised nodes
  • Simple but elegant

    • Create end-to-end encrypted private chat with one click
    • Multiple Modes: Run as relay node or a indepedent chat server
    • No client installation, No login.
    • Minimize core functions, no unnecessary distractions.
    • Lightweight: Minimal resource usage, runs smoothly on any device
    • Mobile ready.

Technical Stack

  • Rust: Tokio ecosystem, WebSocket, Cryptography, Mainline DHT
  • Javascript: SolidJS, WebAssembly, MessagePack, IndexedDB

๐ŸŽฏ Effortless User Experience

  • One-Click Start: Single command deployment with zero configuration
  • Modern Web UI: Responsive SolidJS interface works on any device
  • No Setup Required: Works out-of-the-box with sensible defaults
  • Drag & Drop: Seamless file sharing up to 20MB per file
  • Intuitive Design: Clean, distraction-free interface focused on conversation

Other Features

๐Ÿ’ฌ Anonymous Communication Modes

  • ๐Ÿ›๏ธ Public Relay Rooms: Join community discussions through encrypted relay networks
  • ๐Ÿ’ฌ Private Relay Chat: Anonymous 1-on-1 conversations routed through multiple relays
  • ๐Ÿคซ Whisper Relay: Send private messages within rooms via secure relay routing
  • ๐Ÿ“Ž Anonymous Media Relay: Share files through encrypted relay chains (up to 20MB)
  • ๐Ÿ”‡ Ghost Mode: Ultra-anonymous ephemeral sessions with maximum relay hops

๐ŸŒ Intelligent Relay Network

๐Ÿ› ๏ธ Developer & User Friendly

  • โšก Zero Configuration: Works perfectly with default settings
  • ๐ŸŒ Universal Access: Web-based interface - no app installation needed
  • ๐Ÿ“ฑ Cross-Platform: Windows, macOS, Linux, and mobile-ready
  • ๐Ÿ”„ Real-Time Sync: Instant message delivery via optimized WebSocket
  • ๐ŸŽ›๏ธ Customizable: Extensive configuration options for advanced users

โšก Lightning-Fast Setup

Get started in under 2 minutes! Arc is designed for instant deployment with zero hassle.

System Requirements

  • Rust: 1.70+ (for building from source)
  • OS: Windows, macOS, Linux, or any modern operating system
  • RAM: 10MB minimum (incredibly lightweight!)

Quick Installation

Option 1: One-Command Deploy (Recommended)

# Clone and run in one go
git clone https://github.com/x-ira/arc-chat.git && cd arc
cargo run --release

๐ŸŽ‰ Open http://localhost:1930 and start chatting!

Option 2: Build for Production

# 1. Clone the repository
git clone https://github.com/x-ira/arc-chat.git
cd arc

# 2. Build optimized release
cargo build --release

# 3. Launch Arc
./target/release/arc

๐ŸŒ Access your secure chat at http://localhost:1930

Option 3: Docker (Isolation)

# Pull and run (when available)
docker run -p 1930:1930 arc-chat

# Or build yourself
docker build -t arc-chat .
docker run -p 1930:1930 arc-chat

๐ŸŒ First-Time Usage

  1. ๐Ÿš€ Launch: Run the command above to start your relay node
  2. ๐ŸŒ Connect: Open http://localhost:1930 in your browser
  3. ๐Ÿ“ง Create Identity: Your anonymous cryptographic identity is generated automatically
  4. ๐Ÿ”„ Join Network: Your node automatically joins the global relay network
  5. ๐Ÿ’ฌ Start Chatting: Send messages through encrypted relay chains immediately

โšก Pro Tip: Arc works immediately with default settings. You're simultaneously a user and a relay node, strengthening the network for everyone!

โš™๏ธ Configuration

Configure the application through conf/default.toml:

# peer_mode = false # default true, uncomment this if you want start independent chat server

[app]
name = "Arc"
lan_port = 1930
wan_port = 2010

# when other node find this node, the below meta info is offered
[meta]
name = "Mitrรก - เคฎเคฟเคคเฅเคฐ" # node name for display
desc = "Welcome to Mitrรก - เคฎเคฟเคคเฅเคฐ"   # description about this node
# domain_url = "http://127.0.0.1:1930"   # Optional, if you have a domain for this site. format: "http(s)://<YOUR-DOMAIN-NAME-OR-IP>: <PORT>/"

[room]
max_cached_msgs = 100 # cached room messages limit, if reach limit 'oldest' one will be dropped.
...

๐Ÿง High-Performance Architecture

๐Ÿš€ Built for Speed: Arc leverages cutting-edge technology for maximum performance and security

  • ๐Ÿ”„ Perfect Forward Secrecy: Each session uses unique ephemeral keys

๐Ÿ›ก๏ธ Bulletproof Security Model

โœ… Threats We Neutralize

  • ๐Ÿšซ Network Surveillance: End-to-end encryption makes eavesdropping impossible
  • ๐Ÿšซ Server Raids: No servers = no data to seize or compromise
  • ๐Ÿšซ Identity Tracking: Cryptographic anonymity protects your real identity
  • ๐Ÿšซ Message Replay: Timestamp-based HMAC prevents old message attacks
  • ๐Ÿšซ Impersonation: Digital signatures guarantee sender authenticity
  • ๐Ÿšซ Metadata Mining: Minimal metadata exposure, even connection patterns hidden
  • ๐Ÿšซ Backdoors: Open source code = full transparency and community auditing

๐ŸŽฏ Privacy by Design

  • ๐Ÿ”’ Zero-Knowledge: Even Arc developers cannot decrypt your messages
  • ๐Ÿ“Š Minimal Data: Only essential P2P routing info collected (no personal data)
  • ๐Ÿ”‘ Local Keys: Your private keys never leave your device
  • ๐Ÿ”ฅ Ephemeral Mode: Optional incognito sessions with automatic cleanup
  • ๐Ÿšซ No Logs: Network nodes don't store conversation history
  • ๐Ÿ”„ Forward Secrecy: Past messages stay secure even if keys are compromised

๐Ÿ“š Getting Started Guide

๐Ÿ  Creating Your First Room

  1. ๐Ÿš€ Launch Arc and open the web interface
  2. โœจ Click "Create Room" - no registration needed!
  3. ๐ŸŽฒ Set room name and optional access rules
  4. ๐Ÿ”— Share the room link with friends (safely encrypted)
  5. ๐ŸŽ‰ Start chatting immediately with end-to-end encryption

๐Ÿ” Anonymous Private Conversations

  1. ๐Ÿ”‘ Exchange KIDs (cryptographic identifiers) with your contact
  2. ๐Ÿ“จ Send invitation routed through multiple anonymous relays
  3. โœ… Accept connection to establish multi-hop encrypted relay channel
  4. ๐Ÿ’ฌ Chat anonymously with messages bouncing through random relay paths
  5. ๐Ÿ”ฅ Ghost Mode for maximum anonymity with extended relay chains

๐Ÿ“ Anonymous File Relay

  • ๐Ÿ–ผ๏ธ Images: PNG, JPG, GIF, WebP - relayed through encrypted chains
  • ๐ŸŽค Audio: Voice messages compressed and routed through anonymous relays
  • ๐Ÿ“„ Documents: Any file type up to 20MB relayed through multiple hops
  • ๐Ÿ›ก๏ธ Security: Files encrypted and split across multiple relay nodes
  • ๐Ÿš€ Speed: Intelligent relay selection for optimal transfer performance

๐Ÿค Join the Revolution

๐ŸŽ† Help us build the future of private communication! Every contribution matters.

๐Ÿš€ Contributing

# Development setup
rustup component add clippy rustfmt
cargo test && cargo clippy && cargo fmt

๐Ÿ› Found a Bug?

Report it on GitHub Issues - we fix critical security issues within 24 hours!

๐Ÿ’ฌ Need Help?

  • ๐Ÿ“š Documentation: Comprehensive guides in /docs
  • ๐Ÿ‘ฅ Community: Join our secure Arc rooms for support
  • ๐Ÿ“ง Contact: Reach out via encrypted channels only

Legal & Licensing

License: Apache License v2.0 - Use freely, modify, distribute!

โš ๏ธ Responsible Use

  • โœ… Use Arc for legal communications only, Not intended for illegal activities.
  • โœ… Respect local laws and regulations
  • โœ… Consider security auditing for critical use cases
  • ๐Ÿšซ This is free software with no warranties

Security Reporting

Private Issues: Email security issues privately Responsible Disclosure: Allow time for fixes before public disclosure Anonymity: Use anonymous communication channels when possible


Arc - Privacy Revolution

"In a world of surveillance, anonymity is not a luxury - it's a necessity."

๐Ÿ”— Links


๐ŸŽ† Built with ๐Ÿฆ€ Rust & โค๏ธ by Privacy Advocates

Arc - Anonymous Relay Chat - Reclaiming digital privacy through intelligent relay networks

๐Ÿ›ก๏ธ Anonymous โ€ข ๐Ÿ”„ Relay โ€ข ๐Ÿ’ฌ Chat โ€ข ๐ŸŽ† Free

About

Anonymous Relay Chat. Progressive Chat App. Uncensored. Sovereign.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages