{"id":18583200,"url":"https://github.com/crabnebula-dev/qr-reader-demo","last_synced_at":"2025-11-01T21:30:29.475Z","repository":{"id":234625393,"uuid":"788898819","full_name":"crabnebula-dev/qr-reader-demo","owner":"crabnebula-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-17T23:52:48.000Z","size":258,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T17:26:23.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crabnebula-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE-2.0","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}},"created_at":"2024-04-19T09:57:12.000Z","updated_at":"2024-09-28T15:13:25.000Z","dependencies_parsed_at":"2024-04-20T05:31:00.333Z","dependency_job_id":"6337475d-fa82-4fc9-ac08-34f3dd366520","html_url":"https://github.com/crabnebula-dev/qr-reader-demo","commit_stats":null,"previous_names":["crabnebula-dev/qr-reader-demo"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabnebula-dev%2Fqr-reader-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabnebula-dev%2Fqr-reader-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabnebula-dev%2Fqr-reader-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabnebula-dev%2Fqr-reader-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crabnebula-dev","download_url":"https://codeload.github.com/crabnebula-dev/qr-reader-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239324559,"owners_count":19620211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T00:21:09.558Z","updated_at":"2025-11-01T21:30:29.432Z","avatar_url":"https://github.com/crabnebula-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QR Reader App\n\nThis app is a demo of a cross-platform (desktop + mobile) Tauri application that can read QR codes.\n\n![demo image](./demo.png)\n\nThe parsed QR code value(s) will be written into the clipboard.\n\nCheck out the [release page](https://github.com/crabnebula-dev/qr-reader-demo/releases) to get started.\n\n## Desktop\n\nOn desktop (Windows, Linux, MacOS), this is a **tray app** that allows the user to:\n\n- **Scan** for QR codes on the entire screen (not reliable for larger resolution).\n- **Crop** an area of the screen to search for a QR code.\n- **Load** an image from the clipboard and parse a QR code from it.\n\nWe use [`screenshots`](https://github.com/nashaofu/xcap) and\n[`bardecoder`](https://github.com/piderman314/bardecoder) crates\nto scan and extract the QR code.\n\n## Mobile\n\nOn mobile (iOS, Android) it is a simple app with only\none main window to **scan** barcodes via the camera.\n\nWe use [`tauri-plugin-barcode-scanner`](https://beta.tauri.app/features/barcode-scanner/),\nwhich uses the native mobile functionality to scan a\nQR code with the camera.\n\n## Development\n\nTo start with building and development, please make sure you\nfollowed the [prerequisites](https://beta.tauri.app/guides/prerequisites/)\ninstallation guide from Tauri and all dependencies are\ninstalled on your system.\n\nIf you want to build for mobile, you need to follow the install\nsteps for the\n[mobile development preriquisites](https://beta.tauri.app/guides/prerequisites/#configure-for-mobile-targets).\n\nThis repository uses [`pnpm`](https://pnpm.io/) for the frontend packages,\nso please make sure you have installed it as well.\n\nStarting from `npm` you could install it via `npm install -g pnpm`.\n\n1. Install repository dependencies\n    ```sh\n    pnpm install\n    ```\n2. Initialise the mobile development structure\n    Android:\n    ```sh\n    pnpm tauri android init\n    ```\n    iOS:\n    ```sh\n    pnpm tauri ios init\n    ```\n3. Run the application in debug mode either local or in a mobile emulator.\n    Local:\n    ```sh\n    pnpm tauri dev\n    ```\n    Android:\n    ```sh\n    pnpm tauri android dev\n    ```\n    iOS:\n\n    ```sh\n    pnpm tauri ios dev\n    ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabnebula-dev%2Fqr-reader-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrabnebula-dev%2Fqr-reader-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabnebula-dev%2Fqr-reader-demo/lists"}