mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 22:59:59 -07:00
- Split monolithic intercept.py (15k lines) into modular structure: - routes/ - Flask blueprints for each feature - templates/ - Jinja2 HTML templates - data/ - OUI database, satellite TLEs, detection patterns - utils/ - dependencies, process management, logging - config.py - centralized configuration with env var support - Add type hints to function signatures - Replace bare except clauses with specific exceptions - Add proper logging module (replaces print statements) - Add environment variable support (INTERCEPT_* prefix) - Add test suite with pytest - Add Dockerfile for containerized deployment - Add pyproject.toml with ruff/black/mypy config - Add requirements-dev.txt for development dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
755 B
Python
Executable File
29 lines
755 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 and Iridium burst detection
|
|
- WiFi reconnaissance and drone detection
|
|
- Bluetooth scanning
|
|
|
|
Requires RTL-SDR hardware for RF modes.
|
|
"""
|
|
|
|
import sys
|
|
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()
|