Git Product home page Git Product logo

ipfs-screencap's Introduction

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

ipfs-screencap's People

Contributors

chriscool avatar jbenet avatar kubuxu avatar swedneck avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.