/cpaste

CPaste is a paste service using Carbon and Redis

Primary LanguageLuaMIT LicenseMIT

cpaste

CPaste is a paste service using Carbon and Redis

Example Usage

$ cat myfile.txt | curl -F 'f=<-' mydomain.mytld:8081
http://mydomain.mytld:8081/rpPxsp6d
$ curl http://mydomain.mytld:8081/raw/rpPxsp6d
<Content of myfile.txt>

Setup

Tweak cpaste.conf to your liking, look at Carbon for the options. Most likely you only want to change the port.

Copy example_settings.lua to settings.lua, change everything you need to change in there.

Make sure Redis runs on the specified address in settings.lua

Get Carbon itself and run carbon --config=cpaste.conf in the source directory.