{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b0563afc-3078-4e45-8f0f-0ea3fe6d70ac",
    "slug": "languagetool-or-just-updated-grammar-and",
    "name": "LanguageTool | (Just Updated) Grammar and Spell Check API, Self-Hosted Grammarly Alternative",
    "description": "Self-hosted grammar and spell check API, no setup, 30+ languages",
    "url": "https://railway.com/deploy/languagetool-or-just-updated-grammar-and",
    "upstream": {
      "image": "erikvl87/languagetool:6.8@sha256:ef8fa12cbd485166c9ceeb7139d76d56d07707a624da6bb1fc1fbb5411750527"
    }
  },
  "services": [
    {
      "name": "languagetool",
      "source": {
        "image": "erikvl87/languagetool:6.8@sha256:ef8fa12cbd485166c9ceeb7139d76d56d07707a624da6bb1fc1fbb5411750527"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "languagetool-or-just-updated-grammar-and"
      }
    },
    "cli": "railway deploy --template languagetool-or-just-updated-grammar-and",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b0563afc-3078-4e45-8f0f-0ea3fe6d70ac",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "65276836-d238-4839-abc3-eb9ce384603b": {
                  "icon": null,
                  "name": "languagetool",
                  "deploy": {
                    "startCommand": "/bin/bash -c 'cd /LanguageTool; lim=$(cat /sys/fs/cgroup/memory.max 2>/dev/null); if [ \"$lim\" -gt 0 ] 2>/dev/null; then mb=$((lim/1024/1024*70/100)); [ $mb -gt 6144 ] && mb=6144; else mb=1024; fi; echo \"languagetool uid=$(id -u) port=${PORT:-8010} xmx=${mb}m\"; exec java -Xms256m -Xmx${mb}m -cp languagetool-server.jar org.languagetool.server.HTTPServer --port ${PORT:-8010} --public --allow-origin \"*\" --config config.properties'",
                    "healthcheckPath": "/v2/languages",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "erikvl87/languagetool:6.8@sha256:ef8fa12cbd485166c9ceeb7139d76d56d07707a624da6bb1fc1fbb5411750527"
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "languagetool",
      "method": "GET",
      "path": "/v2/languages",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-10-30T04:14:55.026Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-20T16:20:29.682Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_604283cdf2f9437b8a81",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 48,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "languagetool"
  }
}
