{"id":44770744,"url":"https://github.com/jordao76/nbarcodes","last_synced_at":"2026-02-16T05:17:38.086Z","repository":{"id":28674438,"uuid":"32194189","full_name":"jordao76/nbarcodes","owner":"jordao76","description":".NET library to generate common 1D barcodes","archived":false,"fork":false,"pushed_at":"2017-12-14T22:47:42.000Z","size":4262,"stargazers_count":12,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-02T05:24:58.719Z","etag":null,"topics":["barcode","c-sharp","code128","code39","ean","ean13","ean8","interleaved2of5","standard2of5","upc","upca","upce"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jordao76.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-14T03:30:43.000Z","updated_at":"2024-08-14T22:54:17.000Z","dependencies_parsed_at":"2022-09-07T15:01:11.775Z","dependency_job_id":null,"html_url":"https://github.com/jordao76/nbarcodes","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jordao76/nbarcodes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordao76%2Fnbarcodes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordao76%2Fnbarcodes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordao76%2Fnbarcodes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordao76%2Fnbarcodes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordao76","download_url":"https://codeload.github.com/jordao76/nbarcodes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordao76%2Fnbarcodes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29500826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T03:57:51.541Z","status":"ssl_error","status_checked_at":"2026-02-16T03:55:59.854Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","c-sharp","code128","code39","ean","ean13","ean8","interleaved2of5","standard2of5","upc","upca","upce"],"created_at":"2026-02-16T05:17:37.380Z","updated_at":"2026-02-16T05:17:38.082Z","avatar_url":"https://github.com/jordao76.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NBarCodes\n\n[![NuGet version](http://img.shields.io/nuget/v/NBarCodes.svg)](https://www.nuget.org/packages/NBarCodes/)\n[![AppVeyor build](https://img.shields.io/appveyor/ci/jordao76/nbarcodes.svg)](https://ci.appveyor.com/project/jordao76/nbarcodes)\n[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/jordao76/nbarcodes/blob/master/LICENSE.txt)\n\n**NBarCodes** is a .NET library to generate common one-dimensional barcodes. Supported barcode types include Code 128, Code 39, Standard 2 of 5, Interleaved 2 of 5, EAN-13, EAN-8, UPC-A, UPC-E and Postnet.\n\n## Quick intro\n\n![NBarCodes](NBarCodes.png)\n\n```csharp\nusing NBarCodes;\n\n...\n\nvar settings = new BarCodeSettings {\n  Type = BarCodeType.Code128,\n  Data = \"NBarCodes\"\n};\n\nvar generator = new BarCodeGenerator(settings);\n\nusing (var barcodeImage = generator.GenerateImage()) {\n\n  // use the generated barcodeImage\n\n}\n```\n\nThe `BarCodeSettings` object holds the barcode information. This class has many properties that affect the rendering of the barcode, like the barcode type, the data to render, bar measures, text position and colors. Required properties are simply `Type`, for the barcode type, and `Data`, for the data to render. The `BarCodeGenerator` class is used to generate the right barcode from the provided barcode settings.\n\nA `BarCodeFormatException` can be thrown if the settings provided have errors for the target barcode. The settings can be checked before calling `GenerateImage` with the method `TestRender` on the `BarCodeGenerator` class.\n\n## License\n\nLicensed under the [MIT license](https://github.com/jordao76/nbarcodes/blob/master/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordao76%2Fnbarcodes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordao76%2Fnbarcodes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordao76%2Fnbarcodes/lists"}