{"id":16397514,"url":"https://github.com/marcoradocchia/qr-rs","last_synced_at":"2025-08-07T04:40:02.169Z","repository":{"id":41222185,"uuid":"508772625","full_name":"marcoradocchia/qr-rs","owner":"marcoradocchia","description":"A CLI utility to encode URLs or text into QR codes in various formats and colors.","archived":false,"fork":false,"pushed_at":"2022-07-20T12:53:02.000Z","size":121,"stargazers_count":35,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T20:01:45.272Z","etag":null,"topics":["command-line","qr","qr-code","qrcode-generator","rust","rust-lang","text","url"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcoradocchia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"marcoradocchia","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-06-29T16:44:45.000Z","updated_at":"2025-02-07T10:51:49.000Z","dependencies_parsed_at":"2022-07-15T00:00:45.132Z","dependency_job_id":null,"html_url":"https://github.com/marcoradocchia/qr-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoradocchia%2Fqr-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoradocchia%2Fqr-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoradocchia%2Fqr-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoradocchia%2Fqr-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoradocchia","download_url":"https://codeload.github.com/marcoradocchia/qr-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244725589,"owners_count":20499633,"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":["command-line","qr","qr-code","qrcode-generator","rust","rust-lang","text","url"],"created_at":"2024-10-11T05:10:18.291Z","updated_at":"2025-08-07T04:40:02.161Z","avatar_url":"https://github.com/marcoradocchia.png","language":"Rust","funding_links":["https://github.com/sponsors/marcoradocchia"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eqr-rs\u003c/h1\u003e\n\n  ![GitHub releases](https://img.shields.io/github/downloads/marcoradocchia/qr-rs/total?color=%23a9b665\u0026logo=github)\n  ![GitHub source size](https://img.shields.io/github/languages/code-size/marcoradocchia/qr-rs?color=ea6962\u0026logo=github)\n  ![GitHub open issues](https://img.shields.io/github/issues-raw/marcoradocchia/qr-rs?color=%23d8a657\u0026logo=github)\n  ![GitHub open pull requests](https://img.shields.io/github/issues-pr-raw/marcoradocchia/qr-rs?color=%2389b482\u0026logo=github)\n  ![GitHub sponsors](https://img.shields.io/github/sponsors/marcoradocchia?color=%23d3869b\u0026logo=github)\n  ![Crates.io downloads](https://img.shields.io/crates/d/qr-rs?label=crates.io%20downloads\u0026logo=rust)\n  ![Crates.io version](https://img.shields.io/crates/v/qr-rs?logo=rust\u0026color=%23d8a657)\n  ![GitHub license](https://img.shields.io/github/license/marcoradocchia/qr-rs?color=%23e78a4e)\n\n  ![colored_qr](assets/colored_qr.png)\n\u003c/div\u003e\n  \n\u003ca href=\"https://repology.org/project/qr-rs/versions\"\u003e\n  \u003cimg src=\"https://repology.org/badge/vertical-allrepos/qr-rs.svg\" alt=\"Packaging status\" align=\"right\"\u003e\n\u003c/a\u003e\n\nCommand Line Interface utility to encode URLs or more generally text into QR\ncodes in various file formats and colors.\n\n## Index\n\n- [Install](#install)\n  * [Cargo](#cargo)\n    - [Master branch](#master-branch)\n    - [Latest release](#latest-release)\n  * [AUR](#aur)\n- [Usage](#usage)\n- [Changelog](#changelog)\n- [License](#license)\n\n## Install\n\nThe following installation instructions assume a **Rust toolchain** (`rustc \u003e=1.70.0`) installed\non the system. In order to install such toolchain you can use `rusutp`: see\nhttps://www.rust-lang.org/tools/install for further installation\ninstructions and notes.\n\n### Cargo\n\nIn order to install using Rust's package manager `cargo` follow instructions\nbelow.\n\n#### Master branch\n\nTo build and install from master branch run:\n```sh\ncargo install --git https://github.com/marcoradocchia/qr-rs --branch master\n```\n\n#### Latest release\n\nTo build and install the latest release from\n[crates.io](https://crates.io/crates/qr-rs) run:\n```\ncargo install qr-rs\n```\n\n### AUR\n\nFor **Arch Linux** (and other Arch based distros) a binary package[^1] is\navailable in the **AUR** (**A**rch **U**ser **R**epository):\n\n- [qr-rs-bin](https://aur.archlinux.org/packages/qr-rs-bin)\n\nYou can install it using an _AUR helper_ such as `yay`:\n```sh\nyay -S qr-rs-bin\n```\nor `paru`:\n```sh\nparu -S qr-rs-bin\n```\n\n[^1]: Currently only `x86_64`\n\n## Usage\n\n```\nqr-rs v0.3.0 by Marco Radocchia \u003cmar.radocchia@proton.me\u003e\n\nA CLI utility to encode URLs or text into QR codes in various formats and colors.\nUsage: qr [OPTIONS] [STRING]\n\nArguments:\n  [STRING]  String to encode\n\nOptions:\n  -o, --output \u003cOUTPUT\u003e\n          Output file (supported file extensions: jpeg, jpg, png, svg); omit to print QR code to console\n  -F, --force\n          Force output, i.e. overwrite without user confirmation\n  -f, --fg \u003cFG\u003e\n          Background color (hex code) [default: #000]\n  -b, --bg \u003cBG\u003e\n          Foreground color (hex code) [default: #FFF]\n  -B, --border \u003cBORDER\u003e\n          Border size (expressed in unit blocks) [default: 1]\n  -l, --error-correction-level \u003cERROR_CORRECTION_LEVEL\u003e\n          QR error orrection level [default: medium] [possible values: low, medium, quartile, high]\n  -s, --scale \u003cSCALE\u003e\n          Scale factor (raster image output only) [default: 25]\n  -h, --help\n          Print help\n  -V, --version\n          Print version\n```\n\n## Changelog\n\nComplete [CHANGELOG](CHANGELOG.md).\n\n## License\n\n[GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoradocchia%2Fqr-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoradocchia%2Fqr-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoradocchia%2Fqr-rs/lists"}