- Automatic Ping connection maintenance
- Supports multi-account management
- Supports proxy configuration
-
Open the Depined dashboard https://app.depined.org/dashboard
-
Log in with your email
-
Press F12 to open the developer tools and find the Application tab
-
Find
tokenin Local Storage and copy its value -
Example : eyJhbGc , eyJhbGc
Make sure your VPS meets the following conditions:
- Operating system: Ubuntu/Debian/CentOS
- Node.js version >= 16
- Memory >= 1GB
- Hard disk space >= 10GB
# Update system
apt update && apt upgrade -y
# Install Node.js (Ubuntu/Debian)
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
apt install -y nodejs
# Install Git
apt install -y git
# Install Screen (for background operation)
apt install -y screen# Clone project
git clone https://github.com/questairdrop/depined.git
cd depined
# Install dependencies
npm install# Create a new screen session
screen -S depined
# Run a program
npm run start
# Detach a screen session (press Ctrl+A then D)# View all screen sessions
screen -ls
# Reconnect to a screen session
screen -r depined
# End a program
# 1. Reconnect to a screen session
# 2. Press Ctrl+C to stop the program
# 3. Type exit to close the sessionSupport two proxy formats:
- Format 1:
ip:port:username:password - Format 2:
ip:port
Example:
208.192.117.126:6533:username:password
- Log viewing
# Real-time log viewing
tail -f depined.log- Automatic restart settings
Create
restart.sh:
#!/bin/bash
while true; do
npm run start
sleep 5
doneSet permissions and run:
chmod +x restart.sh
screen -S depined ./restart.sh- Memory monitoring
# View memory usage
free -h
# View the resources occupied by the program
top | grep node- Program not responding
# Find and kill all Node.js processes
pkill -f node
# Restart the program
screen -S depined
npm run start- Memory usage is too high
# Clean up system cache
sync && echo 3 > /proc/sys/vm/drop_caches- Network problem
# Test network connection
ping app.depined.org
# Check network status
netstat -tunlp | grep node- This script is for learning and communication only
- Any consequences of using this script are at the user's own risk
- The author is not responsible for any losses caused by using this script
This project is open source based on the MIT license - see the LICENSE file for detail
