• Stars
    star
    1,764
  • Rank 26,386 (Top 0.6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Remote debugging tool

δΈ­ζ–‡

Chii

NPM version Build status License

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

Chii

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.

Contribution

Read Contributing Guide for development setup instructions.

More Repositories

1

eruda

Console for mobile browsers
JavaScript
18,761
star
2

licia

Useful utility collection with zero dependencies
JavaScript
2,284
star
3

eustia

Tool for generating utility libraries
TypeScript
287
star
4

chobitsu

Chrome devtools protocol JavaScript implementation
TypeScript
281
star
5

luna

UI library
TypeScript
241
star
6

eruda-android

Simple webview with eruda loaded automatically
Kotlin
109
star
7

webvn

HTML5 visual novel engine
JavaScript
85
star
8

vivy-docs

Stable diffusion desktop app
63
star
9

whistle.chii

Whistle Chii plugin
JavaScript
43
star
10

liriliri

HTML5 visual novel engine
JavaScript
41
star
11

eruda-code

Eruda plugin for running JavaScript code
JavaScript
32
star
12

eruda-fps

Eruda plugin for displaying fps info
JavaScript
24
star
13

eruda-dom

Eruda plugin for navigating dom tree
JavaScript
20
star
14

vscode-settings-editor

VS Code visual editor for settings like npm package.json
TypeScript
18
star
15

eruda-features

Eruda plugin for browser feature detections
JavaScript
13
star
16

fione

A collection of utility libraries used by liriliri projects
JavaScript
10
star
17

eruda-plugin

Eruda plugin template
JavaScript
9
star
18

eruda-memory

Eruda plugin for displaying memory
JavaScript
9
star
19

eruda-timing

Eruda plugin for performance and resource timing
JavaScript
8
star
20

tinker

Toolbox for developers
TypeScript
5
star
21

eruda-monitor

Eruda plugin for displaying fps, memory and dom nodes
JavaScript
5
star
22

eruda-geolocation

Eruda plugin for testing geolocation
JavaScript
4
star
23

eris

Node c++ addon utilities
C++
4
star
24

webvn-demo

WebVN Html5 Visual Novel Engine Sample Project
JavaScript
4
star
25

eruda-docs

Documentation for Eruda
4
star
26

eruda-touches

Eruda plugin for visualizing screen touches
JavaScript
3
star
27

eruda-worker

Eruda plugin for displaying web worker status
JavaScript
3
star
28

eruda-orientation

Eruda plugin for testing orientation api
JavaScript
3
star
29

lina

Mobile UI library
3
star
30

eruda-vue

Eruda plugin for vue
JavaScript
3
star
31

eustia-component

Eustia component transpiler
JavaScript
3
star
32

licia-docs

Documentation for Licia
JavaScript
2
star
33

deedlit

Simple scripting language
JavaScript
2
star
34

eustia-docs

Eustia website
JavaScript
2
star
35

eustia-babel

Eustia es6 transpiler
JavaScript
2
star
36

eustia-json

Eustia json transpiler
JavaScript
2
star
37

aya

Android adb desktop app
TypeScript
1
star
38

eriri

WebGL 2d library
1
star
39

eruda-benchmark

Eruda plugin for running JavaScript benchmarks
JavaScript
1
star
40

lsla

Scripts used by liriliri projects
JavaScript
1
star
41

webvn-jsdoc3

Jsdoc3 template for WebVN
JavaScript
1
star
42

eustia-lodash

Eustia lodash adapter
JavaScript
1
star