{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "tntexploding-struinfo--self-host-personal-knowledge-base",
 "repo": "tntexploding/StruInfo",
 "repo_url": "https://github.com/tntexploding/StruInfo",
 "repo_slug": "tntexploding-struinfo",
 "title": "Run a private knowledge base on your own server",
 "page_title": "How to run a private knowledge base on your own server with Stru Info",
 "summary": "Install Stru Info with Docker Compose and PostgreSQL 18 as a single-owner instance.",
 "who": "A solo researcher who wants their reading and documents kept on a machine they control, instead of a hosted notes service.",
 "problem": "Reading material is scattered across feeds, PDFs, and web pages, and there is no single private place to search and trace it.",
 "outcome": "A running single-owner Stru Info instance with its database and data directory kept separate from the app image.",
 "steps": [
  "Follow the first-install guide in docs/getting-started.md to set up the database role, configuration, and migrations.",
  "Start the app with `docker compose -f compose.production.yaml up -d app`.",
  "Check that the container is running with `docker compose -f compose.production.yaml ps`.",
  "Open Stru Info in a browser on the host port set by STRUIINFO_HTTP_PORT, keeping the port on loopback or a trusted private network."
 ],
 "agent_prompt": "In the repo tntexploding/StruInfo, follow docs/getting-started.md to deploy a single-owner instance at <host-path> using Docker Compose and PostgreSQL 18. Report the output of `docker compose -f compose.production.yaml ps` and confirm the app container is running.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README says the app has no multi-user login, so the port must stay on loopback or a trusted network, or be reached through an authenticated HTTPS proxy, VPN, or SSH tunnel.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "typescript",
 "requirements": [
  "A machine that runs Docker and Docker Compose",
  "PostgreSQL 18, as recommended in the README",
  "Access to the docs/getting-started.md setup guide and a host port for STRUIINFO_HTTP_PORT",
  "Optional: a DeepSeek or OpenAI API key stored in an external key file, only if you want AI features"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tntexploding-struinfo/self-host-personal-knowledge-base/",
 "md": "https://dedupedai.com/use-cases/tntexploding-struinfo/self-host-personal-knowledge-base/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/tntexploding-struinfo--self-host-personal-knowledge-base.json",
 "api_version": "v1"
}
