prashantdhuri08/lanview-cli — explained in plain English
Analysis updated 2026-05-18
Preview a full-stack web app on a real phone without typing a local IP address by hand.
Fix broken backend requests on mobile that fail because of hardcoded localhost URLs.
Test a frontend and backend running on different ports through one proxied address.
Keep hot reload and live updates working while testing on a mobile device over WiFi.
| prashantdhuri08/lanview-cli | aaronz345/athena-personal-academic-page | alana72212/akamai-vm | |
|---|---|---|---|
| Stars | 20 | 20 | 20 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 2/5 | 5/5 |
| Audience | developer | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires the frontend and backend dev servers to already be running locally.
LanView is a command line tool that solves a common annoyance for web developers: testing a website or app on a phone while it is still running on your own computer. Normally you would have to find your computer's local network address and type it into your phone's browser by hand, and any part of your app that talks to a backend using the word localhost simply breaks on a phone, since the phone treats localhost as itself rather than as your computer. Running the tool starts three things at once on your machine. First it automatically finds your computer's local network address without any manual lookup. Second, it starts a small local proxy server that sits in front of both your frontend, such as a React or Vite app, and your backend, such as an Express or Django server, and routes requests to whichever one they belong to based on the web address path. Third, it turns the final address into a QR code drawn right there in your terminal window, so you just scan it with your phone's camera to open the app. Because both the frontend and backend are reached through this one proxy, your code does not need any special configuration for mobile testing, and relative paths like fetch of slash api slash data work the same on desktop and on a phone. The tool works entirely over your local WiFi network with no cloud service, account, or internet tunnel involved, so nothing about your project leaves your own network. It also supports proxying WebSocket connections, which keeps live reload features working while you test on a phone. Installation is done through npm, either as a global package or by running it directly with npx, and it can also be installed from source by cloning the repository and linking it locally. The default setup expects a frontend on port 3000 and a backend on port 5000, but all of the ports and the API path prefix can be customized with command line options when you run the tool.
A zero-config CLI that proxies your frontend and backend so you can preview a web app on your phone over your local network with one QR code.
Mainly JavaScript. The stack also includes JavaScript, Node.js, npm.
No license information was found in the README.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.