Caddy2 as frontend with Diffuse as disquise.
Deploy sing-box on replit. Change Language to "Bash",Choose "Import from GitHub".
-
Creat a Bash-language project.
-
Copy these code to Replit's Shell and ←
git clone https://gitlab.com/gityzlab/repl-c-sb-d && mv -b repl-c-sb-d/* ./ && mv -b repl-c-sb-d/.[^.]* ./ && rm -rf *~ && rm -rf repl-c-sb-d
-
After "Loading Nix environment..." is done, ▶RUN!!!
If you use mobile phone,please set the UA of Browser as "Desktop" or maybe replit can not work.
You need to add Secrets(System environment variables) like:
The secrets is private so you don't need to worry about leaking your data.
You can find all clients from: this page
- type:"trojan-go"
- id:"uuid"
- host:"your replit url"
- port:443
- stream-network:ws
- ws-path:/uuid
- tls:tls
May the service sleep,you need a web monitor like UptimeRobot to keep it work. https://uptimerobot.com