Automate your airdrop bot in Termux with session management powered by tmux!
Airfarmbot Termux Edition is a tool designed to automate airdrop bots in Termux while utilizing tmux
for session management. This tool ensures that the bot remains active, even if the tmux
session disconnects.
The latest version introduces a more user-friendly experience and enhanced logger details for better monitoring, efficiency, and streamlined bot execution.
-
Enhanced Logger Details
- Improved activity logs for better clarity on bot processes.
- Logs now display updates, command executions, and error handling with detailed information.
-
More User-Friendly and Efficient
- Optimized bot operations for easier usage.
- Enhanced performance to handle multiple sessions seamlessly.
-
Auto-Run with Delay
Automatically execute bots with a specified time delay to keep sessions active. -
Automatic Repository Updates
Ensures that the bot's code is always up-to-date usinggit pull
. -
Detailed Logging
Provides clear and concise logs for activity tracking, command execution, and error monitoring.
Ensure tmux
, git
, and Rust
are installed:
pkg install tmux git rust
Download the project code with the following command:
git clone https://github.com/livexords-nw/airfarmbot-termux-edition.git
Move into the project folder:
cd airfarmbot-termux-edition
Build the project using:
cargo build
Execute the bot with:
cargo run
Example configuration:
{
"update_repos": true,
"auto_run": true,
"delay_minutes": 5
}
update_repos
: Enables automatic repository updates.auto_run
: Enables auto-run feature.delay_minutes
: Time delay between each auto-run in minutes.
Define bot sessions in sessions.txt
with the following format:
session_name,directory,command
Example:
bot1,/home/user/bot1,python3 bot.py
bot2,/home/user/bot2,python3 bot.py
The logger provides detailed information such as:
- [INFO] Starting repository update...
- [SUCCESS] Repository updated successfully.
- [RUNNING] Executing session
bot1
. - [ERROR] Failed to execute session
bot2
: File not found.
This script is developed by livexords. For suggestions, questions, or contributions, feel free to reach out: