vibetunnel/test-server.sh
Peter Steinberger 99b77c9b53 feat: implement working HTTP server with debug panel
- Replace stub TunnelServerDemo with full Hummingbird HTTP server
- Add comprehensive debug settings view with server info and controls
- Implement API endpoint listing with interactive testing
- Add TTYForwardManager for tty-fwd integration
- Auto-start HTTP server on app launch on port 8080
- Show server status, port, and base URL in debug panel
- Add test buttons for GET endpoints with live response preview
- Include debug mode toggle and log level selector
- Add quick access to Console.app and Application Support
- Update bundle identifier to sh.vibetunnel.vibetunnel
- Add code signing configuration templates
2025-06-16 02:00:56 +02:00

19 lines
No EOL
411 B
Bash
Executable file

#!/bin/bash
echo "Testing VibeTunnel HTTP Server..."
echo
# Test root endpoint
echo "Testing root endpoint (/):"
curl -s http://localhost:8080/ | head -20
echo
# Test health endpoint
echo "Testing health endpoint (/health):"
curl -s -w "\nHTTP Status: %{http_code}\n" http://localhost:8080/health
echo
# Test info endpoint
echo "Testing info endpoint (/info):"
curl -s http://localhost:8080/info | jq .
echo