Skip to content

acterglobal/zoe-relay

Repository files navigation

Zoe - Secure Messaging Relay System

CI codecov

A secure, modular messaging relay system built with QUIC transport, tarpc RPC services, and encryption.

🚀 Quick Start

Prerequisites

  • Rust 1.75+ with Cargo
  • Redis (or Docker compose for Redis a local redis)
  • Linux/macOS (Windows via WSL)

1. Start Redis (Development)

docker-compose -f docker-compose.dev.yml up -d

# Or use the existing development setup
docker-compose up -d redis

2. Run the Examples

# Start the relay server
cargo run --example relay_server

# In another terminal, send a message (replace <SERVER_PUBLIC_KEY> with key from server output)
cargo run --example relay_send_client -- \
  --server-public-key <SERVE-relayPUBLIC_KEY> \
  --message "Hello, Zoeyr!"

# In a third terminal, listen for messages
cargo run --example relay_listen_client -- \
  --authors <SERVER_PUBLIC_KEY> \
  --follow

🚀 Deployment

Production Deployment with Docker Compose

See the Deployment Guide for detailed instructions and configuration options.

🛠️ Development

Build & Test

# Build all components
cargo build --workspace

# Run tests
cargo test --workspace

## 🤝 Contributing

1. **Setup Development Environment**
   ```bash
   git clone <repository>
   cd zoe-relay
   cargo build --workspace
   docker-compose -f docker-compose.dev.yml up -d # start a redis
  1. Run Tests

    cargo test --workspace
  2. Try Examples

    # Follow the Quick Start guide above

📄 License

This project is licensed under MIT OR Apache-2.0.


Getting Started:

Questions? Check the development guide, deployment guide, or review the architecture overview.

About

rust native zoeyr relay server, backend and client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages