timvisee/qr2term-rs

📊 Stupidly simple Rust crate to render a QR code in the terminal.

Rust

74

105 commits

updated Sep 25, 2024

See the code

README

Build status on GitLab CI Newest release on crates.io Documentation Number of downloads on crates.io Project license

Rust library: qr2term

A stupidly simple QR code renderer, that prints text as QR code to the terminal, and nothing else.

example.rs:

fn main() {
    qr2term::print_qr("https://rust-lang.org/");
}

qr2term example screenshot

This library is based on qair, which didn't provide the renderer as a library on it's own. Credits for the actual renderer go to it's developer.

To read a text from the command line and encode it in QR form, run:

$ echo HelloWorld | cargo run --example example-read

To create WiFi credentials in QR form, run:

$ echo HelloWorld | cargo run --example example-wifi

License

This project is licensed under the MPL 2.0 license. Check out the LICENSE file for more information.

hacktoberfest
qrcode
rust-library
terminal

Project health

Overall

2.3/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

Significant stargazers

Eliza Weisman

2,274 followers · starred Sep 2024

eupn

138 followers · starred Dec 2022

Paul Sajna

144 followers · starred Sep 2024

Will Eaton

53 followers · starred Sep 2024

timvisee/qr2term-rs

📊 Stupidly simple Rust crate to render a QR code in the terminal.

Rust

74

105 commits

updated Sep 25, 2024

See the code

README

Build status on GitLab CI Newest release on crates.io Documentation Number of downloads on crates.io Project license

Rust library: qr2term

A stupidly simple QR code renderer, that prints text as QR code to the terminal, and nothing else.

example.rs:

fn main() {
    qr2term::print_qr("https://rust-lang.org/");
}

qr2term example screenshot

This library is based on qair, which didn't provide the renderer as a library on it's own. Credits for the actual renderer go to it's developer.

To read a text from the command line and encode it in QR form, run:

$ echo HelloWorld | cargo run --example example-read

To create WiFi credentials in QR form, run:

$ echo HelloWorld | cargo run --example example-wifi

License

This project is licensed under the MPL 2.0 license. Check out the LICENSE file for more information.

hacktoberfest
qrcode
rust-library
terminal

Project health

Overall

2.3/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

Significant stargazers

Eliza Weisman

2,274 followers · starred Sep 2024

eupn

138 followers · starred Dec 2022

Paul Sajna

144 followers · starred Sep 2024

Will Eaton

53 followers · starred Sep 2024