Giter Site home page Giter Site logo

aadsm / chii Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liriliri/chii

0.0 1.0 0.0 1 MB

Remote debugging tool

Home Page: https://chii.liriliri.io

License: MIT License

JavaScript 39.92% Python 19.29% TypeScript 28.82% CSS 2.95% HTML 3.28% Handlebars 5.73%

chii's Introduction

Chii

Remote debugging tool.

NPM version Build status License

δΈ­ζ–‡

Remote debugging tool like weinre, replacing web inspector with the latest chrome devtools frontend.

Demo

Demo

Browse it on your phone: https://chii.liriliri.io/test/demo.html

Open https://chii.liriliri.io/ and click inspect to start debugging the demo page.

In order to try it for different sites, execute the script below on browser address bar.

javascript:(function () { var script = document.createElement('script'); script.src="//chii.liriliri.io/target.js"; document.body.appendChild(script); })();

Install

You can get it on npm.

npm install chii -g

Usage

Start the server with the following command.

chii start -p 8080

Use this script to inject the target code into your webpage.

<script src="//host-machine-ip:8080/target.js"></script>

Then browse to localhost:8080 to start debugging your page.

It's also possible to embed devtools in the same page using iframe. All you have to do is setting an extra embedded attribute on the script element.

<script src="//host-machine-ip:8080/target.js" embedded="true"></script>

Visit Embedded Iframe or Separate Iframe to see how it works.

Related Projects

  • whistle.chii: Whistle Chii plugin.
  • chobitsu: Chrome devtools protocol JavaScript implementation.
  • vivy: Banner image generation.

Contribution

Read Contributing Guide for development setup instructions.

chii's People

Contributors

surunzi avatar alfiebrooks avatar zzqizqute 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.