]> Sergey Matveev's repositories - paster.git/blob - doc/features.texi
Netstrings are simpler than bencode
[paster.git] / doc / features.texi
1 @node Features
2 @unnumbered Features
3
4 @itemize
5
6 @item It uses file system for storing the pastes
7
8 @item Pastes are shared through the external program (HTTP, FTP, Gopher, ...)
9
10 @item Paste files have an extension (@file{.txt} by default), that can
11     be overriden for the given paste. So your HTTP service can answer
12     with varying @code{Content-Types}. You can share images for example,
13     not only plaintext
14
15 @item No excessive HTTP protocol: just send two
16     @url{https://en.wikipedia.org/wiki/Netstring, netstring}-encoded strings
17     with the data over the TCP
18
19 @item Newline is appended for @file{.txt}/@file{.url} pastes, if it is missing
20
21 @item SHA512/2 checksum is sent back to you, for integrity checking
22
23 @item Intended to be run as a @url{https://cr.yp.to/ucspi-tcp.html, UCSPI-TCP}
24     service @url{http://cr.yp.to/daemontools.html, daemontools}-like supervisor
25
26 @item Can automatically generate HTML files with the links for automatic
27     @url{https://asciinema.org/, asciicasts} playback.
28
29 @item You can clear an old ones with simple:
30     @code{find pastes -ctime XXX -delete}
31 @end itemize