Skip to content

planetaryescape/videoshare

Repository files navigation

videoshare

Share videos with clients and friends. Send someone a URL, they open a clean player, done.

Two sides:

  • viewer — public, polished video player. You send a link, they watch. No login.
  • admin — local-first, laptop-only tool to upload, transcode, and publish videos. No auth.

Stack

Everything runs on Effect v4 (beta). Infra via Alchemy on Cloudflare.

  • packages/shared — domain models, repository, migrations (Effect Schema + effect/unstable/sql). One repository runs on local SQLite (admin) and Cloudflare D1 (viewer).
  • apps/viewer — Cloudflare Worker. Looks up a video by slug in D1, gates on an optional password, serves a Vidstack HLS player. Segments come straight from a public R2 bucket.
  • apps/adminfoldkit frontend (Elm-style, Effect-powered) plus a local Bun server. Upload an mp4, transcode to HLS with ffmpeg, set metadata, publish to R2 + D1.
  • alchemy.run.ts — the Alchemy stack (R2, D1, viewer Worker).

Docs

Develop

bun install
bun alchemy deploy   # provision Cloudflare resources (interactive login first time)

About

Share videos with clients and friends. Send someone a URL, they open a clean player, done.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages