Telegram bot to download, decrypt and manage iOS IPA files via SSH/SFTP.
ipatoolTrollDecryptJBideviceinstalleripatool - Install from ipatool or brew install ipatoolideviceinstaller - Install from libimobiledevicebrew install libimobiledevicecurl extension (usually included)redis extension (optional)brew install php-redisbrew install redis pip install -r requirements.txtTrollDecryptJB - Get the deb from TrollDecryptJB iOS 14 branch and install it.git clone https://github.com/34306/tele-bot-ipa
cd tele-bot-ipa
npm install
.env file from .env.example:cp .env.example .env
.env:TELEGRAM_BOT_TOKEN=your_bot_token_here
ADMIN_IDS=your_telegram_user_id
SSH_HOST=192.168.x.x
SSH_PORT=22
SSH_USER=root
SSH_PASSWORD=alpine
# Optional: ipatool path (default: ipatool)
IPATOOL_PATH=ipatool
# Optional: Arcade check service URL (default: http://localhost:8080/check-arcade.php)
ARCADE_CHECK_URL=http://localhost:8080/check-arcade.php
# Optional: Redis configuration (if using Redis for caching)
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
REDIS_TIMEOUT=0.8
USER_SESSION_STRING, you may need to use the setup_telegram.py to get the token@BotFather in TelegramYou need to create a file backup channel and fill the channel ID into BACKUP_CHANNEL_ID for file saving and forwarding (file size larger than 2GB)
Build project:
npm run build
Run both check-arcade and bot
./start-all.sh
/start - Start bot and show menu/help - Show help guide/request <app-store-url> - Download and decrypt app from App Store URLipatool is installedipatool auth login -e <your_email>TrollDecryptJB is installed (see TrollDecryptJB)Warning:
- DONOT upload your .env file (contain ALL of your Telegram TOKEN, added in .gitignore file but just double check)
- Telegram is allow botuser but be careful with it, just in case...
/usr/local/bin/trolldecryptjb)$ claude mcp add tele-bot-ipa \
-- python -m otcore.mcp_server <graph>