LanView CLI is a zero-config Node.js tool that lets developers instantly preview full-stack web applications on mobile devices over a local LAN by auto-discovering the host IP, running a proxy gateway, and generating a scannable QR code.

Stars

27

7-day growth

No data

Forks

1

Open issues

0

License

No data

Last updated

2026-07-23

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It eliminates the need for external tunnels like ngrok, manual IP entry, and broken localhost references on mobile, all while keeping data completely offline and supporting WebSocket HMR for live reloads.

Who it is for

  • Full-stack developers testing on physical mobile devices
  • Frontend developers needing to verify responsive design and API integration on mobile
  • Developers working in offline or air-gapped environments
  • Teams wanting a simple, no-cloud solution for quick mobile demos

Use cases

  • Preview a Vite/Next.js frontend with an Express backend on a phone without code changes
  • Serve a static site or SPA build with live reload for mobile testing
  • Test WebSocket-based features (like real-time updates) on a mobile device
  • Provide a quick demo of a local web app to colleagues or clients via QR code

Strengths

  • Zero cloud dependency: 100% private, offline, no data limits or accounts
  • Relative-path routing eliminates CORS issues and the need to modify environment variables
  • Works with any framework stack (React, Vue, Django, etc.) and supports WebSocket HMR
  • Auto-discovers local IP and generates a QR code for instant mobile access

Considerations

  • On Linux, recursive file watching for --static mode only monitors the top-level directory (subdirectory changes are not detected)
  • Relies on being connected to the same local network; not suitable for testing over the internet
  • Requires Node.js to be installed on the developer's machine

README quick start

Installation

Description

Zero-config CLI to instantly preview full-stack web apps on your mobile device over LAN.

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
tandpfun
Featured
tandpfun GitHub avatar

wardrobe

A GPT‑image powered app that extracts individual garment cutouts from photos, organizes them into a digital wardrobe, and generates modeled outfit previews.

JavaScript
1,570
mshumer
Featured
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI & Machine LearningAI Agents
1,234