{"id":48435000,"url":"https://github.com/sumitsahoo/barcode-scanner","last_synced_at":"2026-04-06T12:04:31.248Z","repository":{"id":243181390,"uuid":"811428114","full_name":"sumitsahoo/barcode-scanner","owner":"sumitsahoo","description":"Barcode scanner using ZBar WASM","archived":false,"fork":false,"pushed_at":"2026-03-25T15:12:14.000Z","size":7093,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-26T17:41:37.441Z","etag":null,"topics":["barcode-scanner","biome","daisyui","javascript","reactjs","tailwind","tailwindcss","vite","webassembly","zbar-wasm"],"latest_commit_sha":null,"homepage":"https://sumitsahoo.github.io/barcode-scanner/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumitsahoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"ko_fi":"sumitsahoo21"}},"created_at":"2024-06-06T15:22:36.000Z","updated_at":"2026-03-25T15:12:50.000Z","dependencies_parsed_at":"2024-08-21T08:06:03.011Z","dependency_job_id":"e57d8df2-a25d-4c3b-915b-5e58fd89d7a2","html_url":"https://github.com/sumitsahoo/barcode-scanner","commit_stats":null,"previous_names":["sumitsahoo/barcode-scanner"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/sumitsahoo/barcode-scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitsahoo%2Fbarcode-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitsahoo%2Fbarcode-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitsahoo%2Fbarcode-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitsahoo%2Fbarcode-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumitsahoo","download_url":"https://codeload.github.com/sumitsahoo/barcode-scanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitsahoo%2Fbarcode-scanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31471493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode-scanner","biome","daisyui","javascript","reactjs","tailwind","tailwindcss","vite","webassembly","zbar-wasm"],"created_at":"2026-04-06T12:04:31.116Z","updated_at":"2026-04-06T12:04:31.232Z","avatar_url":"https://github.com/sumitsahoo.png","language":"JavaScript","funding_links":["https://ko-fi.com/sumitsahoo21"],"categories":[],"sub_categories":[],"readme":"## ℹ️ Barcode Scanner with ZBar WASM\n\nHigh-performance, offline-ready barcode scanner built with React 19, Vite, and ZBar WASM.\n\n## 👨🏻‍💻 Live App\n\n[sumitsahoo.github.io/barcode-scanner](https://sumitsahoo.github.io/barcode-scanner)\n\n## 🚀 Features\n\n- **⚡️ High Performance**: Off-main-thread image processing using Web Workers.\n- **📱 PWA Ready**: Fully offline capable with aggressive caching strategy.\n- **📷 Advanced Camera**: Torch control, camera switching, and zoom support.\n- **🎨 Modern UI**: Smooth animations, haptic feedback, and responsive design.\n- **🔒 Privacy First**: All processing happens locally on the device.\n\n## 🏗️ Project Structure\n\n```\nsrc/\n├── components/          # UI Components (Scanner, Dialogs, Icons)\n├── config/              # App Configuration\n├── constants/           # Constants \u0026 Settings\n├── hooks/               # Custom React Hooks (useBarcodeScanner)\n├── utils/               # Helper Functions\n├── workers/             # Web Workers (Image Processing)\n├── App.jsx              # Root Component\n├── main.css             # Global Styles \u0026 Animations\n└── main.jsx             # Entry Point\n```\n\n## 🛠️ Tech Stack\n\n- **Core**: React 19, Vite 7\n- **Scanning**: @undecaf/zbar-wasm, Web Workers\n- **Styling**: Tailwind CSS 4, DaisyUI 5\n- **PWA**: VitePWA, Workbox\n- **Tools**: Biome, Docker\n\n## 📦 Quick Start\n\n```bash\n# Clone and Install\ngit clone https://github.com/sumitsahoo/barcode-scanner.git\ncd barcode-scanner\nnpm install\n\n# Run Development Server\nnpm run dev\n\n# Build for Production\nnpm run build\n```\n\n## 🚢 Docker\n\nBuild and run the containerized application:\n\n```bash\n# Build\ndocker build --no-cache -t barcode-scanner .\n\n# Run\ndocker run -it -p 8080:8080 --name barcode-scanner barcode-scanner\n```\n\n## 💼 Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## 🙏🏻 Attributions\n\n- [ZBar WASM](https://github.com/undecaf/zbar-wasm) - Barcode detection\n- [SVG Repo](https://www.svgrepo.com/) - Icons\n\n## 📜 License\n\nMIT License\n\nCopyright © 2026 Sumit Sahoo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitsahoo%2Fbarcode-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumitsahoo%2Fbarcode-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitsahoo%2Fbarcode-scanner/lists"}