{
  "id": "wakapi",
  "name": "Wakapi",
  "slogan": "A self-hosted, WakaTime-compatible backend for tracking coding time and stats.",
  "category": "Developer Tools",
  "categorySlug": "developer-tools",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 256,
  "architectures": {
    "amd64": "published",
    "arm64": "tested"
  },
  "trust": "verified",
  "verified": true,
  "status": "active",
  "installCommand": "levelrail-cli templates install wakapi --name my-wakapi",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/wakapi/",
  "docsUrl": "https://wakapi.dev",
  "sourceRepo": "https://github.com/muety/wakapi",
  "markdownUrl": "https://levelrail.com/templates/wakapi.md",
  "jsonUrl": "https://levelrail.com/templates/wakapi.json",
  "indexable": true,
  "description": "A self-hosted, WakaTime-compatible backend for tracking coding time and stats. Runs 2 containers (db, wakapi), with wakapi listening on port 3000; data is kept in named volumes.",
  "pinnedTag": "2.13.0",
  "licenseUrl": "https://github.com/muety/wakapi/blob/master/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "wakapi_db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "wakapi",
      "image": "ghcr.io/muety/wakapi",
      "tag": "2.13.0",
      "ports": [
        3000
      ],
      "volumes": [
        "wakapi_data -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "generated"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_DB_HOST",
      "kind": "preset"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_DB_NAME",
      "kind": "preset"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_DB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_DB_PORT",
      "kind": "preset"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_DB_TYPE",
      "kind": "preset"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_DB_USER",
      "kind": "generated"
    },
    {
      "service": "wakapi",
      "name": "WAKAPI_SECURITY_PASSWORD_SALT",
      "kind": "generated"
    }
  ],
  "verifiedTag": "2.13.0",
  "verifiedArches": [
    "arm64"
  ],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy wakapi --name my-wakapi",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/wakapi/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy wakapi --name my-wakapi"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/wakapi/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
