File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments