Argo connects various services to connect millions of users on platforms without public networks. --- Born for the JS platform
- Project Features
- Deployment
- Deployment Highlights in Glitch
- Deployment Highlights in Daki
- Deployment of ttyd webssh / filebrowser webftp
- Thanks to the following authors for their articles and projects
- Disclaimer
- This project is used to deploy Xray on the Express.js PaaS platform, using the Argo + Xray + WebSocket + TLS solution
- Unlock ChatGPT
- View system information in the browser, convenient and intuitive
- Use CloudFlare Argo tunnel, directly select + tunnel, CDN no longer needs to be workers
- Backflow and diversion, support Xray's 4 mainstream protocols: vless / vmess / trojan / shadowsocks
- vmess and vless uuid, trojan and shadowsocks password, ws path of each protocol can be customized or use the default value
- Integrate Nezha probe, you can freely choose whether to install
- Front-end js timed keep alive, users who know how to play can modify the interval time according to specific circumstances
- Node information is output in V2rayN / Clash / Little Rocket link mode
- Xray file recompiles official file to increase confidentiality, and modifies the display information at runtime. The file is: https://github.com/XTLS/Xray-core/blob/main/core/core.go
- You can use webssh and webftp with a browser, which is more convenient for managing the system
- Modify the username and password for querying the web page in lines 1 and 2 of the
server.jsfile | Variable name | Required | Default value | Remarks | | ------------ | ------ | ------ | ------ | | WEB_USERNAME | Yes | admin | Username of the web page | | WEB_PASSWORD | Yes | password | Password of the web page |
- Modify the first 4-15 lines of the
entrypoint.shfile; the authentication of accessing the page is modified in the 1st and 2nd lines of theserver.jsfile. Required | Variable name | Required | Default value | Remarks | | ------------ | ------ | ------ | ------ | | UUID | No | de04add9-5c68-8bab-950c-08cd5320df18 | Can be generated online https://www.zxgj.cn/g/uuid | | WSPATH | No | argo | Do not start with /, the protocol path is/WSPATH-protocol, such as/argo-vless,/argo-vmess,/argo-trojan,/argo-shadowsocks| | NEZHA_SERVER | No | | IP or domain name of the Nezha probe server | | NEZHA_PORT | No | | Port of the Nezha probe server | | NEZHA_KEY | No | | Nezha probe client-specific key | | NEZHA_TLS | No | | Whether to enable SSL/TLS encryption for the Nezha probe. If not, please delete it. If you want to enable it, fill in "1" | | ARGO_AUTH | No | | Argo's token or json value. The json value can be easily obtained from the following website without binding a card: https://fscarmen.cloudflare.now.cc/ | | ARGO_DOMAIN | No | | Argo's domain name. It must be filled in together with ARGO_DOMAIN to take effect | | SSH_DOMAIN | No | | The domain name, username and password of webssh are <WEB_USERNAME> and <WEB_PASSWORD> | | FTP_DOMAIN | No | | The domain name, username and password of webftp are <WEB_USERNAME> and <WEB_PASSWORD> |
- js to be applied | Command | Description | | ---- |------ | | /list | View node data | | /status | View background process | | /listen | View background listening port | | /test | Test whether it is a read-only system |
Here we only show the highlights, for more details, please refer to the project: https://github.com/fscarmen2/X-for-Glitch
- Principle
+---------+ argo +---------+ http +--------+ ssh +-----------+
| browser | <==========> | CF edge | <==========> | ttyd | <=======> | ssh server|
+---------+ argo +---------+ websocket +--------+ ssh +-----------+
+---------+ argo +---------+ http +--------------+ ftp +-----------+
| browser | <==========> | CF edge | <=========> | filebrowser | <=======> | ftp server|
+---------+ argo +---------+ websocket +--------------+ ftp +-----------+
- Tunnel built using Json method
- The front-end JS is based on the project of Nike Jeff, and is modified for universality and extended functions, https://github.com/hrzyang/glitch-trojan
- The back-end is all original, and the source must be indicated if reproduced.
- This program is for learning and understanding only, not for profit, please delete it within 24 hours after downloading, It cannot be used for any commercial purpose. The text, data and pictures are all copyrighted. If reproduced, the source must be indicated.
- The use of this program must comply with the deployment disclaimer. The use of this program must comply with the laws and regulations of the deployment server location, the country where it is located and the country where the user is located. The program author is not responsible for any improper behavior of the user.













