# NiceGUI barcode scanner app
This project demonstrates how to create a barcode scanner using the [ZXing library] wrapped in a [NiceGUI] custom Vue component.
Based on [this discussion](https://github.com/zauberzeug/nicegui/discussions/5016),
and inspired by the [custom vue component example].
## Development
Install dependencies and run the hello world app:
```bash
npm install
uv sync
uv run src/nicegui_scanner/app.py
```
This will start the NiceGUI app on <http://localhost:3001>
## Questions
- How to bundle node module with NiceGUI elements?
- What is the nicegui way of handling errors from vue components?
[ZXing library]: https://www.npmjs.com/package/@zxing/library
[NiceGUI]: https://nicegui.io/
[custom vue component example]: https://github.com/zauberzeug/nicegui/tree/main/examples/custom_vue_component
Raw data
{
"_id": null,
"home_page": null,
"name": "nicegui-scanner",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "barcode, camera, nicegui, qr-code, scanner, vue",
"author": "NiceGUI Scanner Contributors",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/13/eb/476c7425a0dfc4c9828524e1c8360dda1fb08004dc3e30c05d4450dd5202/nicegui_scanner-0.1.2.tar.gz",
"platform": null,
"description": "# NiceGUI barcode scanner app\n\nThis project demonstrates how to create a barcode scanner using the [ZXing library] wrapped in a [NiceGUI] custom Vue component.\nBased on [this discussion](https://github.com/zauberzeug/nicegui/discussions/5016),\nand inspired by the [custom vue component example].\n\n## Development\n\nInstall dependencies and run the hello world app:\n\n```bash\nnpm install\nuv sync\nuv run src/nicegui_scanner/app.py\n```\n\nThis will start the NiceGUI app on <http://localhost:3001>\n\n## Questions\n\n- How to bundle node module with NiceGUI elements?\n- What is the nicegui way of handling errors from vue components?\n\n[ZXing library]: https://www.npmjs.com/package/@zxing/library\n[NiceGUI]: https://nicegui.io/\n[custom vue component example]: https://github.com/zauberzeug/nicegui/tree/main/examples/custom_vue_component\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A barcode scanner component for NiceGUI applications",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/serraict/nicegui-scanner-app",
"Issues": "https://github.com/serraict/nicegui-scanner-app/issues",
"Repository": "https://github.com/serraict/nicegui-scanner-app"
},
"split_keywords": [
"barcode",
" camera",
" nicegui",
" qr-code",
" scanner",
" vue"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "af86b8c5823fb629c1b30832fa27cbf2b7e3cdbd8999c10de6d74e63756a112f",
"md5": "c69a99463230dbacc930e3d1c7a7762f",
"sha256": "da5f325f0741f3ca430ec547ca0f14498e47133847ae89e68b515eb3625ef4bd"
},
"downloads": -1,
"filename": "nicegui_scanner-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c69a99463230dbacc930e3d1c7a7762f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5478,
"upload_time": "2025-08-27T15:40:29",
"upload_time_iso_8601": "2025-08-27T15:40:29.174561Z",
"url": "https://files.pythonhosted.org/packages/af/86/b8c5823fb629c1b30832fa27cbf2b7e3cdbd8999c10de6d74e63756a112f/nicegui_scanner-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "13eb476c7425a0dfc4c9828524e1c8360dda1fb08004dc3e30c05d4450dd5202",
"md5": "1884547b04655077ff0624c199c1b172",
"sha256": "b4b25242fb5ae23472f986d74a2aad6ed264d1eb5181b579ec58f38c36f31449"
},
"downloads": -1,
"filename": "nicegui_scanner-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1884547b04655077ff0624c199c1b172",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 216750,
"upload_time": "2025-08-27T15:40:30",
"upload_time_iso_8601": "2025-08-27T15:40:30.305982Z",
"url": "https://files.pythonhosted.org/packages/13/eb/476c7425a0dfc4c9828524e1c8360dda1fb08004dc3e30c05d4450dd5202/nicegui_scanner-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-27 15:40:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "serraict",
"github_project": "nicegui-scanner-app",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nicegui-scanner"
}