GithubHelp home page GithubHelp logo

chuanshuoye / page-spy-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huolalatech/page-spy-web

0.0 0.0 0.0 1.61 MB

Debug remotely and easily like chrome devtools.

Home Page: https://huolalatech.github.io/page-spy-web/

Shell 2.91% JavaScript 7.91% Go 0.43% TypeScript 72.63% CSS 0.15% HTML 0.23% Dockerfile 0.13% Less 15.62%

page-spy-web's Introduction

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

Once the deployment is successful, the Inject SDK menu will be at the top, and you can view 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

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.