Imprint
English · 简体中文 · 繁體中文 · 日本語
Flash OS images onto USB drives and SD cards. Same job as balenaEtcher: pick an image, pick a removable disk, write, verify.
Raspberry Pi mode works like the official Raspberry Pi Imager: choose a Pi model, download Raspberry Pi OS (or another catalog image), set hostname, user, Wi-Fi, and SSH, then write the SD card. First boot comes up already configured — including headless, with no monitor.
Native desktop UI built with GPUI via gpui-kit, plus a CLI. Runs on macOS, Linux, and Windows.
Writing a disk erases it. Imprint hides internal / system drives. The CLI will not write without --yes.
How to use (简体中文 · 繁體中文 · 日本語) · Releases
Features
- Flash
.iso, .img, .dmg, and compressed variants (.gz, .bz2, .xz, .zst, .zip)
- Raspberry Pi mode, matching the official Imager: catalog download plus first-boot hostname, user, Wi-Fi, SSH, timezone, and keyboard
- Auto-detect removable USB / SD targets; system disks stay hidden
- Write + optional byte-for-byte validation
- Drag-and-drop an image onto the window
- Flash the same image again, or pick a new one
- In-app updates on packaged builds
- UI in English, 简体中文, 繁體中文, 日本語, 한국어, Deutsch, Español, Français, Português
imprint-cli for scripts and recovery shells
Raspberry Pi mode
The same flow as Raspberry Pi Imager: Device → OS → Options → Storage.
- Device — pick the Pi model so the catalog filters compatible images.
- OS — Raspberry Pi OS or another official image from the Raspberry Pi catalog, or a local file. Downloads are cached; writing the same image again does not re-download.
- Options — hostname, username and password, Wi-Fi (SSID, password, country), SSH (password or public key), timezone, and keyboard. Imprint writes these onto the FAT boot partition after flashing (cloud-init or legacy
firstrun.sh, depending on the image), so first boot is already set up.
- Storage — pick the SD card or USB disk, then Write.
Open it from the Raspberry Pi bar at the bottom of the window, or File → Raspberry Pi….
How to use
Full walkthrough: docs/HOW_TO_USE.md.
Desktop
- Open Imprint.
- Image — click Select, use File → Open Image…, or drop an
.iso / .img / .dmg (or a compressed archive) onto the window.
- Target — plug in the USB stick or SD card, click Select, choose the removable disk. Internal disks are not listed.
- Click Write. Approve the administrator prompt (Touch ID / password, polkit, or UAC).
- Wait for unmount → flash → optional validation. When it finishes, the drive is ready to boot.
Raspberry Pi: see Raspberry Pi mode. Click the Raspberry Pi bar (or File → Raspberry Pi…), then Device → OS → Options → Storage.
Settings (gear, or ⌘, / Ctrl+,): appearance, language, validate write, eject on success, hide system drives.
Command line
# List removable disks
imprint-cli devices
# Flash — --yes is required; prompts for administrator / root access
imprint-cli flash ubuntu.iso --device /dev/rdisk4 --yes
Device paths: macOS /dev/rdiskN, Linux /dev/sdX or /dev/nvmeXn1, Windows \\.\PhysicalDriveN.
Install
macOS (Homebrew)
Install the cask from googolmo/homebrew-tap. Homebrew then downloads the .dmg from this project’s GitHub Releases:
brew install --cask googolmo/tap/imprint
This installs Imprint in /Applications and puts imprint-cli on your PATH. The cask is not in homebrew/cask.
Or download the .dmg from GitHub Releases.
Linux (Debian / Ubuntu)
Install the APT source from googolmo/repo. apt then downloads the .deb from this project’s GitHub Releases:
sudo mkdir -p /usr/share/keyrings
sudo curl -fsSL https://repo-cr4.pages.dev/keys/repo.gpg \
-o /usr/share/keyrings/repo-archive-keyring.gpg
sudo chmod 644 /usr/share/keyrings/repo-archive-keyring.gpg
sudo curl -fsSL https://repo-cr4.pages.dev/ubuntu/mosumi-repo.sources \
-o /etc/apt/sources.list.d/mosumi-repo.sources
sudo apt update
sudo apt install imprint
mosumi-repo.sources uses suite noble (Ubuntu 24.04 / Debian 13+). Use suite resolute for Ubuntu 26.04 (amd64 and arm64).
Linux (Arch)
Install the Pacman source from googolmo/repo. pacman then downloads the .pkg.tar.zst from this project’s GitHub Releases:
curl -fsSL https://repo-cr4.pages.dev/keys/repo.asc | sudo pacman-key --add -
sudo pacman-key --lsign-key 9DF42B7054F1CB5B
sudo curl -fsSL https://repo-cr4.pages.dev/pacman/mosumi-repo.conf \
-o /etc/pacman.d/mosumi-repo.conf
echo -e '\nInclude = /etc/pacman.d/mosumi-repo.conf' | sudo tee -a /etc/pacman.conf
sudo pacman -Sy imprint
Linux and Windows
Packaged builds are attached to GitHub Releases: Windows amd64 (.msi) and arm64 (NSIS); Linux amd64 and arm64 (.deb for Ubuntu 24.04/Debian 13+ and Ubuntu 26.04, AppImage, and Arch .pkg.tar.zst).
Quick start (from source)
# List removable disks
cargo run -p imprint-cli -- devices
# Flash — prompts for administrator / root access
cargo run -p imprint-cli -- flash ubuntu.iso --device /dev/rdisk4 --yes
# GUI — macOS needs full Xcode (Metal shader compiler), not just CLT
cargo run -p imprint-app
Linux GUI builds need Fontconfig, FreeType, Wayland/X11, and Vulkan development packages (*.pc files). Runtime libs alone are not enough:
sudo apt-get install -y --no-install-recommends \
pkg-config \
libfontconfig-dev \
libfreetype6-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
libwayland-dev \
libx11-dev \
libx11-xcb-dev \
libasound2-dev \
libvulkan-dev \
libgl1-mesa-dev
Privileges
Opening a raw disk requires elevated rights. Imprint asks for them when you write:
- macOS: system authorization dialog (Touch ID / Apple Watch when the Mac allows it, otherwise password)
- Linux: polkit (
pkexec) or sudo
- Windows: UAC prompt
You can still launch with sudo / “Run as administrator” if you prefer. The GUI does not need to be started as root.
Workspace
| Crate |
Role |
imprint-core |
Shared types (ImageRef, TargetDisk, FlashProgress, errors) |
imprint-image |
Sniff / decompress / stream the payload |
imprint-device |
Enumerate disks, hide system drives, unmount / eject |
imprint-rpi |
Raspberry Pi catalog, download, first-boot config |
imprint-flash |
Block write + verify |
imprint-ui |
GPUI views and theme |
imprint-app |
Desktop binary (imprint) |
imprint-cli |
CLI binary (imprint-cli) |
Dependency versions live in the root Cargo.toml [workspace.dependencies]. Features (clap derive, …) live on the member crates. GPUI is pulled in only as gpui-kit (features = ["component"]).
Do not add gpui, gpui_platform, gpui-component, or gpui-unofficial as direct dependencies. See AGENTS.md to change the UI.
License
Imprint source is Apache-2.0. See LICENSE and NOTICE.
- CLI (
imprint-cli): Apache-2.0. It does not link GPUI.
- Desktop app (
imprint): gpui-kit currently pulls gpui-pre-ztracing / gpui-pre-ztracing-macro (GPL-3.0-or-later). Distributing that binary is a combined work that must also comply with GPL-3.0 until those crates leave the default graph (see zed#55470).
评论