A very simple cross-platform command line utility to help make trying out locally hosted (web) applications on mobile phones easier
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
package-lock.json
package.json

README.md

qrip

A very simple cross-platform command line utility to help make trying out locally hosted (web) applications on mobile phones easier.

forthebadge


Use case

Ever developed a mobile-friendly/mobile-first website in the browser and wanted to check out how it looks in an actual mobile phone? Sure, you could host it in the cloud, but that is significant overhead. Sure, you could run ipconfig to find out your network IP, only to type it into the phone manually.

As most modern phones are perfectly capable of scanning QR codes and opening links encoded in QR, why not make life a bit easier for yourself?

Installation

  • clone this repository
  • npm install && npm link
  • And...Well, that's pretty much it, granted you have a modern version of Node and NPM installed.

Usage

qrip 4000 to create a QR code with your local ip with :4000 appended to it.

qrip 4000 /cats/666 to create a qr code similar to the above, except with an excplicitly set path.

qrip -h for help.