A simple tool that generates QR codes for NGROK URLs, making it easier to access your local development server on mobile devices. I was tired of rewriting ngrok URLs to my mobile phone, so I created a script to generate QR codes.
Visit https://puliczek.github.io/ngrokqr/?url=https://your-ngrok-url.ngrok.app
How it works:
- Start NGROK for port 3000
- Fetch the public URL
- Open the QR code generator in your browser
Start-Process powershell "ngrok http 3000"; $url = (Invoke-RestMethod http://localhost:4040/api/tunnels).tunnels[0].public_url; Start-Process "https://puliczek.github.io/ngrokqr/?url=$url"ngrok http 3000; url=$(curl -s http://localhost:4040/api/tunnels | jq -r '.tunnels[0].public_url'); xdg-open "https://puliczek.github.io/ngrokqr/?url=$url"ngrok http 3000; url=$(curl -s http://localhost:4040/api/tunnels | jq -r '.tunnels[0].public_url'); open "https://puliczek.github.io/ngrokqr/?url=$url"If you prefer to run the QR code generator locally, you can download index.html and open directly in your browser.
The code is open source and available on GitHub, allowing you to verify the privacy and security measures yourself. The QR code generation process occurs entirely client-side in your browser. No URL data is stored or tracked by this tool. However, since the application is hosted on GitHub Pages, GitHub's standard analytics and logging may capture URL parameters as part of their hosting service.
Feel free to open issues or submit pull requests if you have suggestions for improvements.
This project is open source and available under the MIT License.
Created by pulik.dev