xelpaste is open source. You can find the source, contribute to it and
leave ideas on Github: github.com/rbarrois/xelpaste.
It is based on the excellent dpaste project.
Save this script in /usr/local/bin/xelpaste
and chmod +x ..filepath
.
Usage: cat foo.txt | xelpaste
Or you could use curl
:
alias xelpaste="curl -F 'content=<-' http://xelpaste.org//api/"
There are 6330 snippets in the database. The most popular languages are:
PYTHON | 1462 |
---|---|
FREETEXT | 1218 |
TEXT | 693 |
BASH | 79 |
RUST | 76 |
If you created a snippet with the API you can't delete it on the webpage since it's not in your history. You can delete a snippet here. Actually you can delete any snippet of anybody, as long as you know the short code.
If you deleted a snippet because of legal issues, please let me know that, I want to keep track of such things and try to avoid in future.
Type the 6 letter code of your snippet in the field and submit. Like this yellow one here: http://xelpaste.org//SiZr