openflarestack Star this repo
  1. Catalog
  2. Pastebins
  3. ZeroBin
Ranked 216 of 234

ZeroBin

suminhthanh/zerobin

Share encrypted pastes and files that the server can't read, with burn-after-reading.

A self-hosted alternative to Pastebin.

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.
  • DO
    Durable Objects
    Keeps live sessions and realtime state.
  • Cr
    Cron trigger
    Runs scheduled tasks.
Category
Pastebins
Licence
Apache-2.0
Stars
10
Last commit
5 months ago

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/zerobin.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/zerobin.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/suminhthanh/zerobin.git
git pull upstream main
npx wrangler deploy

ZeroBin questions

What is ZeroBin?

Share encrypted pastes and files that the server can't read, with burn-after-reading. It’s an open-source, self-hosted alternative to Pastebin. It runs on Cloudflare Workers in your own account.

What does ZeroBin set up in my Cloudflare account?

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

How do I deploy ZeroBin?

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

Is ZeroBin free and open source?

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

How do I update ZeroBin?

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