Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

207 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media over QUIC

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.

Setup

Install the dependencies with bun:

bun i

Development

Run a development web server:

just dev         # moq.dev
just dev-pub     # moq.pub, on :5174
just dev-watch   # moq.watch, on :5173

Deploy

just 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.

License

Licensed under either:

About

The source code and infrastructure for moq.dev

Resources

Stars

44 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages