• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

jbenet/ipfs-screencap: Capture screenshots, publish them to IPFS, and copy the l ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jbenet/ipfs-screencap

开源软件地址:

https://github.com/jbenet/ipfs-screencap

开源编程语言:

Shell 100.0%

开源软件介绍:

ipfs-screencap and portable-screencap

Install

# with ipfs
ipfs get /ipfs/QmQgQYuzYRGdhNtfpLRQmL5jJfoxPnSuTzgwUJGjwcDays/ipfs-screencap
cd ipfs-screencap
./install.sh

# with git
git clone https://github.com/jbenet/ipfs-screencap
cd ipfs-screencap
./install.sh

portable-screencap

take a screencap and output to stdout, portably. Simply run:

portable-screencap

ipfs-screencap

Capture screenshots, publish them to IPFS, and copy the link to the clipboard.

Usage:

> ipfs-screencap -h
USAGE
  ./ipfs-screencap [OPTIONS] [<name>]
  publish a screenshot to ipfs, copy gateway link to clipboard

OPTIONS
  -h, --help     - display this help
  -v, --verbose  - print messages for the actions
  -p, --preload  - preload url on the gateways
  -c, --copy     - copy url to clipboard

Examples:

# default name based on date
> ipfs-screencap
https://ipfs.io/ipfs/QmfV9gpmi9yT4J4fWWJH2xdrAUYbmn3JYZPWCN5hsMnA9A/screencap.2015-07-04T01:21:00Z.png

# name argument
> ipfs-screencap laser-raptor.png
https://ipfs.io/ipfs/QmdCcY49eXipYJQpZL2yAuu2Jv8QbddJE2Zub3cfwc3aPz/laser-raptor.png

# copy to clipboard
> ipfs-screencap -c laser-raptor.png
https://ipfs.io/ipfs/QmdCcY49eXipYJQpZL2yAuu2Jv8QbddJE2Zub3cfwc3aPz/laser-raptor.png

# verbose
> ipfs-screencap -v hacking-too-much-time.png
capturing screen... QmRT4WfAYmt6EQmSWLNwjk9TU75ENV3JZum2PtGPq5V63R
constructing dir... Qmao3bK722MJ1eur89caxvJZ32FChyvRPi6QyBsibuKVEg
copying url to clipboard... copied
https://ipfs.io/ipfs/Qmao3bK722MJ1eur89caxvJZ32FChyvRPi6QyBsibuKVEg/hacking-too-much-time.png



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
kpmy/mipfs: ipfs middleware发布时间:2022-06-22
下一篇:
nyancodeid/insta-share: Instant File Sharing powered by IPFS Networks. Build wit ...发布时间:2022-06-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap