szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.51k stars 151 forks source link

Looking forward to adding the function of QR code scanning and sharing #242

Open sunteta opened 7 months ago

sunteta commented 7 months ago

I have to admit that MicroBin is very easy to use, but the mobile phone is used too frequently. If two unfamiliar mobile phones communicate with each other, it is not possible to obtain the shared URL. Every time I enter the URL in the browser, it is too difficult to input on the mobile phone. Longer.

If you add the function of QR code, it is really important to use mobile phone scanning to quickly open the web page and obtain the shared content.

I am looking forward to adding the QR code sharing function.

DX37 commented 5 months ago

It enables, when in config, like .env, you set this variable, which is, as config comment tells, required for QR to work:

export MICROBIN_PUBLIC_PATH=<your public site URL>

and obviously:

export MICROBIN_QR=true

It's all in .env, at least.