0.0.3 • Published 4 years ago

gyapp v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

gyapp

Install

npm install gyapp -g

Usage

gyapp-twitter

Get All images of specific Twitter user and upload it to Gyazo
gyapp-twitter user yuiseki

gyapp-instagram

Get All images of specific Instagram user and upload it to Gyazo
gyapp-instagram user yuiseki

gyapp

See full options

gyapp --help

Take screenshot of web page and upload it to Gyazo

gyapp https://google.com/

Image from Gyazo

Set browser resolution

Preset resolution
gyapp https://google.com/ --res FHD

Image from Gyazo

Custom resolution
gyapp https://google.com/ --width 500 --height 500

Image from Gyazo

Specify XPath

Capture newest tweet
gyapp https://twitter.com/yuiseki --xpath "//*[article]" --click "//span[text() = '表示']" --height 1200

Image from Gyazo

Capture twitter profile
gyapp https://twitter.com/yuiseki --xpath "//a[@href='/yuiseki/header_photo']/parent::node()"

Image from Gyazo

Capture Google search result
gyapp https://google.com/search?q=JAL123 --xpath "//*[@id='rso']/div"

Image from Gyazo

Capture web page from the beginning to the last
gyapp https://www.yahoo.co.jp/ --xpath "/html/body"

Image from Gyazo

Development

yarn
npm link

gyapp ToDo

  • Instagram全部保存に対応する
  • はてなブックマーク全部保存に対応する
  • Pocket全部保存に対応する

gyapp-twitter ToDo

  • スクロールをどこまでやるか指定できるようにする
  • Twitter検索からの画像ぶっこぬきにも対応する
  • Twitter検索でuntilを使って限界まで遡れないか試す
  • Twitterのリストを指定してそこのアカウントを全て集められるようにする

gyapp-instagram ToDo

  • お気に入りした画像もぶっこぬきできるようにする