HuolalaTech / page-spy-web

Debug remotely and easily like chrome devtools.
https://www.pagespy.org
MIT License
4.27k stars 257 forks source link

Page Spy

[![Release][release-img]][release-url] [![license][license-img]][license-url] [![Build Status][sdk-build-img]][sdk-build-url]
[![Browser SDK version][browser-ver-img]][browser-ver-url] [![Wechat SDK version][wechat-ver-img]][wechat-ver-url] [![Alipay SDK version][alipay-ver-img]][alipay-ver-url]
[![UniApp SDK version][uniapp-ver-img]][uniapp-ver-url] [![Taro SDK version][taro-ver-img]][taro-ver-url] [![Harmony SDK version][harmony-ver-img]][harmony-ver-url]
[![API Version][api-ver-img]][api-ver-url] [![Go Version][api-go-img]][api-go-url] PageSpy - Remote debugging as seamless as local debugging. | Product Hunt PageSpy - Remote debugging as seamless as local debugging. | Hacker News English | [中文](./README_ZH.md) | [日本語](./README_JA.md)

Intro

PageSpy is a tool used for debugging projects on platforms such as Web, Mini Programs, and HarmonyOS apps.

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.

Home

Why is PageSpy?

A picture is worth a thousand words.

Why is PageSpy

When should I use?

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

The commonality among these issues is that developers cannot view runtime information as easily as they can using the console.

To address this, PageSpy provides a live view of the project for technical personnel to inspect on the debugging side. In remote collaborative scenarios, testers no longer need to frequently provide fault information to technical personnel through text, screenshots, voice messages, or screen recordings.

How to use?

In order to ensure data security and facilitate your usage, we offer comprehensive, out-of-the-box deployment solutions. Developers can choose any deployment method according to their own situations.

Option 1: deploy by node

Video tutorial:

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

# if you use npm

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

After the download is complete, you can directly execute page-spy-api in the command line to start the service. After the startup is complete, visit http://localhost:6752 on the browser. Once local testing is complete, you can deploy it to the server.

Option 2: deploy by docker

Video tutorial:

docker run -d --restart=always -v ./log:/app/log -v ./data:/app/data -p 6752:6752 --name="pageSpy" ghcr.io/huolalatech/page-spy-web:latest

After the startup is complete, visit http://localhost:6752 on the browser. Once local testing is complete, you can deploy it to the server.

How to contribute?

Click to see the Contributing.

FAQ

Click to see the FAQ.

Community

Join us on our Official Discord Server!

Roadmap

Click to see the Roadmap.