A robust messaging bridge connecting DDNet game servers to Telegram via NATS JetStream.
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Run services
cargo run -- econ -c configs/econ.yaml
cargo run -- handler -c configs/handler.yaml
cargo run -- bots/reader -c configs/reader.yaml
Service | Description |
---|---|
econ |
DDNet ECON connector → NATS |
handler |
Message processor and router |
bots/reader |
NATS → Telegram message forwarder |
# Basic usage
cargo run -- <service> --config <file.yaml>
# Example
cargo run -- handler -c ./custom-handler-config.yaml
Ready-to-use configuration examples for each service:
Сервис | Пример конфигурации |
---|---|
econ |
econ/config.yaml |
handler |
handler/config.yaml |
bots/reader |
reader/config.yaml |
Explore our example configurations for each component:
📂 src/
├── 📂 econ/
│ └── 📂 config_examples/
│ └── basic.yaml # ECON connection settings
├── 📂 handler/
│ └── 📂 config_examples/
│ └── basic.yaml # Message processing rules
└── 📂 bots/
└── 📂 reader/
└── 📂 config_examples/
└── basic.yaml # Telegram bot setup
kubectl apply -f k8s/
cargo build --release
./target/release/econ -c src/econ/basic.yaml
./target/release/handler -c src/handler/basic.yaml
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the bra 6ADC nch
- Open a pull request