Consolidates the Termux SMS server code (previously in a separate campaign_connector git submodule) into termux-sms/ at repo root. Updates phone clone commands to use sparse checkout so only the termux-sms/ directory is downloaded onto the Android device. Bunker Admin
12 lines
400 B
Bash
Executable File
12 lines
400 B
Bash
Executable File
#!/bin/bash
|
|
# SMS API Server startup script
|
|
|
|
cd ~/projects/sms-campaign-manager
|
|
|
|
echo "🚀 Starting SMS API Server..."
|
|
echo "📱 Device IP: $(ifconfig 2>/dev/null | grep -A1 wlan0 | grep inet | awk '{print $2}' | cut -d: -f2)"
|
|
echo "🌐 API URL: http://$(ifconfig 2>/dev/null | grep -A1 wlan0 | grep inet | awk '{print $2}' | cut -d: -f2):5001"
|
|
|
|
# Start the server
|
|
python termux-sms-api-server.py
|