Skip to main content

flipshot

Grab one frame from a Flipper Zero's screen over USB serial and save it as a native-resolution (128x64) black & white PNG (optionally scaled up and painted in the Flipper's orange) - no qFlipper, no companion app, just a USB cable and this script.

It's very good for manual UI prototyping and back-and-forth overpainting in apps like Aseprite, or as instant visual feedback so your AI can actually see your Flipper Zero's screen.

Here are some examples:

      

clock-o-dial

Installation

flipshot is available from a variety of sources. pip or brew is recommended, because they have a convenient way to manage updates automatically.

  1. pip (Recommended for everyone with a Python environment)
    • You can check if you have Python installed by running python --version in the Terminal or cmd.
    • For Mac and Linux users, there is a high chance that you already have Python installed on your system.
    • For Windows users, you can download Python from the official website.
    • After confirmation, install flipshot through the PyPI package manager, typing pip install flipshot in the Terminal. For Mac users, you may need to use pip3 instead of pip.
    • Verify the installation with flipshot --version.
    • You are perfect, you can use the app with flipshot from any folder in your system.
  2. brew (Recommended for Mac and Linux users)
    • Type brew tap manefunction/tap in your Terminal to add my custom tap (app source) to your brew sources, if you haven't already.
    • Type brew install flipshot to install the application itself.
    • Verify the installation with flipshot --version.
    • You are perfect, you can use the app with flipshot from any folder in your system.
  3. Python package (manual installation, for advanced users)
    • Clone the repository or download the source code from GitHub.
    • Go to the folder with the script in your Terminal.
    • Run pip install . to install flipshot to your system.
    • Run flipshot --version to verify the script is working.
  4. Ready-to-use Windows binary (for Windows users without Python)
    • Download flipshot.exe from the GitHub Releases page.
    • Since it isn't code-signed, Windows SmartScreen may warn about an unrecognized publisher the first time you run it — click "More info" → "Run anyway" to proceed.
    • Open Command Prompt or PowerShell, cd to the folder with flipshot.exe, and run .\flipshot.exe --version to verify it works.
    • You are perfect, you can use the app with .\flipshot.exe.
  5. Python script (manual usage, for advanced users)
    • If you are familiar with Python scripts, venv, and dependencies, you can simply clone the repository, pip3 install pyserial, and run src/flipshot.py directly. Feel free to modify the script for yourself.

Usage

flipshot [-h] [-v] [-b [N] [M]] [-s X] [-p] [-o OUTPUT] [serial_port]
  • -h, --help — show the help text and exit.
  • -v, --version — print the version and exit.
  • serial_port is optional — flipshot auto-detects a connected Flipper Zero over USB. Pass it explicitly if auto-detection fails, e.g. flipshot /dev/cu.usbmodemflip_XXXX1.
  • -o, --output is optional — defaults to flipshot-<device-name>-<YYYY-MM-DD--HH-MM-SS-MSS>.png in the current folder. A file name without an extension gets .png added (-o shot saves shot.png). If it points to a folder (an existing one, or a path ending with a slash, which is created), the screenshot is saved there under the default name: flipshot -o ~/Pictures/flipper/. With --burst and an explicit file path, files are numbered: shot.png becomes shot-1.png, shot-2.png, and so on; with a folder, every file gets its own timestamped default name.
  • -b [N] [M], --burst [N] [M] — take N screenshots, pausing M milliseconds between them. N defaults to 10. -1 keeps capturing until you stop the script (Ctrl+C). M defaults to 1000 and must be between 100 and 5000.
  • -s X, --scale X — enlarge the image X times (X from 1 to 10), so every Flipper pixel becomes an XxX block: -s 3 gives a 384x192 image. Defaults to 1 (native 128x64).
  • -p, --paint — use the Flipper's own colors: the white background becomes orange (#fe8a2c). The image is saved as a 2-color indexed PNG instead of grayscale.

Screenshots are always saved upright: a Flipper in left-handed mode (180°) is rotated back, and a vertical screen gives a 64x128 image.

flipshot -b
flipshot -b 20 250
flipshot --burst -1 100
flipshot -s 4 -p    // the same format (visually) qFlipper do

Close qFlipper or any other serial terminal connected to the Flipper before running flipshot — only one process can hold the serial port at a time.

PNG format

The Flipper's display has only two states per pixel (ink and background), so flipshot stores one bit per pixel, and the PNG type depends on the options:

Options PNG type Colors Notes
(default) 1-bit grayscale black and white No palette; the single bit is the shade itself (0 = black, 1 = white).
-p 1-bit indexed (2-color palette) black and orange #fe8a2c Still 1 bit per pixel; a tiny PLTE chunk maps bit 0 to black and bit 1 to orange.
  • Compared to qFlipper: qFlipper saves screenshots in the RGB color space, which spends 24 bits on every pixel. flipshot's files use 1 bit per pixel, so they are much lighter.
  • Compatibility: both variants are standard PNGs and open in any viewer or editor. Programs that don't like 1-bit images can convert them to RGB in one step.

How it works

flipshot switches the Flipper's CLI into its length-prefixed protobuf RPC mode over the same USB-serial connection qFlipper uses, requests a screen-stream frame and the device's hardware name, and encodes the resulting 1-bit framebuffer as a PNG — all with the Python standard library plus pyserial; no image library required.

Repository info

This repo follows the Conventional Commits specification.

GitHub release (latest by date) GitHub All Releases PyPI version PyPI downloads GitHub Sponsors

Metadata

Release files for flipshot 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flipshot 1.4.0
File Size Uploaded Provenance Actions
flipshot-1.4.0.tar.gz 22.2 kB With provenance Details for flipshot-1.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flipshot 1.4.0
File Interpreter ABI Platform Actions
flipshot-1.4.0-py3-none-any.whl Python 3 none any Details for flipshot-1.4.0-py3-none-any.whl

Total release size: 38.6 kB

Release files / flipshot-1.4.0.tar.gz

Download URL flipshot-1.4.0.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
333adefcf94440d69f7333c791d01c52db943e0bb81ef89b4a9cb64186dc66ba
BLAKE2b-256 checksum
How to use checksums
319967e421773f6c08cd7d863c4bd5bd4a0651b172967b7874f6850ab8383976
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / flipshot-1.4.0-py3-none-any.whl

Download URL flipshot-1.4.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1547778cdf8db82b5d351a890b441ff8c2d7570256491407e8e4998e61f6254c
BLAKE2b-256 checksum
How to use checksums
7c1dbb6b142d6d9b5412edf706777bc5dc80800b603c9d16f1745eb360030080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Security for flipshot 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flipshot-1.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page