Meshblu-Compatible IoT Mesh
FRESHBLU
Signal-driven device messaging. Built in Rust.
HTTP REST WebSocket MQTT 3.1.1
01 Capabilities
Send messages between devices over HTTP, WebSocket, or MQTT. Subscriptions route events automatically.
Fine-grained whitelists control who can discover, configure, send to, and receive from each device.
Connect via REST API, persistent WebSocket, or MQTT broker. All protocols share the same device mesh.
Subscribe to message.received, message.sent, configure.received, and more. Fan-out across connected clients.
Generate multiple session tokens per device. Revoke individually or reset all. bcrypt-hashed storage.
Configure HTTP forwarders per event type. Outbound webhooks fire on message delivery, config changes, and more.
02 Quick Start
01 Register a device
bash
curl -X POST https://api.freshblu.org/devices02 Send a message
bash
curl -X POST https://api.freshblu.org/messages \
-H "meshblu_auth_uuid: YOUR_UUID" \
-H "meshblu_auth_token: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"devices": ["TARGET_UUID"], "payload": {"hello": "world"}}'03 Listen via WebSocket
javascript
const ws = new WebSocket('wss://api.freshblu.org/ws');
ws.send(JSON.stringify({action: 'identity', uuid: 'YOUR_UUID', token: 'YOUR_TOKEN'}));
ws.onmessage = (e) => console.log(JSON.parse(e.data));03 Stack
Rust Axum PostgreSQL Redis NATS SQLite Arduino SDK WASM Client