Skip to content

TAK Service

URL: tak.irregulars.io | Source: apps/tak-service/

The TAK Service is a tactical mapping and real-time collaboration platform that integrates Cursor-on-Target (CoT) standards with the IrregularChat ecosystem. It bridges the community’s digital workspace (Signal, TeamCO, Events) with geospatial awareness (ATAK/WinTAK maps), so location data, team positions, and operational context flow automatically between platforms.

Many IrregularChat members use ATAK (Android Team Awareness Kit) for training, exercises, and field operations. Without the TAK Service, location data, operational context, and team status would have to be manually replicated between Signal chats, TeamCO workspaces, and TAK maps. The TAK Service automates this data flow — a check-in from Signal appears on the TAK map, a blocker posted in TeamCO shows as a marker, and weather alerts appear as geofenced CoT events.

  • Real-time CoT markers — Publish and ingest Cursor-on-Target XML via /api/ingest
  • WebSocket map rooms — Live position updates scoped to workspaces (Durable Objects)
  • SVG marker icons — Grouped categories with human-readable types
  • Device tracking — Last-seen timestamps, position caching, auto-stale after 1 hour
  • Marker CRUD — Create, edit, delete markers with rich popups showing location data
  • Mission management — Create/list missions with item counts and change audit trails
  • Mission broadcasting — Changes push to workspace WebSocket rooms in real-time
  • Data packages — TAK Server enrollment (mission delivery model)
  • Polygon geofences — GeoJSON-based, up to 50 per workspace
  • Entry/exit alerts — Severity levels (low/medium/high/critical)
  • Real-time evaluation — Non-blocking async evaluation against device positions
  • TeamCO bridge — Critical alerts become TeamCO announcements
  • CA management — Certificate Authority generation and certificate issuance
  • PKCS12 truststores — iOS/iTAK compatibility (3DES support)
  • QR code enrollment — Over-the-shoulder SSO integration for easy device onboarding
  • NWS alert ETL — Scheduled ingestion of National Weather Service alerts every 15 minutes
  • Geofence-triggered weather markers — Alerts appear on maps for relevant workspace areas

The TAK Service works with the Signal bot primarily through TeamCO:

CommandDescription
!teamco create [name]Creates workspace + auto-linked TAK map
!teamco setlocSet location — automatically bridges to TAK map marker
!teamco checkin/checkoutLocation tracking — position shared with TAK
!location <coords>Convert coordinates (MGRS, DD, DMS) — enriches TAK data

Location data flows: Signal Bot → TeamCO → TAK Service → ATAK/WinTAK map.

Signal Bot → TeamCO → TAK Service (location data flow)
TAK Service ←→ TeamCO (bidirectional location + blocker bridge)
TAK Service → TAK Server (CoT XML, missions, data packages)
TAK Service → NWS (weather alert ingestion)
TAK Service → Authentik SSO (login, enrollment)
  • TeamCO — The primary integration. Bidirectional: TAK markers become TeamCO locations, TeamCO locations appear as TAK markers. Blockers and announcements from TeamCO render as map markers (a-u-G for blockers, a-h-G for alerts). Workspace linking via tak_workspace_slug
  • Signal Bot — Location commands flow through TeamCO to TAK. Check-in/check-out buttons appear in TAK location popups
  • TAK Server — The actual ATAK/WinTAK server infrastructure receiving CoT XML
  • NWS — Weather alerts ingested and displayed as geofence-triggered map markers

Recent work (2025-2026):

  • Rich location management with TAK map auto-bridge
  • TeamCO overlay showing announcements, resources, and blockers in map popups
  • Check-in/check-out buttons in location popups
  • Certificate enrollment gaps addressed (DragonLayer review)
  • PKCS12 truststore and 3DES compatibility for iOS/iTAK
  • Chat UI replacement with JWT cross-origin bridge token
  • TAK Overview — General TAK introduction and client setup
  • TAK Server — TAK Server infrastructure and administration
  • TeamCO — Team coordination platform (primary integration)
ComponentTechnology
RuntimeCloudflare Workers
FrameworkHono
DatabaseD1 (markers, devices, geofences, missions, certificates, workspaces)
Real-timeWebSockets via Durable Objects (workspace-scoped map rooms)
SessionsKV
StorageR2 (data packages, certificates)
ObservabilityEnabled (Cloudflare analytics)
AuthAuthentik OIDC via @irregularchat/shared-utils