Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.
/ gyapp Public archive

Commandline utilities for Gyazo powered by puppeteer

Notifications You must be signed in to change notification settings

yuiseki/gyapp

Repository files navigation

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

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

About

Commandline utilities for Gyazo powered by puppeteer

Resources

Stars

Watchers

Forks

Packages

No packages published