Giter Club home page Giter Club logo

remote-console's Introduction

remote-console

使用socket.io实现的远程控制台,可在pc端抓取手机页面的控制台输出

安装

  1. 通过npm包安装
npm i @jianming/remote-console -g
cre start
  1. 通过git clone源代码,然后
npm start

使用方法

方法1

npm install @jianming/remote-console -g
cre start

方法2

  1. 在需要抓取的页面引入:
  <script src="http://IP:6688/assets/remote-console.js" id="remoteConsole" data-channel="CHANNEL"></script>
  1. 在PC端浏览器打开:http://IP:6688/channel/CHANNEL
  2. CHANNEL可换成你想使用的任意值

说明

不同的CHANNEL之间的消息是隔离的,所以可以同时使用多个CHANNEL�调试不同的页面

remote-console's People

Contributors

uje 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.