How brian7704/opentakserver works
OpenTAKServer is a TAK interoperability server. The principal workflow is: ATAK-family clients connect over TCP or TLS, handlers authenticate and publish CoT through RabbitMQ, the parser persists operational data and emits live updates to the WebUI. REST/MARTI APIs expose the same domain state, while certificate enrollment, Meshtastic, plugins, Mumble, LDAP, missions, packages, and video provide distinct capabilities. Some API registrations and consumers were inferred from documented structure; unsampled call paths are intentionally limited.
Main entry points: extensions.py Operational Database · EudHandler.py CoT Session Handler · user.py User Authentication · cot_parser.py CoT Parser
Components 25
Ingress and Transport
- Application Factory
opentakserver/app.py - TCP EUD Server
opentakserver/eud_handler/eud_handler.py - TLS EUD Handler
opentakserver/eud_handler/EudHandlerSSL.py - CoT Session Handler
opentakserver/eud_handler/EudHandler.py
CoT Processing and State
- CoT Parser
opentakserver/cot_parser/cot_parser.py - Operational Database
opentakserver/extensions.py - Live SocketIO
opentakserver/extensions.py
APIs and Product Features
- MARTI APIs
opentakserver/blueprints/marti_api/marti_api.py - OTS APIs
opentakserver/blueprints/ots_api/api.py - Mission API
opentakserver/blueprints/ots_api/mission_api.py - Package APIs
opentakserver/blueprints/ots_api/package_api.py - Video API
opentakserver/blueprints/ots_api/video_api.py
External Integrations
- Meshtastic Controller
opentakserver/controllers/meshtastic_controller.py - Plugin Manager
opentakserver/plugins/PluginManager.py - Mumble Authenticator
opentakserver/mumble/mumble_authenticator.py
Identity and Certificates
- Certificate Enrollment
opentakserver/blueprints/marti_api/certificate_enrollment_api.py - Certificate Authority
opentakserver/certificate_authority.py - User Authentication
opentakserver/models/user.py
Other components
- TAK Clients
- WebUI
- Mumble Server
- LDAP Directory
- RabbitMQ
- MediaMTX
- Meshtastic Devices
Connections 29
- Application Factory → TCP EUD Server: starts server
- TAK Clients → TCP EUD Server: sends CoT
- TAK Clients → TLS EUD Handler: sends TLS CoT
- TLS EUD Handler → CoT Session Handler: extends handler
- TCP EUD Server → CoT Session Handler: dispatches sessions
- CoT Session Handler → User Authentication: authenticates users
- CoT Session Handler → RabbitMQ: publishes CoT
- RabbitMQ → CoT Parser: dispatches CoT
- CoT Parser → Operational Database: stores state
- CoT Parser → Live SocketIO: emits updates
- Live SocketIO → WebUI: streams events
- WebUI → OTS APIs: calls endpoints
- WebUI → MARTI APIs: calls endpoints
- OTS APIs → Operational Database: reads and writes
- MARTI APIs → Operational Database: reads and writes
- Mission API → Operational Database: manages missions
- Package APIs → Operational Database: manages packages
- Video API → Operational Database: manages streams
- Video API → MediaMTX: controls streaming
- Certificate Enrollment → User Authentication: authenticates request
- Certificate Enrollment → Certificate Authority: signs certificates
- Meshtastic Devices → Meshtastic Controller: sends packets
- Meshtastic Controller → RabbitMQ: publishes messages
- Meshtastic Controller → Operational Database: stores points
- WebUI → Plugin Manager: manages plugins
- Plugin Manager → Operational Database: stores metadata
- Mumble Server → Mumble Authenticator: authenticates login
- Mumble Authenticator → User Authentication: checks credentials
- User Authentication → LDAP Directory: delegates identity