A community based topic aggregation platform built on atproto
1#!/bin/bash
2# Stop all ngrok tunnels
3
4# Colors
5GREEN='\033[0;32m'
6YELLOW='\033[1;33m'
7NC='\033[0m'
8
9echo -e "${YELLOW}Stopping ngrok tunnels...${NC}"
10
11# Kill processes by PID if available
12if [ -f /tmp/ngrok-pids.txt ]; then
13 PIDS=$(cat /tmp/ngrok-pids.txt)
14 for pid in $PIDS; do
15 kill $pid 2>/dev/null || true
16 done
17 rm /tmp/ngrok-pids.txt
18fi
19
20# Fallback: kill all ngrok processes
21pkill -f "ngrok http" || true
22
23# Clean up logs
24rm -f /tmp/ngrok-*.log
25
26echo -e "${GREEN}✓ ngrok tunnels stopped${NC}"