campaign_connector/android/start-sms-api.sh
2025-08-25 09:41:16 -06:00

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