{"id":13871969,"url":"https://github.com/fwcd/swift-qrcode-generator","last_synced_at":"2025-04-27T13:52:10.038Z","repository":{"id":39616522,"uuid":"243055925","full_name":"fwcd/swift-qrcode-generator","owner":"fwcd","description":"QR code generator written in pure Swift","archived":false,"fork":false,"pushed_at":"2023-11-20T01:17:08.000Z","size":83,"stargazers_count":47,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T13:51:57.674Z","etag":null,"topics":["linux","qrcode","qrcode-generator","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/fwcd.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-25T17:17:17.000Z","updated_at":"2025-04-04T09:56:42.000Z","dependencies_parsed_at":"2024-08-06T00:34:30.282Z","dependency_job_id":"e7f1cd7c-01c8-4da7-a395-257a5e53ae83","html_url":"https://github.com/fwcd/swift-qrcode-generator","commit_stats":{"total_commits":58,"total_committers":6,"mean_commits":9.666666666666666,"dds":"0.18965517241379315","last_synced_commit":"5891c4f87abb86fc71e394672119a897068662c0"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-qrcode-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-qrcode-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-qrcode-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fswift-qrcode-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/swift-qrcode-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251149062,"owners_count":21543545,"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":["linux","qrcode","qrcode-generator","swift"],"created_at":"2024-08-05T23:00:31.467Z","updated_at":"2025-04-27T13:52:09.995Z","avatar_url":"https://github.com/fwcd.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# Swift QR Code Generator\n\n[![Linux](https://github.com/fwcd/swift-qrcode-generator/actions/workflows/linux.yml/badge.svg)](https://github.com/fwcd/swift-qrcode-generator/actions/workflows/linux.yml)\n[![Darwin](https://github.com/fwcd/swift-qrcode-generator/actions/workflows/darwin.yml/badge.svg)](https://github.com/fwcd/swift-qrcode-generator/actions/workflows/darwin.yml)\n\nA QR code generator written in pure Swift with no dependencies.\n\nThe project is mostly a direct translation of [Nayuki's](https://github.com/nayuki/) [QR code generator for Rust](https://github.com/nayuki/QR-Code-generator/tree/master/rust), with small changes applied to make the code more idiomatic in Swift.\n\n## Usage\n\n### Swift Package Manager\nTo use in your project, add the following dependency to your `Package.swift`:\n\n```swift\n.package(url: \"https://github.com/fwcd/swift-qrcode-generator.git\", from: \"1.0.0\")\n```\n\n### CocoaPods\nSwift QR Code Generator is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```bash\npod 'SwiftQRCodeGenerator'\n```\n\n## Example\n```swift\nimport QRCodeGenerator\n\nlet qr = try! QRCode.encode(text: text, ecl: .medium)\nlet svg = qr.toSVGString(border: 4)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-qrcode-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fswift-qrcode-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fswift-qrcode-generator/lists"}