Usage
Show subscription URL
Command to print the current subscription URL from the container environment:
cd /opt/3dp-manager && docker compose exec node env | grep SUB_URL | cut -d'=' -f2
Collect domains from multi-subscriptions
This utility extracts domains from subscriptions and generates a whitelist for the generator.
node get_domains.js
Node.js is required.
Using a custom whitelist
- Prepare a file in
whitelist.txtformat.
my_whitelist.txt
refersion.com
vk.com
miro.com
cloudflare.com
google.com
- Rename it to
my_whitelist.txtand copy it to/opt/3dp-manager/app.
cd /opt/3dp-manager && docker cp ./app/my_whitelist.txt node:/app/my_whitelist.txt
docker exec -it node sh and then node rotate.js.
Manual generation run
To create new inbounds, run the following commands in sequence:
cd /opt/3dp-manager
docker exec -it node sh
node rotate.js