This project serves as a starter kit for implementing a code scanner using the Zxing library and mobile camera.
git clone https://github.com/130db/next-poc-camera.git
cd next-poc-camera
yarn install
yarn devConnect your mobile to computer as webcam to test localy.
To test on mobile this web have to be hosted via HTTPS
This project uses @zxing/browser, @zxing/library
Follow me on X (Twitter)
Latviski: X/Aigars Sukurs
English: X/130db
or support with a Tip if you found it useful for your project
For POCes I use my own NextJS project template. Some files my be redudant