GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - manalejandro/cf-realtime: CloudMeet lets users create and join video meeting rooms with HD video, screen sharing, and live in-room chat — all running on Cloudflare's global edge network using native WebRTC via the Cloudflare Calls SFU

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
public
public
 
 
src
src
 
 
workers
workers
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package.json
package.json
 
 
picture.png
picture.png
 
 
postcss.config.ts
postcss.config.ts
 
 
tailwind.config.ts
tailwind.config.ts
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.tsbuildinfo
tsconfig.tsbuildinfo
 
 
vite.config.ts
vite.config.ts
 
 
wrangler.jsonc
wrangler.jsonc
 
 

Repository files navigation

CloudMeet

Deploy to Cloudflare Workers License: MIT

Real-time video meetings powered by the Cloudflare Calls API.

CloudMeet lets users create and join video meeting rooms with HD video, screen sharing, and live in-room chat — all running on Cloudflare's global edge network using native WebRTC via the Cloudflare Calls SFU.

Repo: https://github.com/manalejandro/cf-realtime

CloudMeet


Features

  • Create rooms — generate a unique meeting room in one click
  • Join rooms — share the room code or link with anyone
  • HD Video — multi-participant video grid with dynamic layout
  • Microphone & Camera — hardware toggle controls
  • Screen Sharing — share your screen natively via the browser
  • Live Chat — persistent in-room chat over WebSocket
  • Global Edge — powered by Cloudflare Workers, Durable Objects & Calls API
  • Beautiful UI — dark glassmorphism design, fully responsive

Tech Stack

Layer Technology
Frontend React 18, TypeScript, Vite
Styling Tailwind CSS 3, custom glass-morphism
WebRTC Native browser APIs + Cloudflare Calls SFU
Signaling Durable Objects + WebSocket
Backend Cloudflare Workers (TypeScript)
Deployment Wrangler v3, Cloudflare Workers + Assets

How it works

CloudMeet uses the two-PeerConnection architecture recommended by Cloudflare Calls:

  1. sendPC — pushes your local audio/video/screen tracks to Cloudflare's SFU
  2. recvPC — pulls all remote participants' tracks from the SFU
  3. Durable Object (RoomDO) — WebSocket hub that broadcasts participant track info
  4. When a participant joins, their track locators are broadcast and every other participant pulls them via recvPC

All SFU calls go through the Worker proxy (/api/calls/…) to keep your CALLS_APP_TOKEN secret.


Project Structure

cf-realtime/
├── index.html              # Vite SPA entry
├── vite.config.ts
├── tsconfig.json
├── tailwind.config.ts
├── wrangler.jsonc          # Cloudflare Worker config
├── public/
│   └── index.html
├── src/
│   ├── main.tsx            # React root
│   ├── App.tsx             # Router
│   ├── index.css           # Tailwind + custom styles
│   ├── pages/
│   │   ├── LobbyPage.tsx   # Create / join room
│   │   └── MeetingPage.tsx # In-meeting view
│   ├── components/
│   │   ├── Logo.tsx        # SVG logo component
│   │   ├── MeetingRoom.tsx # Video grid + controls + chat
│   │   └── VideoTile.tsx   # Single participant tile
│   └── utils/
│       ├── api.ts          # Room creation helper
│       ├── calls.ts        # Cloudflare Calls API client
│       └── useRoom.ts      # WebRTC + signaling hook
└── workers/
    └── worker.ts           # Worker: API proxy + DO + SPA serving

Prerequisites

  • Node.js v18+
  • npm v9+
  • A Cloudflare account with a Calls application created at https://dash.cloudflare.com/?to=/:account/calls

Setup

1. Install dependencies

cd cf-realtime
npm install

2. Set worker secrets

Get your App ID and App Token from the Calls dashboard at https://dash.cloudflare.com/?to=/:account/calls.

npx wrangler secret put CALLS_APP_ID
# paste your App ID when prompted

npx wrangler secret put CALLS_APP_TOKEN
# paste your App Token when prompted

Note: Secrets are stored encrypted in Cloudflare and are never exposed to the browser.


Development

Run the full stack locally using Wrangler's dev mode:

npm run dev:worker

Open http://localhost:8787.

For UI-only hot-reload (no API):

npm run dev

In Vite-only mode the /api/… calls will fail because the Worker is not running.


Build & Deploy

npm run deploy

This runs:

  1. tsc -b && vite build — TypeScript check + Vite bundle into dist/
  2. wrangler deploy — upload the Worker + static assets to Cloudflare

API Reference (Worker routes)

Method Path Description
POST /api/rooms Create a room, returns { id }
GET /api/rooms/:id/ws WebSocket upgrade for signaling (Durable Object)
POST /api/calls/sessions/new Proxy → Calls API: create session
POST /api/calls/sessions/:id/tracks/new Proxy → Calls API: push/pull tracks
PUT /api/calls/sessions/:id/renegotiate Proxy → Calls API: renegotiate
* /* Serve SPA (Vite dist)

Environment / Secrets

Variable Where Description
CALLS_APP_ID Worker secret Your Cloudflare Calls App ID
CALLS_APP_TOKEN Worker secret Your Cloudflare Calls App Token

License

MIT

About

CloudMeet lets users create and join video meeting rooms with HD video, screen sharing, and live in-room chat — all running on Cloudflare's global edge network using native WebRTC via the Cloudflare Calls SFU

Resources

Readme
Activity

Stars

4 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.