{"id":24908874,"url":"https://github.com/ndenicolais/scannercode","last_synced_at":"2025-04-14T11:40:35.604Z","repository":{"id":189923643,"uuid":"681580377","full_name":"ndenicolais/ScannerCode","owner":"ndenicolais","description":"Android application built with Kotlin and Jetpack Compose that allows you to scan QR codes and barcodes. In the app it's possible to copy the content of the code or share it with other applications.","archived":false,"fork":false,"pushed_at":"2023-08-28T13:29:58.000Z","size":7393,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T00:46:14.587Z","etag":null,"topics":["android","barcode","barcode-scanner","compose","jetpack-compose","kotlin","qrcode","qrcode-scanner"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/ndenicolais.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-22T10:13:03.000Z","updated_at":"2025-02-16T17:17:46.000Z","dependencies_parsed_at":"2023-08-22T13:00:56.826Z","dependency_job_id":null,"html_url":"https://github.com/ndenicolais/ScannerCode","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.47619047619047616","last_synced_commit":"fa448430130dcc69be4da4b1856cfc78e3b1da95"},"previous_names":["ndenicolais/scannercode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndenicolais%2FScannerCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndenicolais%2FScannerCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndenicolais%2FScannerCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndenicolais%2FScannerCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndenicolais","download_url":"https://codeload.github.com/ndenicolais/ScannerCode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248874212,"owners_count":21175791,"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":["android","barcode","barcode-scanner","compose","jetpack-compose","kotlin","qrcode","qrcode-scanner"],"created_at":"2025-02-02T02:34:10.411Z","updated_at":"2025-04-14T11:40:35.576Z","avatar_url":"https://github.com/ndenicolais.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scanner Code\n\u003e \u003cb\u003eAuthor: Nicola De Nicolais\u003c/b\u003e\n\n## 📄 Description\nAndroid application built with Kotlin and Jetpack Compose that allows you to scan QR codes and barcodes. In the app it's possible to copy the content of the code or share it with other applications.\u003cbr/\u003e\n\n## 🔨  How to install and run the project\nClone this repository :\u003cbr/\u003e\n`\ngit clone https://github.com/ndenicolais/ScannerCode.git\n`\n\nImport the project into Android Studio :\n\n1. File -\u003e New -\u003e Import Project\n2. Browse to \u003cpath_to_project\u003e\n3. Click \"OK\"\n\nCreate a new virtual device or connect an Android device to your computer.\u003c/br\u003e\nClick Run to start the project on the selected device.\n\n## 🛠️ Built with\nKotlin\u003c/br\u003e\nJetpack Compose\u003c/br\u003e\nDagger Hilt\u003c/br\u003e\nCamera X\u003c/br\u003e\nML Scanning\n\n## 📚 Package Structure\n\n```\ncom.denicks21.scannercode       # ROOT PACKAGE\n│\n├── data                        # DATA FOLDER\n|   ├── DataSourceModule        # Inject repository in the ScanLDS.\n|   ├── RepositoryModule        # Inject repository in the ScanRepository.\n|   ├── ScanLDS                 # Manages the device’s camera for scanning codes.\n|   ├── ScanMapper              # Scan object conversion.\n|   ├── ScanRepository          # Repository operations.\n|   ├── ScanRepositoryImpl      # ScanRepository implementation.\n|\n├── model                       # MODEL FOLDER\n|   ├── Scan                    # Scan model.\n|\n├── navigation                  # NAVIGATION FOLDER\n│   ├── NavGraph                # Contains all of app destinations and actions.\n│   └── NavScreens              # Contains a sealed class with object corresponds to a screen and its routes.\n|\n├── scanner                     # SCANNER FOLDER\n│   ├── ScannerEvent            # Class representing events related to the QR code/barcode scanning functionality.\n│   └── ScannerPage             # Scan main page.\n│   └── ScannerUiState          # Class representing the state of the user interface associated with the QR/barcode code scanning feature.\n│   └── ScannerViewModel        # Scan ViewModel.\n|\n├── ui                          # UI FOLDER\n│   ├── theme                   # THEME FOLDER\n|   │   ├── Color               # Color palette used by the app.\n|   │   ├── Shape               # Components shapes of Compose used by the app.\n|   │   ├── Theme               # Theme used by the app.\n|   │   ├── Type                # Typography styles for the fonts used by the app.\n|\n│   ├── components              # COMPONENTS FOLDER\n|   │   ├── CameraDialog        # Dialog to request Camera permission.\n|   │   ├── ScanSheet           # Scan component design.\n|   │   ├── TopBar              # Bar that represent the app name and drawer menu.\n|\n├── MainActivity                # Main activity\n├── ScannerApp                  # Scanner main navigation.\n├── ScannerApplication          # Trigger Hilt's code generation. \n```\n\n## 📎 Screenshots\n\u003cp float=\"left\"\u003e\n\u003cimg height=\"500em\" src=\"images/screen.png\" title=\"ScannerCode's screen preview\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndenicolais%2Fscannercode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndenicolais%2Fscannercode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndenicolais%2Fscannercode/lists"}