Analysis updated 2026-07-03
Install BoxJs to get a graphical interface in your browser for managing scripts running inside your iOS proxy app.
Use Env.js in your own scripts so the same script works identically in Surge, Shadowrocket, and Quantumult X without changes.
Write a proxy script that saves and retrieves data between runs using the persistent storage functions in Env.js.
| chavyleung/scripts | callmecavs/layzr.js | freestylefly/awesome-gpt-image-2 | |
|---|---|---|---|
| Stars | 5,511 | 5,508 | 5,508 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 2/5 | 1/5 |
| Audience | general | developer | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
Requires an iOS proxy app like Surge or Quantumult X, BoxJs is installed by adding a rewrite module URL to your proxy app's settings.
This repository contains two related projects used with network proxy tools on iOS: BoxJs and Env.js. The README is written primarily in Chinese, so this explanation is based on the portions that are in English and the context provided by the code structure. BoxJs is a single-page web application that acts as a management interface for scripts running inside iOS proxy apps such as Shadowrocket, Surge, Quantumult X, Loon, and Stash. These are apps that intercept and modify network traffic on an iPhone or iPad. BoxJs adds a settings panel accessible through the browser at boxjs.com after you install the corresponding plugin for your proxy app. It gives you a graphical way to configure scripts that would otherwise require editing text files. Env.js is a JavaScript helper library included in this repository. Script authors embed it at the bottom of their scripts to get a consistent set of utilities across different proxy apps. The library provides an HTTP client that supports GET, POST, PUT, DELETE, and other request methods. It also provides functions for reading and writing persistent data, meaning a script can save values between runs. The same script can then work identically whether it is running inside Surge, Quantumult X, or another supported app, because Env.js handles the differences between those environments. To use BoxJs, you install the appropriate rewrite module for your proxy app using the installation links in the README, then visit boxjs.com in a browser while the proxy is active. To use Env.js in your own scripts, you include the minified version at the end of your script file and call its functions from the top. The project is licensed under the GPL and has a Telegram group for discussion.
This repo contains BoxJs, a browser-based settings panel for managing scripts inside iOS proxy apps like Surge and Shadowrocket, and Env.js, a helper library that makes your scripts work the same way across different proxy apps.
Mainly JavaScript. The stack also includes JavaScript.
Licensed under the GPL, which means you can use and modify the code freely, but any changes you distribute must also be shared as open source under the same license.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.