Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit451/castdrop

Repository files navigation

castdrop

Drop a video. Cast it to your TV.

Upload a local video file, get a temporary streaming URL, and cast it to your Chromecast in native quality. Videos are automatically deleted after 1 hour or when you close the page.

How it works

  1. Drag & drop (or select) a video file
  2. File uploads to Cloudflare R2 (temporary storage)
  3. Cast the video to your Chromecast using Chrome's built-in Cast or the Cast button
  4. Video is deleted when you leave the page (or after 1 hour max)

Note: 10GB limit to prevent abuse. The idea is for smaller videos. Otherwise, use YouTube.

Tech Stack

  • Frontend: React + TypeScript + Vite
  • Backend: Cloudflare Worker + R2
  • Casting: Google Cast SDK (default media receiver)

Development

npm install
npm run dev

Deployment

Set these GitHub repository secrets:

  • CLOUDFLARE_ACCOUNT
  • CLOUDFLARE_KEY

Push to main to trigger automatic deployment.

License

castdrop is available under the MIT license. See the LICENSE file for more info.

About

Chromecast a local file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /