Securely share a secret via single-use self-destructing link
Instructions for geeks 🤓
You can use curl to create secret link from a text captured from stdin in your terminal:
curl -s -F 'secret=<-' -F ttl=1h 'https://flash.ku1ik.com/?_format=text'
After entering your secret, press Ctrl+d. Single-use link will be printed to the terminal.
Combine above with tee and xclip to have the link printed to the terminal and automatically copied to the clipboard:
curl -s -F 'secret=<-' -F ttl=1h 'https://flash.ku1ik.com/?_format=text' | tee /dev/tty | xclip -selection clipboard
💡 TTL value can be specified with a suffix: 1s (1 second), 2m (2 minutes), 3h (3 hours), 4d (4 days).