{
  "id": "libsql",
  "name": "libSQL Server",
  "slogan": "Server for libSQL, the open contribution fork of SQLite, speaking the Hrana protocol over HTTP. Runs as a single primary node with data on a volume.",
  "category": "Database Tools",
  "categorySlug": "database-tools",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 128,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install libsql --name my-libsql",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/libsql/",
  "docsUrl": "https://github.com/tursodatabase/libsql/tree/main/libsql-server",
  "sourceRepo": "https://github.com/tursodatabase/libsql",
  "markdownUrl": "https://levelrail.com/templates/libsql.md",
  "jsonUrl": "https://levelrail.com/templates/libsql.json",
  "indexable": true,
  "description": "Server for libSQL, the open contribution fork of SQLite, speaking the Hrana protocol over HTTP. Runs as a single primary node with data on a volume.",
  "pinnedTag": "v0.24.32",
  "licenseUrl": "https://github.com/tursodatabase/libsql/blob/HEAD/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Connect a libSQL client to this address. The server has no login, so keep it private or put an auth layer in front."
  ],
  "services": [
    {
      "name": "libsql",
      "image": "ghcr.io/tursodatabase/libsql-server",
      "tag": "v0.24.32",
      "ports": [
        8080
      ],
      "volumes": [
        "data -> /var/lib/sqld"
      ]
    }
  ],
  "env": [
    {
      "service": "libsql",
      "name": "SQLD_HTTP_LISTEN_ADDR",
      "kind": "preset"
    },
    {
      "service": "libsql",
      "name": "SQLD_NODE",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy libsql --name my-libsql",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/libsql/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy libsql --name my-libsql"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/libsql/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
