{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "khalidabdi1-factory--publish-static-town-site",
 "repo": "Khalidabdi1/factory",
 "repo_url": "https://github.com/Khalidabdi1/factory",
 "repo_slug": "khalidabdi1-factory",
 "title": "Publish the town as a static site on any host",
 "page_title": "How to publish the town as a static site on any host with Factory",
 "summary": "Build Factory Yard to plain HTML and JS and host the output anywhere.",
 "who": "A developer or small team that wants to share the live town at a public address without running a server.",
 "problem": "A dev server is not suitable for sharing with others, and the project needs a build that any static host can serve.",
 "outcome": "A folder of plain HTML and JS in out/ that can be uploaded to any static host, plus a local preview to check it first.",
 "steps": [
  "Run `npm install`.",
  "Run `npm run build`.",
  "Run `npm run preview` and check the built copy in the browser.",
  "Upload the contents of the out/ folder to your static host."
 ],
 "agent_prompt": "In the repo Khalidabdi1/factory, run `npm install` and `npm run build`, then report the file list in out/. Verify that out/ contains plain HTML and JS files before saying the site is ready to host.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 min",
 "basis": "readme",
 "caveat": "The README says the output can be hosted anywhere but does not name a specific host or deployment steps, so you must choose and configure the host yourself.",
 "category": "Games and hobbies",
 "tags": [
  "Games and hobbies"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 20 or later with npm",
  "A terminal and a web browser",
  "Git, if you plan to clone the repo and change its code"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/khalidabdi1-factory/publish-static-town-site/",
 "md": "https://dedupedai.com/use-cases/khalidabdi1-factory/publish-static-town-site/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/khalidabdi1-factory--publish-static-town-site.json",
 "api_version": "v1"
}
