parent
f2bcb782e6
commit
fb4f6f28ec
|
@ -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
|
Loading…
Reference in New Issue