Skip to content

Commit 65b6e96

Browse files
authored
Create README.md
1 parent 6bd0d0c commit 65b6e96

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# serverless-bin
2+
ServerlessBin is a [Cloudflare Workers](https://workers.cloudflare.com) powered [hastebin server](https://hastebin.com).
3+
It has the exact same endpoints and works perfectly with hastebin frontend.
4+
5+
For the most part, haste was used as a starting point for the static assets and the UI, whereas the
6+
server code had to be mostly rewritten, as the Workers environment is not compatible with node.js
7+
(or connect or connect middleware), redis, memcached, etc.
8+
9+
You can see a public instance of this running at
10+
[paste.iloveopensource.dev](https://paste.iloveopensource.dev) or [paste.thearcadia.xyz](https://paste.thearcadia.xyz).
11+
12+
# Deployment
13+
To deploy it to your own instance, do the following:
14+
- Clone the repository
15+
- Create a KV inside workers dashboard
16+
- Deploy the page from the cloned repository
17+
- Inside pages > your page > settings > functions add KV binding as FILES_KV -> Your KV

0 commit comments

Comments
 (0)