This is a simple container of the haste-server.
421
This is just a has autobuild repo for a haste-server
Check out the original source haste-server
docker run -p 7777:7777 -d jonberenguer/hastebin-server
Simple client-side function to post to hastebin
haste() { a=$(cat); curl -X POST -s -d "$a" http://localhost:7777/documents | awk -F '"' '{print "http://localhost:7777/"$4}'; }
function haste { param([Parameter(Mandatory=$True,ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True)] [string[]] $data) ; $key = (Invoke-RestMethod -Uri http://localhost:7777/documents -Method POST -Body $data).key.trim() ; Write-Host "http://localhost:7777/$key"}
Content type
Image
Digest
Size
143.6 MB
Last updated
over 9 years ago
docker pull jonberenguer/hastebin-server