https://github.com/opensource03/serverless-bin
A HasteBin clone written exclusively for serverless deployment under CloudFlare Pages
https://github.com/opensource03/serverless-bin
cloudflare cloudflare-pages cloudflare-workers serverless
Last synced: 8 months ago
JSON representation
A HasteBin clone written exclusively for serverless deployment under CloudFlare Pages
- Host: GitHub
- URL: https://github.com/opensource03/serverless-bin
- Owner: OpenSource03
- Created: 2023-01-16T15:49:41.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T16:34:01.000Z (about 3 years ago)
- Last Synced: 2025-07-03T05:17:27.565Z (8 months ago)
- Topics: cloudflare, cloudflare-pages, cloudflare-workers, serverless
- Language: JavaScript
- Homepage: https://paste.iloveopensource.dev
- Size: 25.4 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-bin
ServerlessBin is a [Cloudflare Workers](https://workers.cloudflare.com) powered [hastebin server](https://hastebin.com).
It has the exact same endpoints and works perfectly with hastebin frontend.
For the most part, haste was used as a starting point for the static assets and the UI, whereas the
server code had to be mostly rewritten, as the Workers environment is not compatible with node.js
(or connect or connect middleware), redis, memcached, etc.
You can see a public instance of this running at
[paste.iloveopensource.dev](https://paste.iloveopensource.dev) or [paste.thearcadia.xyz](https://paste.thearcadia.xyz).
# Deployment
To deploy it to your own instance, do the following:
- Clone the repository
- Create a KV inside workers dashboard
- Deploy the page from the cloned repository
- Inside pages > your page > settings > functions add KV binding as FILES_KV -> Your KV