PasteShare
Share text and files with links that can expire or use a password
By xiadd
- Stars
- 241 241 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
- Mar 19 Version 0.0.0-20260319.5af66e4.
- 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 with syntax highlighting, Markdown, password-protected pastes, expiry times and file uploads up to 25 MB, on D1 and R2, with a JSON API.
Features
- Share text and code snippets with a short link
- Upload and share files up to 25 MB
- Require a password to open a paste
- Set paste expiry times from one minute to one month
- Highlight code in languages such as Python, JavaScript and Go
- Share text and files from scripts through an API
Deploy PasteShare on Cloudflare
Step 1: Set up Appflare in your Cloudflare account
OnceAppflare installs itself into your own Cloudflare account from your browser, and runs on the free Workers plan, as PasteShare does. See what PasteShare needs on your account.
Set up AppflareAlready have Appflare? Install PasteShareStep 2: Install PasteShare
PasteShare needs no keys or settings from you.
One switch on the form puts PasteShare behind Cloudflare Access, so only the people who use your Appflare can open it.
Step 3: Finish setting it up
After the install, Appflare shows a short step for PasteShare, 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
- D1 databaseThis app uses it
- R2 storageThis app needs it
Questions
Does PasteShare run on Cloudflare's free plan?
Yes. PasteShare runs on Cloudflare's free Workers plan, and so does Appflare.
What does PasteShare create in my Cloudflare account?
Appflare creates a Worker for PasteShare and the resources it uses: D1 databases and R2 buckets. Appflare records each resource it creates; an uninstall deletes them, keeping any data you choose to keep.
How do I update PasteShare?
When the catalog has a new version, PasteShare'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 PasteShare 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/xiadd/pastebin-worker.
Links
- Source codegithub.com/xiadd/pastebin-worker
- Websiteas.al
Packaged for the catalog by MendyLanda.
Author
- xiaddGitHub