Files
marqdo/examples/web-ws-room/index.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

555 B

title, description, import
title description import
web-ws-room demo Dynamic room WS with presence (G-WS1/2 bag). Open / and connect via bridge or wscat.
web
ext/web/web.mq.md

main

page = > web.page title="WS room" intro="

Chat room lobby via /chat/lobby. Presence joins chat.room.lobby.presence.

"
app = > web.app page=page host="127.0.0.1" port=18091 admin=False
app = > app.route_ws path="/chat/{id}" mode="room" room_key="chat.room.{id}" presence=True

app.listen