Pastebin Worker

Share text and files with short links on your own site

By Sharzy

InstallOpens in your own Appflare
Stars
1k
1,066 stars on the app's GitHub repository.
Installs
Under 10
Fewer than 10 Appflare users run this app, from anonymous usage data; smaller counts are not published.
Plan
Free
Runs on Cloudflare's free Workers plan.
License
MIT
An open-source license: you may use, change and share the app on its terms.
Version
0.0.0-20260717.0835cac.1
Version 0.0.0-20260717.0835cac.1.
Last tested
Oct 14
The catalog installed this version in a test account and it answered, on Oct 14, 2026.

About

A self-hosted alternative to Pastebin.

A pastebin and file sharer with short links, syntax highlighting, rendered Markdown, client-side encryption, a URL shortener, and a curl-friendly API, on KV and R2.

Features

  • Share text and files with short or custom links
  • Show code with syntax highlighting
  • Display Markdown as a formatted page
  • Encrypt pastes in your browser before uploading
  • Turn long web addresses into short links
  • Upload and manage pastes from the command line

Deploy Pastebin Worker on Cloudflare

  1. Step 1: Set up Appflare in your Cloudflare account

    Once

    Appflare installs itself into your own Cloudflare account from your browser, and runs on the free Workers plan, as Pastebin Worker does. See what Pastebin Worker needs on your account.

  2. Step 2: Install Pastebin Worker

    Pastebin Worker needs no keys or settings from you.

    It also has four optional settings you can leave for later.

    One switch on the form puts Pastebin Worker behind Cloudflare Access, so only the people who use your Appflare can open it.

  3. Step 3: Finish setting it up

    After the install, Appflare shows two short steps for Pastebin Worker, on its page.

With Appflare instead of by hand

  • Nothing to build on your computerAppflare sets itself up from your browser, with no API token to create and nothing to install.
  • Updates in one clickAppflare tells you when the catalog has a new version, and Update installs it.
  • Health checksAfter every install and update, Appflare checks that the app answers.
  • It stays in your own accountEverything runs on your Cloudflare account and your plan, and Appflare records what it creates, so an uninstall removes it.

What it needs on your account

  • KV storageThis app uses it
  • R2 storageThis app needs it
  • Runs on a scheduleThis app uses it

Questions

Does Pastebin Worker run on Cloudflare's free plan?

Yes. Pastebin Worker runs on Cloudflare's free Workers plan, and so does Appflare.

What does Pastebin Worker create in my Cloudflare account?

Appflare creates a Worker for Pastebin Worker and the resources it uses: KV namespaces, R2 buckets and cron triggers. Appflare records each resource it creates; an uninstall deletes them, keeping any data you choose to keep.

How do I update Pastebin Worker?

When the catalog has a new version, Pastebin Worker's page in Appflare says Update available. Select Update: Appflare takes a snapshot first, so you can roll back to the version before. You can also let Appflare update it automatically.

Is Pastebin Worker open source?

Yes, under MIT. An open-source license: you may use, change and share the app on its terms. Its source code is at github.com/SharzyL/pastebin-worker.

Links

Packaged for the catalog by MendyLanda.

Author

Categories