# @leumas/social-service

Realtime social layer — the ONE WebSocket gateway (presence + live DMs/typing/read + Omegle matchmaking + Habbo rooms). Attaches to the API's HTTP server; reuses @leumas/router-kit writeMessage so...


The **realtime** social layer (presence + live feed/DM). The social **REST** (feed/likes/friends/chat/
notifications) already ships in `@leumas/router-kit` (`createSocialRouter`, mounted at `/social`) —
this service only adds the websocket layer, so nothing is duplicated.

**Absorbs (DRY-consolidated from, P6):** `x-leumas-social` websocket layer.

**Status:** P2 seam (contract only) so the Web social page can be built against REST now; P6 wires
presence + live channels over `ws`, authenticated via `@leumas/auth`.


---
Source: shared/services/social/README.md
Canonical: https://docs.leumas.tech/p/services/social-service
