{"id":29633603,"url":"https://github.com/ddddddo/barcode","last_synced_at":"2025-07-21T14:05:43.663Z","repository":{"id":302741970,"uuid":"1013472287","full_name":"ddddddO/barcode","owner":"ddddddO","description":"Multiple barcodes can be generated on single page!","archived":false,"fork":false,"pushed_at":"2025-07-20T01:22:43.000Z","size":4720,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T01:46:39.641Z","etag":null,"topics":["barcode","code128","qrcode","wasm"],"latest_commit_sha":null,"homepage":"https://ddddddo.github.io/barcode/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddddddO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"ddddddO"}},"created_at":"2025-07-04T00:58:04.000Z","updated_at":"2025-07-20T01:22:46.000Z","dependencies_parsed_at":"2025-07-20T01:10:48.212Z","dependency_job_id":"9a7d5bae-2d6a-4026-8f6d-9f9ed6f0d335","html_url":"https://github.com/ddddddO/barcode","commit_stats":null,"previous_names":["ddddddo/barcode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ddddddO/barcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddddddO%2Fbarcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddddddO%2Fbarcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddddddO%2Fbarcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddddddO%2Fbarcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddddddO","download_url":"https://codeload.github.com/ddddddO/barcode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddddddO%2Fbarcode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266315763,"owners_count":23909802,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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","code128","qrcode","wasm"],"created_at":"2025-07-21T14:05:39.126Z","updated_at":"2025-07-21T14:05:43.647Z","avatar_url":"https://github.com/ddddddO.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ddddddO"],"categories":[],"sub_categories":[],"readme":"# barcode\n[![ci](https://github.com/ddddddO/barcode/actions/workflows/playwright.yml/badge.svg)](https://github.com/ddddddO/barcode/actions/workflows/playwright.yml)\n\nhttps://ddddddo.github.io/barcode/\n\nThe site is in Japanese, but please translate it for your use.\n\n## 特徴・機能 (Feature)\n### コード生成処理はWasmで実行されます (Code generation process is performed in Wasm)\n- コード生成処理は外部と通信せずlocalで完結します (The code generation process is completed locally, without communication with external parties.)\n- コード生成処理は、[github.com/boombuler/barcode](https://github.com/boombuler/barcode) を利用しています (Code generation process uses github.com/boombuler/barcode)\n\n### 1ページで複数バーコードを生成できます (Multiple barcodes can be generated on a single page)\n- URLフォームにurlを入力するとそのQRコードが生成されます (Enter a URL in the URL form to generate a QR code for that URL.)\n    - User/Passwordフォームに、対象urlのBasic認証の認証情報を入れると、生成されるQRコードに埋め込まれます (Enter the Basic Authentication credentials for the target URL in the User/Password form, and the credentials will be embedded in the generated QR code.)\n- 「バーコード追加」ボタンを押すかバーコードフォームでEnterを押すと、バーコードを複数生成できます (Multiple barcodes can be generated by pressing the “Add Barcode” button or pressing Enter on the barcode form.)\n    - バーコードは、`CODE128` です (The generated barcode is CODE128.)\n\n![](./image/image1.png)\n\n### URL用QRコードを隠せます (QR Code for URL can be hidden.)\n- 生成したURL用QRコードにBasic認証情報が含まれていると、このページをスクショで共有できないので、専用ボタンを押すことでQRコードを隠せます (If the QR code for the generated URL contains Basic Authentication information, the page cannot be shared in a screenshot, so you can hide the QR code by pressing the dedicated button.)\n\n![](./image/image2.png)\n\n\n### マウスオーバーで拡大・ぼかし (Enlargement and blurring on mouse-over)\n- 複数バーコードがあると、スキャンするときに別のバーコードをスキャンしてしまうことがあります。そういったとき、対象バーコードをマウスオーバーすることで拡大・他のバーコードをぼかして、スキャンしやすくします (When there are multiple barcodes, you may scan another barcode when scanning. In such cases, mouse-over the target barcode to enlarge and blur the other barcodes, making it easier to scan.)\n\n![](./image/image3.png)\n\n### ページ内容をURLで共有できます (Share page content by URL)\n- クエリパラメータに、フォームに入力されたURLと各バーコード生成元の文字列を反映しています。それを使い、このページを復元します (The query parameters reflect the URL entered in the form and the string from which each barcode was generated. Use it to restore this page)\n- ただし、`User` / `Password` は共有するとダメなのでクエリパラメータに反映していません (However, User / Password is not reflected in the query parameter because it is not allowed to be shared.)\n\n- これまでのイメージは、以下で表示されます (Previous images are shown below)\n    - **[https://ddddddo.github.io/barcode/?url=https%3A%2F%2Fgo.dev%2F\u0026i1=4971633002005\u0026i2=ITEM-1234\u0026i3=1A-2B-3C\u0026i4=aaaa\u0026i5=bbb](https://ddddddo.github.io/barcode/?url=https%3A%2F%2Fgo.dev%2F\u0026i1=4971633002005\u0026i2=ITEM-1234\u0026i3=1A-2B-3C\u0026i4=aaaa\u0026i5=bbb)**\n\n### 自身でバーコード生成サイトを提供できます (Can provide own barcode generation site)\n- 以下の手順で、サイトを起動できます (You can launch the site by following these steps)\n    1. `go install github.com/ddddddO/barcode/cmd/barcode-web@latest`\n    1. `barcode-web`\n    1. Check the display at http://localhost:8080/.\n\n- `--port` フラグに起動ポートを指定できます (The `port` flag can be used to specify the startup port)\n\n## For developer\n1. Install Go (https://go.dev/doc/install)\n1. Fork this repository\n1. `cd docs`\n1. `make cpgowasmexec` (only once)\n1. `make build` (after editing the Go program)\n1. `make serve` (web server will be started on `8080`)\n1. Check the display at http://localhost:8080/.\n    - `make e2e` and click `▷`(Run all)\n    - Run tests in [tests/MANUAL_TEST.md](./tests/MANUAL_TEST.md)\n1. (If you edit files in docs) `cd cmd/barcode-web \u0026\u0026 make syncdocs`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddddddo%2Fbarcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddddddo%2Fbarcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddddddo%2Fbarcode/lists"}