{
  "@context": "https://schema.org",
  "@type": "SoftwareSourceCode",
  "schema_version": "2026.1",
  "name": "fieldops-public",
  "headline": "FieldOps \u2014 Unified Field Force Platform + Thin Android GPS Tracker",
  "description": "Unified Field Force Operations Web App + Thin Pure-Kotlin Android Background GPS Tracker APK: visit check-in/out, offline task execution, and route replay.",
  "abstract": "Unified Field Force Operations Web App + Thin Pure-Kotlin Android Background GPS Tracker APK: visit check-in/out, offline task execution, and route replay.",
  "problemSolved": "Building native Android/iOS screens for every field-operations workflow slows iteration to app-store release cycles, while pure PWAs get killed by mobile OS battery optimizers the moment a technician locks their phone. `fieldops-public` isolates persistent background GPS tracking into a tiny, rock-solid 7-file Kotlin APK shell with offline SQLite buffering, while keeping shift rosters, live dispatch boards, geofence validation, and day-ledger payouts on a fast TypeScript web stack.",
  "license": "https://opensource.org/licenses/MIT",
  "codeRepository": "https://github.com/mohan-n-swamy/fieldops-public",
  "url": "https://mohan-n-swamy.github.io/repos/fieldops-public/",
  "llmsTxt": "https://mohan-n-swamy.github.io/repos/fieldops-public/llms.txt",
  "llmsFullTxt": "https://mohan-n-swamy.github.io/repos/fieldops-public/llms-full.txt",
  "rawLlmsFullTxt": "https://raw.githubusercontent.com/mohan-n-swamy/fieldops-public/main/llms-full.txt",
  "aiReadme": "https://raw.githubusercontent.com/mohan-n-swamy/fieldops-public/main/AI-README.md",
  "keywords": [
    "field-operations",
    "field-service-management",
    "gps-tracker",
    "android",
    "kotlin",
    "offline-first",
    "workforce-management",
    "react",
    "typescript",
    "open-source"
  ],
  "searchQueries": [
    "open source fieldops self hosted MIT",
    "FieldOps github configurable .env",
    "how to self host fieldops with docker python typescript",
    "open source field operations reference architecture",
    "open source field service management reference architecture",
    "open source gps tracker reference architecture",
    "open source android reference architecture",
    "open source kotlin reference architecture",
    "open source offline first reference architecture"
  ],
  "capabilities": [
    "TypeScript backend (`backend/`) with integer state codes, shift attendance evaluation, GPS trail exit-episode detection, command-center feeds, and day-ledger settlement.",
    "7-file pure-Kotlin Android GPS tracker (`android-shell/app/src/main/java/org/fieldops/tracker/`): `LocationTrailService`, `TrailDatabase`, `BootReceiver`, `TrailWatchdogReceiver`, and `MainActivity`.",
    "Ray-cast point-in-polygon Geofence Hub Validator (`plugins/geofence_hub_validator/`) catching cross-zone dispatch errors.",
    "Pre-Visit Special-Care Alert Engine (`plugins/pre_visit_alerts/`) with lead-window filtering and order-level deduplication.",
    "29 pure TypeScript unit suites (`backend/test/`) + Python geospatial/Kotlin package verification tests (`tests_plugins/`)."
  ],
  "configurableInputs": [
    {
      "name": "PORT",
      "default": "4100"
    },
    {
      "name": "DATABASE_URL",
      "default": "postgresql://postgres:postgres@localhost:5432/fieldops"
    },
    {
      "name": "FIELDOPS_GPS_PING_SECONDS",
      "default": "30"
    },
    {
      "name": "FIELDOPS_TRAIL_OFFLINE_BUFFER_MAX",
      "default": "2000"
    },
    {
      "name": "GEOFENCE_ZONES_PATH",
      "default": "./plugins/geofence_hub_validator/data/hub_zones.json"
    },
    {
      "name": "PRE_VISIT_LEAD_WINDOW_MINUTES",
      "default": "90"
    },
    {
      "name": "ATTESTATION_MODE",
      "default": "mock"
    }
  ],
  "quickstart": [
    "pytest -q tests_plugins/                    # verify geofence polygon engine, pre-visit alerts & Kotlin package",
    "cd backend && npm install && npx vitest run test/state-codes.test.ts test/trail.test.ts test/attendance-evaluate.test.ts",
    "# Open android-shell/ in Android Studio to build the thin org.fieldops.tracker APK"
  ],
  "author": {
    "@type": "Person",
    "name": "Mohan N",
    "url": "https://github.com/mohan-n-swamy"
  }
}
