lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


publictext — a small ucspi-tcp text://protocol server. [1][2][3][4]

~150 lines of Lua code:

https://github.com/textprotocol/publictext/blob/main/publictext

Usage 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



Attachment: publickey - postmaster@textprotocol.org - 08c55ac4.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature