go.stargrave.org/paster -- paste service daemon
-
-Are you tired of too complicated solutions even for the simple task like
-paste storage? I too. That is why that paster daemon is here.
-
-* It uses file system for storing the pastes
-* Pastes are shared through the external program (HTTP, FTP, Gopher, ...)
-* Paste files have an extension (.txt by default), that can be overriden
- for the given paste. So your HTTP service can answer with varying
- Content-Types. You can share images for example, not only plaintext
-* No excessive HTTP protocol: just send bencode-ed dictionary with the
- data over the TCP
-* Newline is appended for .txt/.url pastes, if it is missing
-* SHA512/2 checksum is sent back to you, for integrity checking
-* Intended to be run as a UCSPI-TCP service
- (https://cr.yp.to/ucspi-tcp.html) under daemontools-like supervisor
- (http://cr.yp.to/daemontools.html)
-* You can clear an old ones with simple: find pastes -ctime XXX -delete
-
-With contrib/paster you can send the paste very easily:
-
- $ paster
- something I want to send
- whatever whenever
- ^D
- http://paster.example.com/4KEOLWCZY5CBVWDNT5TA.txt
- 28d95ef0e8d6a4f4222d0e7eb2a23777aa99efb0794e535a0f4a55490705438f
-
- $ paster webp < some-image.webp
- http://paster.example.com/KO5O7SJTUGBORVGOZBSA.webp
- 7f53424fe50f1d70fa32763cde31335dc82fd63c975e8ab95f0bb4a6cd94fb1c
-
- $ paster some-other-image.webp
- http://paster.example.com/O6D2O3N5HPH63ZFIYF4A.webp
- https://paster.example.com/O6D2O3N5HPH63ZFIYF4A.webp
- ftp://paster.example.com/pub/pastes/O6D2O3N5HPH63ZFIYF4A.webp
- 2ffe10846ec637d29ab9145b98c3699653c01910bb6d9e00e41f7fe02c5882a8
-
- $ grep whatever ... | paster
- $ import png:- | paster png
- $ import -define webp:lossless=true webp:- | paster webp
- $ echo http://example.com | paster url
- $ paster < /proc/cpuinfo
-
paster is free software: see the file COPYING for copying conditions.