在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jbenet/ipfs-paste开源软件地址:https://github.com/jbenet/ipfs-paste开源编程语言:Shell 76.5%开源软件介绍:ipfs-paste - paste to ipfsPaste stuff to IPFS.
(note: Today, clipboard only on {OSX, Linux}. Tomorrow, cross platform). Install# install from ipfs
ipfs cat QmSKVENxxkS3QGkFJDofWgcPySdCHZ3sbrU5onXAzhWZdz >/usr/local/bin/ipfs-paste
chmod +x /usr/local/bin/ipfs-paste
# install from http
curl -s https://github.com/jbenet/ipfs-paste/blob/master/ipfs-paste >/usr/local/bin/ipfs-paste
chmod +x /usr/local/bin/ipfs-paste Note: requires running IPFS daemon. Usage> ipfs-paste -h
ipfs-paste [-v] [--paste] [<name>]
publish stdin (or pasteboard) to ipfs Examples# stdin to ipfs
> echo hello mars | ipfs-paste
http://gateway.ipfs.io/ipfs/QmZd56pN6zKvFrqp3ojRHHJQ2x2NWKTLmsEQbni37cDgvx/paste
# clipboard to ipfs
> echo hello mars | pbcopy
> pbpaste
hello mars
> ipfs-paste --paste
http://gateway.ipfs.io/ipfs/QmV3pQbmx9ziGt4r7i6wyJuSg7hovT6Znxo9PAEoo6M8qB/paste
# set a name to file
> head -c 1024 /dev/random | ipfs-paste rand-kb
http://gateway.ipfs.io/ipfs/QmctPRXHkmoQfZSKExNvcpPS7g1BQciarzWVM7QYdzS6eJ/rand-kb
# verbose
> cat ipfs-paste | ipfs-paste -v
stdin to ipfs... QmbSV3f1T5qbdfxfhSgrudRSv3YiJBxKFGthPAEDZVEhpj
constructing dir... QmYXNKmW7vyvpcTEtAUXGjJ8X9wmh1BgqmZLutFQYLhUev
copying url to clipboard... copied
http://gateway.ipfs.io/ipfs/QmYXNKmW7vyvpcTEtAUXGjJ8X9wmh1BgqmZLutFQYLhUev/paste
preloading on the gateways... ok |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论