Skip to content

srijxnnn/qrgen

Repository files navigation

grgen-logo

⚡ qrgen

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.


✨ Features

  • 🔍 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

📸 Preview

QRGen Demo


📦 Tech Stack

  • Kotlin
  • Jetpack Compose
  • Material 3 (M3)
  • ZXing
  • CameraX
  • MLKit

🛠️ Setup Instructions

  1. Clone the repository

    git clone https://github.com/srijxnnn/qrgen.git
    cd qrgen
  2. Open in Android Studio

  3. Build & Run on a real device

Note: CameraX may not function properly on emulators. Use a physical device for full functionality.


🚧 TODO

  • 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

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to open an issue or submit a pull request.


📄 License

This project is open-source under the MIT License.


🙋‍♂️ Author

Srijan

GitHub: @srijxnnn

About

qrgen - Android app that uses ZXing library to generate QR codes and CameraX + MLKit to scan

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages