txt.udia.ca
NAME:
u0txt: command line pastebin.
USAGE:
<cmd> | curl -F 'txt=<-' https://txt.udia.ca
or upload from web:
DESCRIPTION
I wanted to write my own text pastebin using Elixir/Erlang and Mnesia.
EXAMPLES
~$ cat yourfile | curl -F 'txt=<-' https://txt.udia.ca
https://txt.udia.ca/MOJV
~$ firefox https://txt.udia.ca/MOJV
Add this to your .*rc file:
alias txt="\
sed -r 's/\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' \
| curl -F 'txt=<-' https://txt.udia.ca"
Now you can pipe directly into txt! Sed removes colours.
SOURCE CODE
https://github.com/udia-software/txt
SEE ALSO
https://txt.t0.vc/