steve losh
Follow

Idea for how to set up your own personal pastebin:

1. Make /var/www/pastes/ on server.
2. Points paste.yourdomain.com at server.
3. Have nginx serve content of /var/www/pastes/.
4. alias paste=$'ssh paste.yourdomain.com \'cat > paste && mv paste /var/www/pastes/`sha1sum paste | cut -d" " -f1`\''

That's it that's the pastebin.

Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!