DEV Community

Cover image for synkin - preview website on phone with usb
Samarpan
Samarpan

Posted on

synkin - preview website on phone with usb

🚀 I built Synkin — a free, open-source npm CLI that lets you preview localhost websites directly on your Android device over USB.

I built it because I was tired of:

  • Setting up local IPs every time
  • Connecting both devices to the same Wi-Fi
  • Running into localhost/backend API issues while testing

With Synkin, just connect your Android phone via USB and run:

synkin run
Enter fullscreen mode Exit fullscreen mode

That's it. Your website opens automatically in Chrome, and backend APIs continue to work using ADB Reverse.

Features

  • ⚡ One-command setup
  • 📱 Real Android device testing
  • 🔌 USB connection (no Wi-Fi required)
  • 🌐 Backend API support
  • 🚀 Supports React, Vite, Next.js, Express, FastAPI, Flask, Django & Static HTML

The project has already crossed 850+ npm installs, and I'm ac

tively improving it based on community feedback.


I'd love to hear your thoughts, feature requests, or contributions!

🔗 GitHub: https://github.com/owsam22/synkin-page
📦 npm: https://www.npmjs.com/package/synkin

Top comments (0)