Overview
The Allternit Cloud Backend (@allternit/cloud-backend-service) is a lightweight WebSocket server for browser extension and thin-client integrations. It handles client authentication, session management, and real-time message forwarding between browser extensions and controlling clients.
It is built from cmd/cloud-backend and runs as a standalone Node service.
Base URL
8080.
Configuration
Health check
Response
Client types
WebSocket message format
WebSocket message types
Authentication
Connect to the WebSocket and send anauth message:
Response
Execute a browser action
A thin client or agent can request a browser action:browser-extension client in the same session. If no extension is connected, the caller receives:
Get browser tabs
Chat messages
Thin clients can send chat messages:Session broadcast
Messages of typeaction:complete, tab:activated, and tab:updated are broadcast to all clients in the same session except the sender.