publictext — a small ucspi-tcp
text://protocol server. [1][2][3][4]
~150 lines of Lua code:
https://github.com/textprotocol/publictext/blob/main/publictextUsage example:
# echo -e '
text://txt.textprotocol.org/\r\n' | nc
txt.textprotocol.org 1961
20 text/plain; charset=utf-8
TEXT://PROTOCOL=> geo:37.429167,-122.138056 PALO ALTO, CA 94301, USA
=> tag:txt.textprotocol.org,2021-03-07:textprotocol@github rel=me
=> text://txt.textprotocol.org/icon.png rel=icon
=> text://txt.textprotocol.org/license.txt rel=license CC0-1.0
—
🆃🆇🆃
[1] https://github.com/textprotocol/publictext
[2] http://cr.yp.to/ucspi-tcp.html
[3] https://textprotocol.org
[4] http://cr.yp.to/ucspi-tcp/tcpserver.html
—
🆃🆇🆃
https://textprotocol.org
https://textprotocol.org/contact