{"id":15031670,"url":"https://github.com/lenivaya/qrrs","last_synced_at":"2025-04-13T02:17:24.473Z","repository":{"id":37836799,"uuid":"280405563","full_name":"Lenivaya/qrrs","owner":"Lenivaya","description":"CLI QR code generator and reader written in rust","archived":false,"fork":false,"pushed_at":"2025-02-03T21:24:54.000Z","size":313,"stargazers_count":82,"open_issues_count":6,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T02:17:11.909Z","etag":null,"topics":["cli","cli-qr","nix","nix-flake","qrcode","qrcode-generator","qrcode-scanner","reader","rust","rust-crate","rust-lang","rustlang","shell","terminal","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Lenivaya.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":"2020-07-17T11:20:26.000Z","updated_at":"2025-04-05T19:46:15.000Z","dependencies_parsed_at":"2023-11-16T00:33:36.745Z","dependency_job_id":"1c542aa1-57f9-4dc1-927e-6500007775b1","html_url":"https://github.com/Lenivaya/qrrs","commit_stats":{"total_commits":247,"total_committers":10,"mean_commits":24.7,"dds":"0.18218623481781382","last_synced_commit":"e3d23f0a2f7291a92ebcb29c85da389fa728f3d6"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lenivaya%2Fqrrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lenivaya%2Fqrrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lenivaya%2Fqrrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lenivaya%2Fqrrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lenivaya","download_url":"https://codeload.github.com/Lenivaya/qrrs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654104,"owners_count":21140237,"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":["cli","cli-qr","nix","nix-flake","qrcode","qrcode-generator","qrcode-scanner","reader","rust","rust-crate","rust-lang","rustlang","shell","terminal","terminal-based"],"created_at":"2024-09-24T20:16:17.963Z","updated_at":"2025-04-13T02:17:24.455Z","avatar_url":"https://github.com/Lenivaya.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eQRrs\u003c/h1\u003e\n\u003cp align=\"center\"\u003eCLI QR code generator and reader written in rust\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![CI](https://github.com/Lenivaya/qrrs/workflows/CI/badge.svg)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)\n[![codecov](https://codecov.io/gh/Lenivaya/qrrs/branch/master/graph/badge.svg?token=UBGW1EV2GV)](https://codecov.io/gh/Lenivaya/qrrs)\n\u003ca href=\"https://crates.io/crates/qrrs\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/qrrs.svg?colorB=319e8c\" alt=\"Version info\"\u003e\u003c/a\u003e\u003cbr\u003e\n\n![image](https://github.com/Lenivaya/qrrs/assets/49302467/d83217a5-0b11-4171-8d5c-1c4bb09b4339)\n\n\u003c/div\u003e\n\n# Info\n\n\u003c!-- \u003cimg src=\"(https://github.com/Lenivaya/qrrs/assets/49302467/d83217a5-0b11-4171-8d5c-1c4bb09b4339.png\" alt=\"emacs screenshot\" align=\"right\" width=\"400px\"\u003e --\u003e\n\nQRrs is a simple, cross-platform, command-line utility written in rust for working with qr codes (what actually follows from the name).\n\n## Usage\n\n### Quickly generate qr code\n\n```console\nqrrs \"Your input here\"\n```\n\n### Generate code, than read it\n\n```console\nqrrs \"Something\" /tmp/qr.png\n```\n\n```console\n$ qrrs --read /tmp/qr.png\nSomething\n```\n\n### Print generated code to term\n\n```console\nqrrs -t \"Something\" /tmp/qr.png\n```\n\n```rich-text-format\n\n█████████████████████████████\n█████████████████████████████\n████ ▄▄▄▄▄ █▄ █▄▄█ ▄▄▄▄▄ ████\n████ █   █ █▀▄████ █   █ ████\n████ █▄▄▄█ █ ▄█▀▄█ █▄▄▄█ ████\n████▄▄▄▄▄▄▄█ ▀ ▀ █▄▄▄▄▄▄▄████\n████▄███ █▄▄ ▄▀ ▀▄▄▄  █▀▄████\n████▄ ▀█▀▄▄▀▄▀▀▄█▀▄█ █▄ ▀████\n████▄█▄██▄▄▄▀▀▀█ ▄▀█ ▀█▄ ████\n████ ▄▄▄▄▄ █▄▀▄▀ ▄▄▀ ██ █████\n████ █   █ █▄█▀ ▀▄▄█ ▀▀ ▀████\n████ █▄▄▄█ ██▀ ▄█▀ ▀ ████████\n████▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄█▄██▄████\n█████████████████████████████\n▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\n\n```\n\n### Show code as text in terminal\n\n```console\nqrrs --read --terminal /tmp/qr.png\n```\n\n```rich-text-format\n\n█████████████████████████████\n█████████████████████████████\n████ ▄▄▄▄▄ █▄ █▄▄█ ▄▄▄▄▄ ████\n████ █   █ █▀▄████ █   █ ████\n████ █▄▄▄█ █ ▄█▀▄█ █▄▄▄█ ████\n████▄▄▄▄▄▄▄█ ▀ ▀ █▄▄▄▄▄▄▄████\n████▄███ █▄▄ ▄▀ ▀▄▄▄  █▀▄████\n████▄ ▀█▀▄▄▀▄▀▀▄█▀▄█ █▄ ▀████\n████▄█▄██▄▄▄▀▀▀█ ▄▀█ ▀█▄ ████\n████ ▄▄▄▄▄ █▄▀▄▀ ▄▄▀ ██ █████\n████ █   █ █▄█▀ ▀▄▄█ ▀▀ ▀████\n████ █▄▄▄█ ██▀ ▄█▀ ▀ ████████\n████▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄█▄██▄████\n█████████████████████████████\n▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\n\n```\n\n### Save it into another file\n\n```console\nqrrs --read --terminal /tmp/qr.png /tmp/qr1.png\n```\n\nAlmost the same result will be without terminal flag, but now instead of QrCode printed in terminal we will see text from it.\n\n```console\nqrrs --read /tmp/qr.png /tmp/qr1.png\n```\n\n### Create code using pipeline\n\nUse \"**-**\" to signalize passing data via stdin.\n\n```console\n$ echo \"something\" | qrrs - /tmp/something.png\n$ qrrs -r /tmp/something.png\nsomething\n```\n\n### Invert colors\n\n![image](https://github.com/Lenivaya/qrrs/assets/49302467/186e2501-8ef1-4728-9567-5b2013911ec0)\n\n### Create code specifying it's margin\n\n![image](https://github.com/Lenivaya/qrrs/assets/49302467/b98a7df7-171a-4707-b733-e095fa7da814)\n![image](https://github.com/Lenivaya/qrrs/assets/49302467/6be8fee9-a4a5-4855-b515-8649b68d8028)\n\n## Install\n\n## Nix\n\n```console\nnix run github:Lenivaya/qrrs -- \"your input\"\n```\n\n### Using last version through overlay in nixos config\n\nAdd this repository as an input to your flake:\n\n```nix\nnixpkgs.url = \"nixpkgs/nixpkgs-unstable\";\nqrrs = {\n  url = \"github:lenivaya/qrrs\";\n  inputs.nixpkgs.follows = \"nixpkgs\";\n};\n```\n\nThen use the overlay somewhere in your config:\n\n```nix\n{inputs, pkgs, ...}: {\n  nixpkgs.overlays = [inputs.qrrs.overlays.default];\n  environment.systemPackages = with pkgs; [qrrs];\n}\n```\n\n## NetBSD\n\n```console\npkgin install qrrs\n```\n\n### From crates.io\n\n```console\ncargo install qrrs\n```\n\n### From github\n\n```console\ncargo install --git https://github.com/Lenivaya/qrrs.git\n```\n\n### [Precompiled binaries](https://github.com/Lenivaya/qrrs/releases)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenivaya%2Fqrrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flenivaya%2Fqrrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenivaya%2Fqrrs/lists"}