Screenshot tool for extracting text and QR codes and more on the fly
Same feeling and simplicity as Flameshot
Install | Why oshot | Features | Usage | Troubleshooting
- Why oshot?
- Features
- How does it compare?
- Installation
- Usage
- Build from Source
- Troubleshooting
- How oshot is developed
- Contributing
- License
- One tool instead of three. A screenshot tool, an OCR app and the QR scanner on your phone, all working from the same selection.
- Copy what you can't select. Error dialogs, videos, slides, images, and VMs or remote desktops that don't share the clipboard.
- The same tool on every desktop. One overlay, the same keys and one config file on Linux (X11, and Native Wayland on GNOME, KDE, Hyprland, Sway and others), Windows 10 and 11 and macOS 15+.
- Scriptable.
oshot --extract-textandoshot --extract-barcodeprint what's on the screen, or in an image file, without opening the overlay. Add--selection "$(slop)"to read one region. - Private by default. Tesseract and ZBar run on your machine. oshot only goes online when you ask it to download an OCR language or browse/install a plugin.
- Plugins, if you want them. The
-pluginsbuilds load plugins through a plain C ABI, so they can be written in any language that can export C functions. The API is still experimental.
oshot can't record the screen, upload captures or pin them. Flameshot and ShareX do some or all of that; see How does it compare?.
Another demo
simplescreenrecorder-2026-01-04_16.07.31.mp4
Capture
- Region selection with resize handles, full-image select (
Ctrl+A) and capture delay - Multi-monitor support cross-platform
- Tray mode with a global hotkey on Windows and macOS (on Linux, bind
oshot --guiin your desktop settings) - Open existing images with
oshot -f <image>or from the tray - Fullscreen overlay that covers panels and taskbars (configurable)
Read
- OCR via Tesseract, with multiple languages and a layout setting (automatic, single word, single line or paragraph)
- In-app OCR model downloader
- QR code and barcode decoding via ZBar
- Edit the recognized text before copying it
Annotate
- Arrow, line, rectangle, circle, filled shapes, numbered counters, text and freehand pencil
- Color picker with zoom loupe, and undo
- Copy or save the result as an image in PNG/JPEG/TGA/BMP
Customize
- Dark and light themes, customizable in a TOML theme file that reloads live and can include generated palettes (pywal, matugen), see docs/theming.md
- Fonts, output filename format, behavior and rendering options, from the Preferences window or a TOML config file
Extend (experimental, only in the -plugins builds, see Installation)
- Plain C ABI, so plugins can be written in any language that can export C functions. They draw with oshot's own widgets and declare settings that oshot shows and saves, or use Dear ImGui directly through cimgui
- Browse and install plugins from the plugin index, prebuilt
for your system, or from git repositories, folders and archives; update, enable, disable and uninstall them, from
the Tools menu of the text tools window or from the command line with
oshotpm - Writing plugins, with examples in C and C++
Compared as of October 2026. Please open an issue if something is out of date.
| oshot | Flameshot | NormCap | ShareX | |
|---|---|---|---|---|
| Annotations | ✅ | ✅ | ❌ | ✅ |
| OCR | ✅ | ❌ (#702) | ✅ | ✅ |
| QR / barcode decoding | ✅ | ❌ (#511) | ✅ | ✅ |
| Linux | ✅ | ✅ | ✅ | ❌ (#6625) |
| Windows | ✅ | ✅ | ✅ | ✅ |
| macOS | ✅¹ | ✅ | ✅ | ❌ |
| Plugins | ✅² | ❌ | ❌ | ❌ |
| Pin captures to the screen | ❌ | ✅ | ❌ | ✅ |
| Upload and share | ❌³ | ✅ | ❌ | ✅ |
| Screen recording | ❌ | ❌ | ❌ | ✅ |
| Distro packages / Flathub | AUR only | ✅ | ✅ | – |
| Built with | C++, Dear ImGui | C++, Qt | Python, Qt | C#, WinForms |
¹ macOS 15 (Sequoia) or later. ² Only in the -plugins builds.
³ Plugins can read the capture and the recognized text, replace the text output, draw their own UI and use the network, so features such as uploading, translation or a different OCR engine could be built as plugins. None of these exist yet: if you want to write one, see Writing oshot plugins, or open an issue and I'll help. The plugin API is still experimental and can change between releases.
Download from the latest release page.
Each release comes with a -plugins variant, which adds plugin support and the oshotpm plugin manager.
If you don't use plugins, pick the file without -plugins.
Download the installer for your PC and run it:
| Package | PC |
|---|---|
oshot-windows-x64-setup-<version>.exe |
Intel or AMD (most PCs) |
oshot-windows-arm64-setup-<version>.exe |
ARM, e.g. Snapdragon (Windows 11) |
Press Alt+Shift+S anywhere to capture while oshot is in the tray. You can change it in Preferences.
Prefer a portable copy? Download the portable zip tarball, extract it anywhere and just run oshot.exe.
Note
The installer is not code-signed yet, so SmartScreen may warn on first run: click More info → Run anyway.
Download the .dmg that matches your Mac:
| Package | Mac | Requires |
|---|---|---|
oshot-macos-arm64-<version>.dmg |
Apple Silicon (M1 and newer) | macOS 15 (Sequoia) or later |
oshot-macos-x86_64-<version>.dmg |
Intel | macOS 15 (Sequoia) or later |
Note
Older macOS versions aren't supported yet: some of the bundled libraries (Leptonica, ZBar and what they need) come from Homebrew, which builds them for the macOS of our build machines.
- Open the
.dmgand drag oshot onto Applications. - The app isn't notarized yet, so macOS blocks the first launch. Run this once in Terminal:
Or open oshot once, then go to System Settings → Privacy & Security and click Open Anyway.
xattr -dr com.apple.quarantine /Applications/oshot.app
- Grant Screen Recording permission when asked (System Settings → Privacy & Security → Screen Recording), then reopen oshot.
Press Cmd+Shift+2 anywhere to capture while oshot is in the menu bar. You can change it in Preferences.
In the -plugins builds, the plugin manager is at /Applications/oshot.app/Contents/MacOS/oshotpm.
| Package | Description |
|---|---|
oshot-<arch>-<version>.AppImage |
Recommended. Self-contained, runs on most distributions |
oshot-debian-package-<arch>-<version>.deb |
Debian, Ubuntu and derivatives |
oshot-linux-x86_64-<version>.zip |
Built on Arch Linux, so it needs a glibc and libraries as new as Arch's (rolling distributions); the runtime libraries must be installed (see Dependencies) |
AppImage
$ chmod +x oshot-*.AppImage
$ ./oshot-*.AppImageUsing oshotpm from the -plugins AppImage
The oshot-<arch>-plugins-<version>.AppImage also contains the oshotpm plugin manager. Plugins can be managed from
the text tools window, or on the command line by passing oshotpm as the first argument:
./oshot-*-plugins-*.AppImage oshotpm install https://github.com/user/repo
# or link it as oshotpm somewhere in your PATH
ln -s "$PWD"/oshot-*-plugins-*.AppImage ~/.local/bin/oshotpm
oshotpm listDebian / Ubuntu
sudo apt install ./oshot-debian-package-*.debUse apt rather than dpkg -i, so the dependencies get installed too.
Generic zip
unzip oshot-linux-*.zip
sudo ./oshot/install.sh # installs into /usr/local
sudo ./oshot/install.sh --uninstall # removes it againyay -S oshot-binoshot copies through xclip on X11 and wl-copy (from wl-clipboard) on Wayland, which keep serving the copied
text or image after oshot closes. Install the one for your session; the .deb recommends both.
How the screenshot is taken depends on the desktop:
- GNOME and most other desktops: screenshots go through the desktop's screenshot portal (the first capture may ask for permission).
- KDE Plasma: oshot asks KWin for the screenshot directly. Plasma 6.7 and older only allow that for an oshot
installed with its desktop file (distribution packages, the .deb,
make install), so other builds use Spectacle there, if it's installed, and else the portal, which takes longer (see "KDE Plasma: the overlay is slow to appear" under Troubleshooting). - No screenshot portal (e.g. some Sway/Hyprland setups): install
grim.
oshot doesn't need XWayland. Capturing, copying and dialogs all talk to Wayland directly, and the overlay is a native Wayland window too.
On Linux, oshot doesn't register a global shortcut itself. Bind oshot --gui to a key in your desktop's keyboard
settings (e.g. Settings → Keyboard → Custom Shortcuts on GNOME), or in your window manager's config, for example:
# Hyprland
bind = SUPER SHIFT, S, exec, oshot --gui
# Sway / i3
bindsym $mod+Shift+s exec oshot --guioshot # captures a screenshot and opens the overlay, then stays in the tray
oshot --gui # only capture and open the overlay (for keyboard shortcuts)
oshot --tray # start in the tray without capturing
oshot -f <path> # open an image file instead of capturing
oshot --extract-text # print the text on the screen, no overlay
oshot -f <path> --extract-text --selection 400x80+10+20 # text of one region of an image
oshot --extract-barcode --instant-copy # copy the QR codes/barcodes on the screen
oshot --instant-copy --selection "$(slop)" # copy a region picked with slop as an image
Requires a C++20 compiler.
| Platform | Libraries |
|---|---|
| All | sdl3, tesseract, leptonica, zbar, OpenGL |
| Linux / BSD | libx11, libxrandr, gio-2.0, gtk+-3.0, dbus-1, fontconfig, wayland, wayland-protocols, libappindicator3 or ayatana-appindicator3 |
| macOS (frameworks) | Cocoa, Metal, QuartzCore, CoreGraphics, IOKit, Carbon, UserNotifications |
| Windows | d3d11, dxgi, shcore, ws2_32 |
Install commands:
Ubuntu / Debian
libsdl3-dev needs Ubuntu 25.04 or Debian 13. On older releases, leave it out and build SDL3 with
scripts/build_sdl3.sh (it lists the headers it needs).
sudo apt-get install -y \
build-essential pkg-config cmake \
libx11-dev \
libsdl3-dev \
libtesseract-dev libleptonica-dev \
libzbar-dev \
libgtk-3-dev libdbus-1-dev libfontconfig-dev libayatana-appindicator3-dev \
libwayland-devArch Linux
sudo pacman -S --needed \
base-devel cmake \
libx11 \
sdl3 \
tesseract leptonica \
zbar \
gtk3 libayatana-appindicator \
waylandFreeBSD and other BSDs
pkg install git cmake pkgconf gmake \
sdl3 tesseract zbar gtk3 libappindicator dbus \
libX11 mesa-libs waylandOther BSDs need the same libraries from their ports. FreeBSD is built in CI; the others aren't tested, so please report build errors.
macOS (Homebrew)
brew install cmake sdl3 tesseract leptonica zbarWindows (MSYS2 UCRT64)
On Windows on ARM, use the CLANGARM64 environment instead, with the same packages named mingw-w64-clang-aarch64-*.
pacman -S --needed \
mingw-w64-ucrt-x86_64-toolchain \
mingw-w64-ucrt-x86_64-ninja \
mingw-w64-ucrt-x86_64-cmake \
mingw-w64-ucrt-x86_64-sdl3 \
mingw-w64-ucrt-x86_64-tesseract-ocr \
mingw-w64-ucrt-x86_64-zbargit clone https://github.com/Toni500github/oshot/
cd oshot
make # `gmake` on the BSDs
./build/release/oshot
sudo make install # into /usr (/usr/local on the BSDs), or PREFIX=<dir>
sudo make uninstallmake DISABLE_PLUGINS=1 builds without plugin support. Packagers can use DESTDIR with make install, or CMake
directly; -DOSHOT_INSTALL_LICENSEDIR= changes or skips (empty) where the license goes.
Or with CMake + Ninja
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja
./oshotWindows: flicker on launch / app fails to start
Download MesaForWindows.7z, extract opengl32.dll beside
oshot.exe, and relaunch. This opengl32.dll is for x64 only; on Windows on ARM, install the [OpenCL and OpenGL Compatibility Pack][compat-pack]
pack instead (see Windows).
[compat-pack]: https://devblogs.microsoft.com/directx/announcing-the-opencl-and-opengl-compatibility-pack-for-windows-10-on-arm/
Linux: missing/mismatched runtime libraries
Use the AppImage build.
Linux: copying does nothing
Install xclip (X11) or wl-clipboard (Wayland), see Clipboard.
KDE Plasma: the overlay is slow to appear
On Wayland with Plasma 6.7 or older, KWin only gives screenshots to programs it finds a desktop file for. Without
one, the log has The process is not authorized to take a screenshot and oshot captures through Spectacle or the
portal instead, which took 645 ms instead of 364 ms in a test VM. This happens when oshot runs from a build folder,
the zip, or a Nix result (nix build, nix run), which install no desktop file. The AppImage always captures
this way, because its executable's path changes on every start.
Install oshot (make install, a package, or on NixOS nix profile install or environment.systemPackages), or
add the desktop file by hand, with oshot's full path in Exec:
mkdir -p ~/.local/share/applications
sed "0,/^Exec=oshot/s||Exec=$(realpath build/release/oshot)|" assets/linux/oshot.desktop \
> ~/.local/share/applications/oshot.desktopFor a Nix result, use $(realpath result)/bin/oshot as the path. Plasma picks the file up after a few seconds.
NixOS: Tesseract can't find language data
TESSDATA_PREFIX must be set explicitly. If tesseract is in environment.systemPackages:
environment.sessionVariables = {
"TESSDATA_PREFIX" = "${pkgs.tesseract}/share/tessdata";
};If it is in users.users.<user>.packages, use home-manager instead:
systemd.user.sessionVariables = {
"TESSDATA_PREFIX" = "${pkgs.tesseract}/share/tessdata";
};[!NOTE] The home-manager solution requires systemd. If
echo $TESSDATA_PREFIXreturns a valid path but OCR still fails, checkocr-pathin your config file.
Still broken? Open an issue with your OS version, the exact error message, and steps to reproduce.
oshot is a solo project. I've been building it since December 2025 in whatever time university and exams leave me. A few people who use it daily have sent fixes, and the people in the r/unixporn Discord thread helped shape a lot of it, but most days it's just me. For now, at least: see Contributing.
Up to v0.5.0-rc2, I wrote most of oshot myself. I used AI tools (mostly Claude) when I was stuck on a bug, to polish the UI or to fix my English, and the help from that Discord thread is the reason less of it is AI-generated than it would have been.
Since then, I've used briefly Claude Code for most of the large work: packaging for every platform, cross-platform build fixes, the plugin system and the plugin index, global hotkeys and translations. Those parts are mostly AI-written/assisted, with the intention of replacing them in the near future.
Nothing ships without me reading it and running it. I test every important change on Linux (X11 and Wayland), Windows and macOS,
in VMs and on real hardware. I once nearly wrecked my school's monitor because a missing glfwTerminate() left it
stuck at a broken resolution, so I take the "real hardware" part seriously. If something is broken, that's on me, not
on a tool, so don't esitate to open an issue.
Every bug report and pull request makes a real difference, for me and everyone else using oshot.
No contribution is too small:
- Spotted a typo or a misplaced dot? Send a pull request. Yes, really, a one-character fix is welcome.
- Missing a feature? Open an issue first so we can talk about how it fits.
- Using oshot daily? Tell me what annoys you. That feedback is what shaped most of oshot so far.
AI-assisted pull requests are fine, as long as you understand the code and have tested it yourself.
If oshot saves you time, starring the repo helps other people find it. If you want to support it with money, you can donate on Ko-fi or PayPal. oshot stays free either way.
oshot is released under the BSD 3-Clause License. Bundled third-party libraries keep their own licenses.

