liqr

Crates.ioliqr
lib.rsliqr
version1.0.1
sourcesrc
created_at2022-12-26 11:03:26.928795
updated_at2023-05-03 19:00:25.93865
descriptionA lightweight CLI to generate QR codes for live servers
homepagehttps://liqr.vercel.app
repositoryhttps://github.com/Abhishek-More/liqr
max_upload_size
id745708
size1,172,570
Abhishek More (Abhishek-More)

documentation

README

LiQR CLI

Have you ever used your phone or tablet to access a web app running on live-server?
If so, you probably went through the tedious process of:

  • Figuring out your local IP
  • Typing it into your mobile browser
  • Realizing you made a mistake
  • Typing it into your mobile browser again
  • Finally accessing your app

LiQR (pronounced 'liquor') fixes this problem by generating a QR code in your terminal that links to your live server.

Animated GIF making a demonstration of LiQR

Installation

Install using cargo:

cargo install liqr

Usage

To generate a QR code at [local_ip]:[port]:

liqr [port]

The default port is 5500 Example: liqr 3000https://localhost:3000

To create a QR code for [local_ip]:[port][route]:

liqr [port] -r [route]

Example: liqr 3000 -r /api/usershttps://localhost:3000/api/users

To create a general QR code for [url]:

liqr -u [url]

Example: liqr -u https://google.comhttps://google.com

Commit count: 32

cargo fmt