diff --git a/ruby/ipfsbin.rb b/ruby/ipfsbin.rb new file mode 100644 index 0000000..4632e79 --- /dev/null +++ b/ruby/ipfsbin.rb @@ -0,0 +1,10 @@ +#!/usr/bin/env ruby + +# Prompt for the whatever +print "Enter the IPFS hash/addr: " +# Get the input without \n +ipfsthing = gets.chomp +ipfsgateway = "https://ipfs.io/ipfs/" + +# Output the address +puts ipfsgateway + ipfsthing