{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "techjarves-mobile-harness--preview-web-server-on-phone",
 "repo": "techjarves/Mobile-Harness",
 "repo_url": "https://github.com/techjarves/Mobile-Harness",
 "repo_slug": "techjarves-mobile-harness",
 "title": "Preview a local Vite or Express server on your phone",
 "page_title": "How to preview a local Vite or Express server on your phone with Mobile Harness",
 "summary": "Run a Vite, Next.js, or Express server on the phone and test it in a sandboxed WebView.",
 "who": "A web developer who wants to check a running server's interface on mobile without deploying it.",
 "problem": "Testing how a web interface behaves on a phone usually requires deploying it or using a separate device.",
 "outcome": "A live local web server shown in an in-app preview with console output for debugging.",
 "steps": [
  "Open an existing project or tap Quick Project in Mobile Harness.",
  "Open the Terminal and run your project's dev server command, such as the one for Vite, Next.js, or Express.",
  "Open the web preview from the workspace to load the running server.",
  "Check the console telemetry in the preview for errors, then fix the code and reload."
 ],
 "agent_prompt": "In Mobile Harness on an ARM64 Android phone, start a Vite dev server for the project at <project-name> from the Terminal and open the Instant Web Preview. Expected output: the app renders in the WebView with console messages visible. Verify that the page loads without errors in the console.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The preview runs in a restricted, sandboxed mobile WebView, so it may not match how the app behaves in a full desktop browser.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "kotlin",
 "requirements": [
  "ARM64 Android phone running Android 9.0 or newer",
  "About 2.5 GB free storage for the base runtime, more for optional toolchains",
  "Stable internet for setup and API calls, or the Offline APK edition",
  "A Claude account or an API key from a supported provider",
  "Permission to allow installs from Mobile Harness when Android asks"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/techjarves-mobile-harness/preview-web-server-on-phone/",
 "md": "https://dedupedai.com/use-cases/techjarves-mobile-harness/preview-web-server-on-phone/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/techjarves-mobile-harness--preview-web-server-on-phone.json",
 "api_version": "v1"
}
