• Stars
    star
    4,192
  • Rank 10,327 (Top 0.3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 4 months ago

Reviews

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

Repository Details

Debug remotely and easily like chrome devtools.

English | 中文

PageSpyWeb

PageSpy is a remote debugging tool for web project.

Based on encapsulation of native web APIs, it filters and transforms the parameters of native methods when called, and converts into messages with specific format for consumption by the debugger client. The debugger presents ui in an interactive devtools-like for easy viewing after receives the message data.

When should I use?

It's PageSpy show time whenever you can't debug code with local devtools! Let's see the following instances:

Save communication time, improve collaboration efficiency: Telecommuting and cross-regional collaboration becoming more and more common,effective collaboration between programmers and testers become extremely important. However, traditional communication such as email, telephone, and video conferencing suffer from inefficient communication, incomplete issue information, and misunderstanding or misjudgment, etc. PageSpy provides project runtime info for technicians to view at the debugger client, and testers no longer need to provide issue information to technicians frequently by text, screenshot, and recording screen.

Accurately troubleshoot to avoid looking a needle in the ocean: When an application has a white screen or other similar fatal problems on the user's device, it has always been a difficult problem for technicians to quickly locate the error, accurately troubleshoot and fix it. Traditional methods of locating problems include data monitoring and log analysis, which not only consume a lot of time and energy to analyze and diagnose problems, but also rely heavily on technicians to understand business scenarios and code implementation.PageSpy presents the error message directly to the technician, eliminates other interference, just shows the code!

How to use?

For data security and your convenience, we provide a complete and out-of-box deployment solution.

Docker 👍

$ docker run -d --restart=always -p 6752:6752 --name="pageSpy" ghcr.io/huolalatech/page-spy-web:release

Node

HINT: This will download the corresponding binary file based on the platform, which contains all the necessary content, so the download may take some time, please be patient.

$ yarn global add @huolala-tech/page-spy-api

# if you use npm

$ npm install -g @huolala-tech/page-spy-api

After the download is complete, you can directly execute page-spy-api in the command line to start the service. It will also generate a configuration file called config.json in the running directory, and modifying this file allows you to change the running port.

{
  "port": "6752"
}

Once the deployment is successful, the Inject SDK menu will be at the top, and you can find how to configure and integrate in the business project by click the menu.

Feature overview

Console Panel

Show the console.<log | info | warn | error> log data, support execute code;

Screenshot


Network Panel

Show the request of fetch | XMLHttpRequest | navigator.sendBeacon;

Screenshot


Page Panel

Show the current pageview and HTML node tree;

Screenshot


Storage Panel

Show the cache of localStorage | sessionStorage | cookie

Screenshot


Systems Panel

Show the userAgent info and some APIs compatibility;

Screenshot

Besides of above, you will get the realtime notification when there have new data or data changed.

Develop

  1. Clone the repo:
git clone https://github.com/HuolalaTech/page-spy-web.git
  1. Install the deps:
yarn install
  1. Local development:
# frontend
yarn start:client

# backend
yarn start:server
  1. Build for production
yarn build:client

More Repositories

1

hll-wp-therouter-android

A framework for assisting in the renovation of Android componentization(帮助 App 进行组件化改造的动态路由框架)
Kotlin
1,086
star
2

hll-wp-glog

Glog is a cross platform high-performance log library developed by Huolala.
PHP
319
star
3

HLLOfflineWebVC-iOS

iOS offline package solution for H5
Objective-C
232
star
4

page-spy

📦 The platform SDKs for PageSpy
TypeScript
193
star
5

HLLOfflineWebView-android

Android offline package solution for H5
Java
177
star
6

hll-popupsmanager-ios

Objective-C
94
star
7

page-spy-api

Go
33
star
8

hll-wp-therouter-ios

A framework for assisting in the renovation of iOS componentization
Objective-C
29
star
9

hll-harmony-component

Batchfile
27
star
10

hll-wp-guldan-ios

OC Method Time Cost Tool
Objective-C
14
star
11

react-pull-to-refreshify

A simple react pull-to-refresh component with 0 dependencies.
TypeScript
9
star
12

i-devices

A device that achieves various device style effects such as smartphones (iPhone series, Google series) and computers (MacBook, SurfaceBook series) through pure CSS code
JavaScript
8
star
13

hll-cocoapods-podspec-binary

Ruby
7
star
14

nad

A solution that bridges language boundaries.
TypeScript
5
star
15

preload-js

TypeScript
3
star
16

nad-java-core

This library is for collecting all Spring Web routes as a serializable data structure.
Java
3
star
17

word-to-vue

A tool that converts Word documents into Vue template.
JavaScript
2
star
18

page-spy-extension

JavaScript
2
star
19

hll-dynamic-res-plugin

Resource Dynamization Solution For Android
Java
2
star
20

react-json-view

<ReactJsonView /> is a react component for displaying serializable data.
TypeScript
2
star
21

batteryfinder-android

A detection tool of Android App power consumption
Kotlin
1
star
22

hll-safetyairbag-ios

Objective-C
1
star