Skip to content

im-hanzou/gradient-bot

 
 

Repository files navigation

Gradient Network Bot

Start with Node.js for single proxy usage

This is OPTIONAL if you want to test a single proxy and check its support for Gradient or not

Install Node.js LTS

To install requirements, run command:

npm install 

Testing the proxy, run command:

  • Linux:
sudo APP_USER='example@gmail.com' APP_PASS='password' PROXY=socks5://username@password@proxyhost:port node app.js
  • Windows:
set APP_USER="example@gmail.com" && set APP_PASS="password" && set PROXY=socks5://username:password@proxyhost:port && node app.js

Start with Docker with multiple proxies

Install Docker

Pull the docker image:

docker pull overtrue/gradient-bot:latest

Save the proxy address to the proxies.txt file in the format, example:

socks5://username:password@proxyhost:port
http://username:password@proxyhost:port
socks5://proxyhost:port
http://proxyhost:port

Then start the container

  • Linux:
docker run -d -e APP_USER=user@mail.com -e APP_PASS=password -v ./proxies.txt:/app/proxies.txt overtrue/gradient-bot
  • Windows CMD:

Change C:/Folder/Path/To/proxies.txt to your proxies.txt destination path

docker run -d -e APP_USER=user@mail.com -e APP_PASS=password -v C:/Folder/Path/To/proxies.txt:/app/proxies.txt overtrue/gradient-bot

Note: Please replace the proxies.txt path with the correct path, or cd to the directory where proxies.txt is located before executing the docker run command.

View the running log

docker ps

This command will list all containers, find the corresponding container ID (the value corresponding to the "CONTAINER ID" column), and then execute:

docker exec -it <container_id> pm2 logs

Delete the container

docker rm -f <container_id>

Note

  • Run this bot, and it will update your referrer code to my invite code if you don't have one.
  • You can just run this bot at your own risk, I'm not responsible for any loss or damage caused by this bot. This bot is for educational purposes only.

Languages

  • JavaScript 94.0%
  • Dockerfile 5.8%
  • Shell 0.2%