openflarestack Star this repo
  1. Catalog
  2. Files & storage
  3. RelayBox
Ranked 280 of 418

RelayBox

HueGild/RelayBox

Turns Cloudflare Workers into a free personal file storage and sharing service

A self-hosted alternative to Google Drive.

What it sets up in your account

  • D1
    D1 database
    A SQL database for the app’s records.
  • R2
    R2 bucket
    Storage for files and uploads.
  • Cr
    Cron trigger
    Runs scheduled tasks.
Category
Files & storage
Licence
MIT
Stars
6
Last commit
2 days ago

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/relaybox.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/relaybox.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/HueGild/RelayBox.git
git pull upstream main
npx wrangler deploy

RelayBox questions

What is RelayBox?

Turns Cloudflare Workers into a free personal file storage and sharing service. It’s an open-source, self-hosted alternative to Google Drive. It runs on Cloudflare Workers in your own account.

What does RelayBox set up in my Cloudflare account?

D1 database, R2 bucket and Cron trigger. They are created in your account, so the data stays yours.

How do I deploy RelayBox?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is RelayBox free and open source?

Yes. It’s published under the MIT licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update RelayBox?

Pull from the original repository and redeploy: add https://github.com/HueGild/RelayBox.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.