This is the official introduction:
Livepool is a WEB development debugging tool based on NodeJS, similar to Fiddler support for grabbing and local substitution, and is a convenient alloyteam and debugging solution for Tencent WorkFlow in the development practice process.
There are quite a few features:
- Based on NodeJS, cross-platform
- Support HTTP capture and local replacement debugging, Https/websockets direct proxy forwarding (no local replacement is supported)
- Easy UI Management interface, similar to Fiddler, reduces learning costs
- Can be run out of the UI, adapted to some scenarios that do not need to be grabbed, only need to use substitution and simple routing
- Project-based replacement rule management for easy and efficient, rules support drag-and-drop sequencing
- Support for local file substitution based on request path, support for routing forwarding based on request path (host configuration)
- Replacement type support: File/folder substitution, combo merge substitution, Qzmin replacement (batch combo), delay delay, etc.
- Support Auto Set System Agent
- Support for rule filtering, showing only requests for attention
- Build HTTP Get/post request interface for easy interface debugging
- Features: Analog gprs/3g and other low speed (Mac only)
- Features: Support offline site to local, and automatic code formatting
But what makes my blood boil is his local replacement development feature, so let's step through this magical process ...
1. Install Nodejs: Since this tool is based on Nodejs, first install Nodejs,:http://nodejs.org/download and choose the version that is right for you:
2. Install Livepool via NPM (Dependency package management tool, which can be understood as Nodejs maven), and enter directly on the command line: NPM install LIVEPOOL-G,NPM automatically downloads and installs Livepool and its dependencies.
3. Run through the command line input Livepool to perform the successful result participation:
4. Open the Livepool graphical interface, accessed through the browser: http://127.0.0.1:8002, as shown in the interface (click to enlarge):
5. Set the Livepool browser agent, select the interface menu Tools, System Proxy, set up browse any page, you should be able to see the request it caught.
6. Then in the pool panel below to create a project and a rule, you can edit the local static file css or JS, real-time view of the effect, save the time to build the environment.
For more features and replacement rules, see:https://github.com/rehorn/livepool
Implement local replacement development with Web Capture analysis tool Livepool