qrgen is a minimal and fast QR code app built with Jetpack Compose and CameraX. It supports both real-time QR code scanning using your device's camera and QR code generation from custom text or URLs. Scanned content is displayed in an expandable bottom sheet with copy support, while generated QR codes can be saved to your gallery with adjustable quality.
- 🔍 Real-time QR code scanning using CameraX
- 📋 One-tap copy to clipboard
- 🧾 Displays scanned content in an expandable bottom sheet
- 🔁 Switch between front and back cameras
- 🧪 Generate QR codes from custom text or URLs
- 🎨 Adjust output QR quality via slider
- 💾 Save generated QR codes to gallery
- ✨ Smooth transitions and responsive UI with Jetpack Compose
- Kotlin
- Jetpack Compose
- Material 3 (M3)
- ZXing
- CameraX
- MLKit
-
Clone the repository
git clone https://github.com/srijxnnn/qrgen.git cd qrgen -
Open in Android Studio
-
Build & Run on a real device
Note: CameraX may not function properly on emulators. Use a physical device for full functionality.
- Clickable scanned links
- Scanning gallery images
- Add different types of QR code generation (such as location, contacts, etc.)
- History log for scanned codes
- Torch (flash) toggle support
- UI enhancements
Contributions, issues, and feature requests are welcome!
Feel free to open an issue or submit a pull request.
This project is open-source under the MIT License.
Srijan
GitHub: @srijxnnn

