Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yne/qr
small QR code encoder
https://github.com/yne/qr
Last synced: about 2 months ago
JSON representation
small QR code encoder
- Host: GitHub
- URL: https://github.com/yne/qr
- Owner: yne
- Created: 2024-10-14T20:40:37.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T16:33:41.000Z (2 months ago)
- Last Synced: 2024-10-30T17:32:06.224Z (2 months ago)
- Language: C
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A tiny ( < 200 LOC ) QR code generator
## BUILD
`make qr`
## USAGE
```
./qr yne.fr/qr
```## PREVIEW (debug mode)
![preview](img/preview.gif)
## LIMITATIONS
- `BYTE:4` encoding only (no `NUM:1`, `ALNUM:2`, `KANJI:8`)
- Data padding is made of `0` but shall use `236` and `17`
- QR v2+ won't work yet (due to ECC ?)## LINKS
- [libqrencode](https://github.com/fukuchi/libqrencode) compile with `gcc -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DMICRO_VERSION=1 -DVERSION=\"\" -DSTATIC_IN_RELEASE= -w *.c`
- [bjguillot/qr](https://github.com/bjguillot/qr/blob/master/qr.c) unused, but similar.
- [thonky.com](https://thonky.com/qr-code-tutorial) unused