{"id":13600821,"url":"https://github.com/boombuler/barcode","last_synced_at":"2025-05-14T22:06:27.676Z","repository":{"id":12448347,"uuid":"15107977","full_name":"boombuler/barcode","owner":"boombuler","description":"a barcode creation lib for golang","archived":false,"fork":false,"pushed_at":"2025-01-24T13:21:26.000Z","size":179,"stargazers_count":1456,"open_issues_count":9,"forks_count":179,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-05-07T21:58:21.756Z","etag":null,"topics":["aztec-code","barcode","codabar","code128","code39","code93","datamatrix","ean13","ean8","go","golang","pdf417","qrcode","qrcode-generator"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/boombuler.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":"2013-12-11T13:28:59.000Z","updated_at":"2025-04-28T13:42:36.000Z","dependencies_parsed_at":"2025-03-04T14:10:17.589Z","dependency_job_id":"1154c39f-0a5e-43f8-a834-8fb5ad12bd95","html_url":"https://github.com/boombuler/barcode","commit_stats":{"total_commits":90,"total_committers":15,"mean_commits":6.0,"dds":0.5444444444444445,"last_synced_commit":"65580ac6e377baeeebd5bb702e15795ead22e48d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boombuler%2Fbarcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boombuler%2Fbarcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boombuler%2Fbarcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boombuler%2Fbarcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boombuler","download_url":"https://codeload.github.com/boombuler/barcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235694,"owners_count":22036963,"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":["aztec-code","barcode","codabar","code128","code39","code93","datamatrix","ean13","ean8","go","golang","pdf417","qrcode","qrcode-generator"],"created_at":"2024-08-01T18:00:49.386Z","updated_at":"2025-05-14T22:06:22.662Z","avatar_url":"https://github.com/boombuler.png","language":"Go","readme":"[![Join the chat at https://gitter.im/golang-barcode/Lobby](https://badges.gitter.im/golang-barcode/Lobby.svg)](https://gitter.im/golang-barcode/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## Introduction ##\n\nThis is a package for GO which can be used to create different types of barcodes.\n\n## Supported Barcode Types ##\n* 2 of 5\n* Aztec Code\n* Codabar\n* Code 128\n* Code 39\n* Code 93\n* Datamatrix\n* EAN 13\n* EAN 8\n* PDF 417\n* QR Code\n\n## Example ##\n\nThis is a simple example on how to create a QR-Code and write it to a png-file\n```go\npackage main\n\nimport (\n\t\"image/png\"\n\t\"os\"\n\n\t\"github.com/boombuler/barcode\"\n\t\"github.com/boombuler/barcode/qr\"\n)\n\nfunc main() {\n\t// Create the barcode\n\tqrCode, _ := qr.Encode(\"Hello World\", qr.M, qr.Auto)\n\n\t// Scale the barcode to 200x200 pixels\n\tqrCode, _ = barcode.Scale(qrCode, 200, 200)\n\n\t// create the output file\n\tfile, _ := os.Create(\"qrcode.png\")\n\tdefer file.Close()\n\n\t// encode the barcode as png\n\tpng.Encode(file, qrCode)\n}\n```\n\n## Documentation ##\nSee [GoDoc](https://godoc.org/github.com/boombuler/barcode)\n\nTo create a barcode use the Encode function from one of the subpackages.\n","funding_links":[],"categories":["开源类库","Go","Open source library","Repositories","Barcode go-lib"],"sub_categories":["图形处理","Graphics Processing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboombuler%2Fbarcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboombuler%2Fbarcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboombuler%2Fbarcode/lists"}