https://github.com/ilyhalight/qrcode-rs
⚡ Fast qrcode-rust bindings for bun.sh
https://github.com/ilyhalight/qrcode-rs
Last synced: 2 months ago
JSON representation
⚡ Fast qrcode-rust bindings for bun.sh
- Host: GitHub
- URL: https://github.com/ilyhalight/qrcode-rs
- Owner: ilyhalight
- Created: 2024-10-14T20:50:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-29T16:12:07.000Z (over 1 year ago)
- Last Synced: 2025-01-29T22:47:24.471Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 979 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qrcode-rs
⚡ Fast [qrcode-rust](https://github.com/kennytm/qrcode-rust) bindings for bun.sh
Supported platforms: Windows x64, Linux x64 / Aarch64
```bash
bun i @toil/qrcode-rs
```
## Available functions
1. Generate QR Code and get result as png base64
2. Generate QR Code as string
TODO:
1. Add a picture to a QR code
2. Add save QR as file
3. Change minimal and maximum size
4. Change background and module colors
5. Option to remove quiet zone
## Compiling
Only under Linux / WSL
1. Install Rust
2. Install Docker
3. Install Cross
```bash
cargo install cross
```
4. Compile
```bash
bun run compile
```