HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mchehab
zbar
C2019–2024
mchehab / zbar

zbar

ZBar is an open source software suite for reading bar codes from various sources, including webcams. This is the main repository for reporting issues and send PRs. There's a clone at at https://git.linuxtv.org/zbar.git/, and another one at https://gitlab.com/mchehab_kernel/zbar.

6Distinct people
11Mentions
0Explicit recommenders
1.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

ZBar is an open source software suite for reading bar codes from various sources, including webcams. This is the main repository for reporting issues and send PRs. There's a clone at at https://git.linuxtv.org/zbar.git/, and another one at https://gitlab.com/mchehab_kernel/zbar.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year11 dated mentions

Observed mentions: 2019-12-04 23:17:35 UTC to 2024-10-31 20:51:58 UTC.

0123452019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC505
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202

What Hacker News says

11 sources
I implemented ISBN-13 support in þe Olden Days, and Bookland always struck me as a neat solution to an annoying problem. The whole evolution is quite elegant from SBNs right through to ISBN-13. SBNs are upgradable to ISBN-10(even maintaining their check digit), and those SBNs were then upgradeable to ISBN-13 via Bookland(this time with a check digit change). However, I also remember being annoyed at the transition. Prior to ISBN-13 checksums were a little more robust at simple transposition erorrs, which from my experience is by far the most common error on manual input. Presumably the rationale is that people wouldn't manually input EANs, and re-thinking it now I agree. In 2007 I had to rely on a hand to hold the book and hand to whack at the numpad, whereas now I use my phone and zbar¹ to scan a barcode. I suspect I even spent some
Read the rest
time muttering about the cost of barcode readers, or trying to figure out which bin might contain a :CueCat². How times have changed. [JNRowe proceeds to the village pond to feed the ducks] ¹ https://github.com/mchehab/zbar ² https://en.m.wikipedia.org/wiki/CueCat
In Bookland
Video games in QR codes? That's interesting. Do you have the link to the video? Is it this one? https://youtu.be/ExwqNreocpg https://github.com/mchehab/zbar/commit/5bc323849569a629aa0d1... If so, then the patch he submitted builds upon my work! He fixed a line feed conversion bug that was present in Windows. I use Linux so I did not experience this issue. I remember seeing that patch get merged but I didn't know about the whole video game context. This is amazing. I wrote the patch because I was trying to print a 4096 bit RSA secret key as a QR code. Awesome to see it getting used for something even more awesome. Here are the links to my contributions and related pages: https://github.com/mchehab/zbar/pull/64 https://github.com/mchehab/zbar/issues/55 https://github.com/mchehab/zbar/issues/82 https://bugs.debian.org/cgi-bin/bugreport.cgi?b
Read the rest
ug=703234 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710009 https://wiki.archlinux.org/index.php/Paperkey#Restore_the_se... https://stackoverflow.com/a/60518608/512904 ZBar used to automatically convert binary data to text when decoding 8 bit QR codes, mangling the data in the process. My patch adds the option to disable that, enabling the data to be extracted without corruption. I also added the one shot feature to the ZBar tools to make it easier to use in automated scripts that expect exactly one output: https://github.com/mchehab/zbar/pull/60 Looks like we have a real world application for tiny ELFs now! https://www.muppetlabs.com/~breadbox/software/tiny/teensy.ht...
In US indictments of piracy group members throw top-tier piracy world into chaos
hot tip: zbarimg You can store the TOTP seeds in more compact form by converting QR code screenshots to alphanumeric using zbar barcode tools. In my experience it has difficulty parsing some QR codes created using CSS due to tiny borders between blocks. Those can be fixed by applying a small gaussian blur followed by sharpening (use imagemagick for maximum automation) to fill out the borders. Edit: packages available in Ubuntu (zbar-tools) & Fedora (zbar), source code at https://github.com/mchehab/zbar
In Gitlab Support is no longer processing MFA resets for free users
> Every time you force-push, GitHub keeps and provides direct links to the old commit, the new commit and the diff between the two commits. Not in my experience. Here's one of my pull requests: https://github.com/mchehab/zbar/pull/64 The maintainer reviewed some of the changes and I revised my commits as a result. The review is correctly marked as outdated. Clicking on the file name tells me the commit cannot be found. > We went looking everywhere, but couldn’t find those commits. > Sometimes commits can disappear after a force-push. Head back to the latest changes here.
In How to write the perfect pull request (2015)
Are you using 8 bit encoding? An alphanumeric mode QR code containing base 64 encoded data provides less capacity. In binary mode even a 4096 bit RSA secret key fits while ECC keys produce smaller codes. The qrencode tool has an 8 bit mode but not all decoders can handle binary data. For example, my phone shows me mangled results and I can't redirect them to a file. Like structured append, it doesn't seem to have much support. I've sent patches to ZBar improving this: https://github.com/mchehab/zbar/pull/64 Hopefully it will make QR codes more useful for storing keys and other small files.
In Encoding your WiFi access point password into a QR code
Hardware tokens usually have three slots for keys. That's enough for a full set of signing, encryption and authentication keys. It is not wise to keep the primary certification key there, though. Hardware tokens can fail or be lost or stolen. Subkeys are expendable but the primary key is important enough for special treatment. The best way to keep it offline is to make a paper backup with the paperkey tool and store it in a safe: http://www.jabberwocky.com/software/paperkey/ In addition to this, it's a good idea to QR encode the key. QR codes are quickly and easily restored with a laptop camera and they support even 4096 bit RSA keys. The zbarcam program can be used for this purpose but current versions have binary data decoding problems and aren't easy to interface with. I sent some patches to that fix these problems but they haven't bee
Read the rest
In Two malicious Python libraries caught stealing SSH and GPG keys

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.