This repository contains the code for three sites:
- moq.dev — the blog and demos, in
src/ - moq.pub — a bare-bones publisher, in
sites/pub - moq.watch — a bare-bones player, in
sites/watch
The player sites use the path to name a broadcast: publish at
moq.pub/anon/lazy-otter-4f21.hang and watch it back at
moq.watch/anon/lazy-otter-4f21.hang. Visiting moq.pub with
no path picks a random name for you.
These are clients only.
You'll either need to run a local server using moq or use a public server such as cdn.moq.pro.
Join the Discord for updates and discussion.
Install the dependencies with bun:
bun iRun a development web server:
just dev # moq.dev
just dev-pub # moq.pub, on :5174
just dev-watch # moq.watch, on :5173just deploy builds and uploads all three sites to Cloudflare, staging by
default; just deploy live goes to production and mails subscribers about any
new blog posts.
Licensed under either:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)