t0reg: command line key-value registers
<command> | curl -F 'CYFJ=<-' https://reg.t0.vc
or upload from the web:
The key CYFJ was randomly chosen for you.
This lets you POST data to a key of your choice.
You can then GET the data at that key.
This is useful for moving data / files between servers.
All the data is stored temporarily.
Make your key random if you don't want people guessing.
~$ echo "hello world" | curl -F 'CYFJ=<-' https://reg.t0.vc
~$ curl https://reg.t0.vc/CYFJ
Add this to your .bashrc:
alias push="curl -F 'CYFJ=<-' https://reg.t0.vc"
alias pull="curl https://reg.t0.vc/CYFJ"
Now you can pipe directly into push!
Get the data back with pull.
To move a file:
~$ cat kitten.jpg | base64 | push
~$ pull | base64 -d > kitten.jpg