{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "heymi-aldus-palace--self-host-capture-api-with-docker",
 "repo": "heymi/aldus-palace",
 "repo_url": "https://github.com/heymi/aldus-palace",
 "repo_slug": "heymi-aldus-palace",
 "title": "Run a self-hosted capture API with Docker",
 "page_title": "How to run a self-hosted capture API with Docker with Aldus Palace",
 "summary": "Start the HTTP service in Docker so your own frontend or scripts can post sentences to one store.",
 "who": "A small team or developer who wants a single capture endpoint backed by one SQLite file in a volume.",
 "problem": "Each new client needs its own capture logic and storage, which duplicates work.",
 "outcome": "A running HTTP service that accepts a sentence and returns a captured record.",
 "steps": [
  "Run `cp .env.example .env && docker compose up --build`",
  "Change the bearer token in .env from the example value before exposing the port",
  "Run `curl -X POST localhost:8787/v1/inputs -H 'Authorization: Bearer dev-local-token' -H 'Content-Type: application/json' -d '{\"content\":\"Ship the onboarding page next week\",\"mode\":\"sync\"}'` (inferred, check the README)",
  "Check that the response includes the captured commitment",
  "Point your frontend at the same endpoint"
 ],
 "agent_prompt": "In the repo heymi/aldus-palace, copy .env.example to .env, replace the bearer token, and start the service with docker compose up --build. Send a POST to /v1/inputs with a sentence of your choice. Expected output: a JSON response describing the captured record. Verify that the response reports a status and that a second request with a repeated sentence points to the first record.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says to run one instance per person, so a shared team deployment needs separate instances rather than one shared token.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "typescript",
 "requirements": [
  "Node 20 or newer",
  "npm to install the MCP package or the core library",
  "Docker, only for the self-hosted HTTP use case",
  "A C toolchain only if better-sqlite3 has no prebuild for your platform"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The README example uses the placeholder token dev-local-token, which must be replaced before the port is reachable from other machines."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/heymi-aldus-palace/self-host-capture-api-with-docker/",
 "md": "https://dedupedai.com/use-cases/heymi-aldus-palace/self-host-capture-api-with-docker/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/heymi-aldus-palace--self-host-capture-api-with-docker.json",
 "api_version": "v1"
}
