screencap-stream
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "screencap-stream", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "screen capture streams", | ||
"main": "index.js", | ||
"bin": { | ||
"screencap": "bin.js" | ||
"screencap": "bin.js", | ||
"ipfs-cap": "ipfs-cap" | ||
}, | ||
@@ -9,0 +10,0 @@ "scripts": { |
@@ -53,1 +53,23 @@ # screencap-stream | ||
``` | ||
## `ipfs-cap` binary | ||
Capture screenshots, publish them to [IPFS](http://ipfs.io), and copy the link to the clipboard. | ||
Examples: | ||
```sh | ||
# default name based on date | ||
> ipfs-cap | ||
http://gateway.ipfs.io/ipfs/QmfV9gpmi9yT4J4fWWJH2xdrAUYbmn3JYZPWCN5hsMnA9A/screencap.2015-07-04T01:21:00Z.png | ||
# name argument | ||
> ipfs-cap laser-raptor.png | ||
http://gateway.ipfs.io/ipfs/QmdCcY49eXipYJQpZL2yAuu2Jv8QbddJE2Zub3cfwc3aPz/laser-raptor.png | ||
``` | ||
Install it with: | ||
``` | ||
npm install -g screencap-stream | ||
``` |
5312
6
75