{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "dayuanjiang-next-ai-draw-io--self-host-ai-diagram-app",
 "repo": "DayuanJiang/next-ai-draw-io",
 "repo_url": "https://github.com/DayuanJiang/next-ai-draw-io",
 "repo_slug": "dayuanjiang-next-ai-draw-io",
 "title": "Self-host the diagram app with your own model",
 "page_title": "How to self-host the diagram app with your own model with Next AI Draw.io",
 "summary": "Run the web app locally with your provider and key.",
 "who": "A team that cannot send diagrams to a public demo.",
 "problem": "Public demos are not suitable for internal designs.",
 "outcome": "A private instance using your own model provider.",
 "steps": [
  "Run `git clone https://github.com/DayuanJiang/next-ai-draw-io` and `cd next-ai-draw-io`",
  "Run `npm install`",
  "Copy env.example to .env.local and add your provider and key",
  "Start with `npm run dev`"
 ],
 "agent_prompt": "Self-host next-ai-draw-io with <provider>, generate one diagram, and confirm requests went to my provider only.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "A desktop app is also available if you prefer not to run a server.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js",
  "An LLM provider key for the web app"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Your provider API key lives in .env.local."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dayuanjiang-next-ai-draw-io/self-host-ai-diagram-app/",
 "md": "https://dedupedai.com/use-cases/dayuanjiang-next-ai-draw-io/self-host-ai-diagram-app/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/dayuanjiang-next-ai-draw-io--self-host-ai-diagram-app.json",
 "api_version": "v1"
}
