mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 03:02:53 +01:00
parent
f2bcb782e6
commit
fb4f6f28ec
10
ruby/ipfsbin.rb
Normal file
10
ruby/ipfsbin.rb
Normal file
@ -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
Block a user