This script offers a convenient way to monitor your Just My Socks bandwidth usage directly within Quantumult X. Whether used as part of a policy group or executed as a standalone script, it provides real-time visibility into your data consumption.
- Fetches real-time monthly bandwidth quota and usage
- Displays remaining bandwidth and usage percentage
- Supports Quantumult X node menu or standalone mode
- Clean and intuitive display to help you avoid hitting your bandwidth cap
- Log in to your Just My Socks account, and locate the “API – Bandwidth Counter” section.
- Copy your unique API URL.
- Replace the placeholder in the script:
var api_url = "XXXXXX"; // <-- Paste your API URL here
- Import the edited script into the relevant configuration section of Quantumult X.
- Either trigger the script via a policy group or run it manually within Quantumult X.
- Depending on how the script is run, your usage stats will appear in the Quantumult X log or as a popup HTML notification.
Never share your Just My Socks API URL. It contains sensitive credentials that grant access to your account’s usage data. If you suspect your API URL has been exposed, change your account password immediately to regenerate the token.
This project is licensed under the Apache License 2.0.
Feel free to fork, contribute, and open issues or PRs!