{"id":22793656,"url":"https://github.com/cmtt/qrgen","last_synced_at":"2025-10-29T18:03:07.903Z","repository":{"id":62443209,"uuid":"260018026","full_name":"cmtt/qrgen","owner":"cmtt","description":"Renders QR codes from stdin to ASCII or SVG","archived":false,"fork":false,"pushed_at":"2020-04-30T06:29:56.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:41:41.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmtt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-29T19:05:06.000Z","updated_at":"2023-03-08T04:59:16.000Z","dependencies_parsed_at":"2022-11-01T22:16:19.079Z","dependency_job_id":null,"html_url":"https://github.com/cmtt/qrgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fqrgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fqrgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fqrgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fqrgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmtt","download_url":"https://codeload.github.com/cmtt/qrgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703204,"owners_count":21148118,"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":[],"created_at":"2024-12-12T03:28:12.678Z","updated_at":"2025-10-29T18:03:02.867Z","avatar_url":"https://github.com/cmtt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qrgen\n\nRenders input from stdin as QR codes on ANSI terminals.\n\n## Installation\n\nIt is recommended to install Rust stable using [Rustup](https://rustup.rs/). In order to build and install `qrgen`, run the following command:\n\n````bash\ncargo install --path .\n````\n\n## Usage\n````\nUSAGE:\n    qrgen [FLAGS] [OPTIONS]\n\nFLAGS:\n    -h, --help       Prints help information\n    -s, --small      Outputs a smaller code.\n        --svg        Outputs a SVG image\n    -V, --version    Prints version information\n\nOPTIONS:\n    -m, --margin \u003cmargin\u003e    Margin size\n````\n\n#### Display QR code in terminal\n\n````\n$ echo \"foobar\" | qrgen\n\n\n    ██████████████      ██████  ██████████████\n    ██          ██  ██████  ██  ██          ██\n    ██  ██████  ██      ██████  ██  ██████  ██\n    ██  ██████  ██  ████    ██  ██  ██████  ██\n    ██  ██████  ██    ██    ██  ██  ██████  ██\n    ██          ██  ██    ██    ██          ██\n    ██████████████  ██  ██  ██  ██████████████\n                      ██\n    ██████████  ██████    ██  ██  ██  ██  ██\n    ██  ████████      ██  ████████    ██  ██\n    ██      ████████        ██  ████\n    ████  ██            ██████████    ██  ██\n        ██████  ██      ██  ██    ██    ██\n                    ██  ██  ██    ██    ██\n    ██████████████  ████  ██  ██    ██████████\n    ██          ██    ██          ████  ██  ██\n    ██  ██████  ██  ████████  ██    ██████████\n    ██  ██████  ██  ██████████████    ██\n    ██  ██████  ██  ██      ██  ████\n    ██          ██  ██    ████████    ██\n    ██████████████  ██      ██    ██    ██\n\n\n\n````\n\n#### Display QR code in terminal (small)\n````\n$ echo \"foobar\" | qrgen --small\n\n  █▀▀▀▀▀█ ▄▄█▀█ █▀▀▀▀▀█\n  █ ███ █ ▄▄▀▀█ █ ███ █\n  █ ▀▀▀ █ ▄▀ ▄▀ █ ▀▀▀ █\n  ▀▀▀▀▀▀▀ ▀▄▀ ▀ ▀▀▀▀▀▀▀\n  ▀▀▀▀▀ ▀▀█  █▄█▄█ █ ▀▄\n   █▀▀█ ▀▄▀█▄▄█▄██▄█▄▀▄\n  ▀ ▀ ▀▀▀▀█▀  █  █▀▄ ▀▄\n  █▀▀▀▀▀█ ▀▀█▀ ▀ █▄█▄█▄\n  █ ███ █ █▀▀█▄█▄▀▄ ▄▀\n  █ ▀▀▀ █ █▀█▄█▄█  ▄▄\n  ▀▀▀▀▀▀▀ ▀   ▀  ▀   ▀\n\n````\n\n#### Display QR code as image\n\nThe following command generates and displays a generated QR code using [ImageMagick](ImageMagick)'s `display` command.\n\n````\n$ echo \"foobar\" | qrgen --svg | display -antialias -resample 500% -define filter:support=0 -\n````\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmtt%2Fqrgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmtt%2Fqrgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmtt%2Fqrgen/lists"}