项目作者: lvancrayelynghe

项目描述 :
Simple tool to reload a Chrome tab from command line, using Chrome's remote debugging protocol
高级语言: Go
项目地址: git://github.com/lvancrayelynghe/chrome-remote-reload.git
创建时间: 2016-12-27T23:43:13Z
项目社区:https://github.com/lvancrayelynghe/chrome-remote-reload

开源协议:MIT License

下载


Chrome Remote Debugging Page Reload

Simple tool to reload a Chrome tab from command line, using Chrome’s remote debugging protocol

Usage

  1. $ chrome-remote-reload --help
  2. Usage: chrome-remote-reload [-h=<host>] [-p=<port>]
  3. Chrome Remote Debugging Page Reload tool
  4. First, run Chrome remote debugger with: chrome --remote-debugging-port=9222
  5. Options:
  6. -h, --host="localhost" Chrome remote debugger host
  7. -p, --port="9222" Chrome remote debugger port

Installation from binaries

See the GitHub releases

Installation from sources

Install Go

  1. sudo apt-get install curl git mercurial make binutils bison gcc build-essential
  2. bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
  3. source ~/.gvm/scripts/gvm
  4. gvm install go1.7.4 --prefer-binary
  5. gvm use go1.7.4 --default

Install packages

  1. go get github.com/jawher/mow.cli
  2. go get golang.org/x/net/websocket

Cross compile

Use gox :

  1. go get github.com/mitchellh/gox
  2. gox