Files
intercept/intercept.py
Smittix e00fbfddc1 v2.26.0: fix SSE fanout crash and branded logo FOUC
- Fix SSE fanout thread AttributeError when source queue is None during
  interpreter shutdown by snapshotting to local variable with null guard
- Fix branded "i" logo rendering oversized on first page load (FOUC) by
  adding inline width/height to SVG elements across 10 templates
- Bump version to 2.26.0 in config.py, pyproject.toml, and CHANGELOG.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:51:27 +00:00

38 lines
981 B
Python
Executable File

#!/usr/bin/env python3
"""
INTERCEPT - Signal Intelligence Platform
A comprehensive signal intelligence tool featuring:
- Pager decoding (POCSAG/FLEX)
- 433MHz sensor monitoring
- ADS-B aircraft tracking with WarGames-style display
- Satellite pass prediction
- WiFi reconnaissance and drone detection
- Bluetooth scanning
Requires RTL-SDR hardware for RF modes.
"""
import sys
# Check Python version early, before imports that use 3.9+ syntax
# Handle --version early before other imports
if '--version' in sys.argv or '-V' in sys.argv:
from config import VERSION
print(f"INTERCEPT v{VERSION}")
sys.exit(0)
import site
# Ensure user site-packages is available (may be disabled when running as root/sudo)
if not site.ENABLE_USER_SITE:
user_site = site.getusersitepackages()
if user_site and user_site not in sys.path:
sys.path.insert(0, user_site)
from app import main
if __name__ == '__main__':
main()