🎁 不要只是下载或Fork。请 follow 我的GitHub、给我所有项目一个 Star 星星(拜托了)!你的支持是我不断前进的动力! 💖
✅解锁更多技术请访问【个人博客】
基于 Node.js 的 vless 实现包。它在各种 Node.js 环境中都能运行,包括但不限于:Windows、Linux、MacOS、Android、iOS、树莓派等。同时,它也适用于各种 PaaS 平台,如:replit、heroku 等。
This README explains how to set up and use the start.sh
script to manage the project components.
- Connect to your host using SSH:
ssh <username>@<panel>.serv00.com
Use the information emailed to you by serv00.
- Enable management permissions:
devil binexec on
AFTER THIS STEP, EXIT FROM SSH AND LOG IN AGAIN.
- Clone the repository:
cd domains/${USER}.serv00.net
git clone https://github.com/ansoncloud8/am-nodejs-proxy.git
cd am-nodejs-proxy
To use the script, run:
./start.sh <action> <sub-action>
Action | Sub-Action | Command | Description |
---|---|---|---|
setup | node/xray/cf | ./start.sh setup node |
Setup services in a single command |
check | node/xray/cf | ./start.sh check node |
Checks Cloudflared and other services |
show | node/xray/all | ./start.sh show node |
Displays VLESS connection links from node/.env |
View all node information
cat domains/${USER}.serv00.net/am-nodejs-proxy/node/.env
NODE.JS AND XRAY CANNOT BE ACTIVE SIMULTANEOUSLY. ONLY ONE OF THEM SHOULD BE RUNNING AT A TIME.
To check the status of a specific component, you can attach to its tmux session:
tmux attach -t <session>
Replace <session>
with:
cf
for Cloudflarednode
for Node.jsxray
for Xray
For example, to check the Cloudflared session:
tmux attach -t cf
To detach from a tmux session without closing it, press:
Ctrl + b, then d
This key combination allows you to exit the session while leaving it running in the background.
- The script uses tmux to manage sessions for each component.
- Cron jobs are set up for periodic maintenance of Node.js and Xray.
- Cloudflared, Node.js, and Xray configurations are generated automatically.
- The script includes functions for port management and cleanup.
🎁 不要只是下载或Fork。请 follow 我的GitHub、给我所有项目一个 Star 星星(拜托了)!你的支持是我不断前进的动力! 💖
[点击展开] 赞赏支持 ~🧧
*我非常感谢您的赞赏和支持,它们将极大地激励我继续创新,持续产生有价值的工作。*- USDT-TRC20:
TWTxUyay6QJN3K4fs4kvJTT8Zfa2mWTwDD