Skip to content

Lupe v0.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 11:55
· 43 commits to main since this release
6ecab93

Lupe 0.1.0 – reads QR codes and barcodes from the webcam, a screen region, files or the clipboard.

First tagged version. Before, there were only builds in the release latest (0.1.0-ci.N).

Added

  • Reading codes from the webcam, a screen region (Win+Shift+Q, on the Mac ⌘⌥Q), image files and the clipboard, decoded with zxing-cpp.
  • Copy the result, type it into the program in front or open it as a link through a link rule; the camera works like a hand scanner.
  • History with CSV export, settings as JSON, autostart, notification-area icon.
  • Command line with documented exit codes, --demo and --screenshots.
  • Windows, Linux (X11 and Wayland, x64 and arm64) and macOS (Apple Silicon and Intel), user interface with Avalonia.
  • Packages: MSI, single-file exe, framework-dependent ZIP, .deb, tar.gz, Lupe.app; SHA256SUMS.txt in every release.
  • Interface in English, German, Spanish, French and Chinese (simplified), following the system language and switchable. Spanish, French and Chinese are machine translations, not yet reviewed by native speakers.
  • About page with version, build, licence, third-party licences, website, legal notice (Impressum), privacy and support; the licence opens locally instead of in the browser.
  • lupe --version and lupe --info (version, licence, links); English names for commands and switches (read, --background, --screen, --help, --theme light|dark|both). The help and the About page name the command of each system (Lupe.exe, lupe, on macOS the program inside Lupe.app) and the image formats it can read there.

Changed

  • The Linux package is now called ictbaden-lupe (was lupe) and replaces the old package on installation.
  • Every package contains LICENSE.txt; the .deb has a copyright file.
  • Package metadata in English by default: the Linux menu entry (with de, es, fr, zh_CN), the .deb description, README.txt next to LIESMICH.txt in the tar.gz; the macOS camera prompt in all five languages; CFBundleVersion numbers only.
  • CI checks every bundled native library (glibc, minimum macOS version, VC++ runtime) and reads a code with every package – on Linux also on Ubuntu 20.04/22.04 and Debian 12, on Windows also after an MSI installation.
  • macOS: signing with a Developer ID and notarisation are prepared and run as soon as the credentials are in the secrets.
  • Typing: line breaks in a code are typed as spaces for the camera and the screen scan – a code in front of the camera or on a web page can no longer press Enter in the program in front. The key chosen to follow the typing still comes.
  • Typing: if another window comes to the front while typing, Lupe stops and says so instead of typing the rest there.
  • Language selection: Spanish, French and Chinese are marked as machine-translated.
  • Release notes in English; documentation and screenshots show the English interface (German screenshots in docs/assets/screenshots/de). Legal notice at https://ict-baden.de/impressum/, support and security contact through the contact page.
  • Linux and macOS: settings and history are readable only by the own user (folders 0700, files 0600). A CSV export still follows the umask; an overwritten file keeps its permissions.
  • Command line: C1 control characters (\xHH), the line separators U+2028/U+2029 and characters that change the text direction (\uXXXX) are escaped as well; --help describes it.
  • Linux: the documentation names glibc 2.31 (Ubuntu 20.04, Debian 11) as the minimum – the limit CI checks and tests for every library; the .deb needs ICU 66 or later.
  • Release: Lupe-sbom.cdx.json, a software bill of materials (CycloneDX) of all components.
  • History: wider time column (the date was cut off).

Fixed

  • Linux: on Debian 12, Ubuntu 22.04 and other systems with glibc below 2.38, every scan reported “No code found”, then Lupe crashed. The native zxing-cpp library is now built in-house (glibc 2.28, x64 and arm64), and the .deb declares the glibc version it needs.
  • macOS: the zxing-cpp library required macOS 26 (Apple Silicon) or 15 (Intel); now macOS 12, like the app.
  • Windows: the zxing-cpp library needed the VC++ runtime, which no package shipped; it is now linked statically.
  • Linux: the hit sound was written under a fixed name to the shared /tmp, where another user could plant a symlink that Lupe then overwrote. It now goes to a new folder of its own. Likewise, the socket for “one Lupe per session” lives in the user's runtime folder instead of /tmp and only accepts connections of the same user.
  • Starting without culture data (DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1) failed (“… is an invalid culture identifier”) at start, with --help and when building the main window. Lupe now starts with the English interface in that case; tests start Lupe in this mode.
  • THIRD-PARTY-NOTICES.txt complete: ANGLE, MicroCom, Avalonia.Native, the WiX custom action of the MSI, the notices of the SkiaSharp/HarfBuzzSharp native packages and of the .NET runtime in full instead of a link, Windows SDK licence corrected; CI checks every shipped file.
  • Linux and macOS: an error while accepting a signal (for example from another user at the socket) ended the listening for “one Lupe per session”; after that, --screen no longer arrived until a restart.
  • If the recognition library cannot be loaded, Lupe now reports an error with the code LUP-0001 (command line: exit code 3; interface: a hint at start and on every scan) instead of “No code found”, and no longer crashes.

All versions: CHANGELOG

Downloads

Windows files are not signed yet: SmartScreen may warn on first start (More info › Run anyway).

Windows (10 1809 or later, x64)

Linux (X11 and Wayland)

macOS (12 or later; not notarized yet: on first start, choose Open Anyway under System Settings › Privacy & Security, see Installation)

SHA256SUMS.txt: checksums of all files · Lupe-0.1.0-sbom.cdx.json: software bill of materials (CycloneDX) · Installation