A native, open-source 2D design tool written in Rust: frames on an infinite canvas, vector shapes and paths, rich text, images, effects, and flexbox and grid layout, with SVG and PNG export.
Still early. The v1 feature list is not complete, and each version's changes are on the Releases page.
- Fast. A GPU canvas (Vello) in a single native binary. No browser, no runtime to install.
- Local. No account, no telemetry. Documents are files on your disk.
- Real CSS layout. Flexbox, CSS grid and absolute insets, under their CSS names, so a layout means what it will mean in code.
- Plain files.
.mastikis versioned JSON with deterministic bytes, so a document diffs and versions like code.
- Canvas. Frames (artboards) on an infinite canvas, nested frames and groups,
frame presets, rulers, guides, pixel and layout grids, and Focus mode
(
Ctrl+\) to hide every panel. - Snapping. To shapes, equal gaps, text baselines, guides, the grid and pixels.
- Shapes and paths. Rectangle, ellipse, polygon, star, line and the pen, with node editing, per-corner radius, rotate, skew and flip.
- Boolean operations. Union, subtract, intersect, exclude, and flatten.
- Layers. Drag to reorder and reparent, rename, hide, lock and filter; align and distribute; shape and alpha masks.
- Fills and strokes. Several of each per layer — solid, linear and radial gradients, images — with dashes, caps, joins, inside/centre/outside alignment and per-side rectangle strokes.
- Effects. Drop shadow, inner shadow, layer blur and colour filters, stackable, on shapes and containers.
- Text. Rich text with per-range styles, system fonts and the Google Fonts catalog on demand, variable-font axes, OpenType features, lists, and text on a path.
- Images. Place by dialog, drag-and-drop or paste; crop; seven adjustments from exposure to shadows.
- Layout. Flexbox, CSS grid with its tracks drawn on the canvas, and absolute insets.
- Export. SVG, PDF, PNG, JPEG and WebP, per-layer export settings saved in the file, to a folder or a ZIP. Copy as SVG or PNG.
- SVG import. Paste SVG and get real, editable layers.
- Library. A home screen for your documents with search, stars, trash and covers. Autosave every 30 seconds and crash recovery.
- Updates. Installed builds update themselves.
Mastik is dark-themed only and has had no accessibility pass yet.
Builds for every release are on the
Releases page, for
Windows and Linux (x86_64) and macOS (Apple Silicon). Installed builds
check GitHub for a new release in the background; set MASTIK_NO_UPDATE_CHECK=1
to turn that off.
Download and run Mastik-win-x64-Setup.exe. It installs per-user, with no
admin prompt, and updates itself. The installer isn't code-signed, so SmartScreen
warns the first time: click More info, then Run anyway.
mastik-vX.Y.Z-windows-x86_64.zip is a portable build that doesn't update itself.
curl -fsSL https://raw.githubusercontent.com/fadion/mastik/main/install.sh | bashThis installs Mastik into /Applications, and it updates itself from then on.
To install by hand, take Mastik-osx-arm64.dmg (or the .pkg) and drag Mastik
into /Applications. The app isn't signed with an Apple Developer ID, so macOS
blocks the first launch: open it once, then click Open Anyway in
System Settings → Privacy & Security, or run
xattr -dr com.apple.quarantine /Applications/Mastik.app.
curl -fsSL https://raw.githubusercontent.com/fadion/mastik/main/install.sh | bash- Debian and Ubuntu: adds the signed apt repository.
- Fedora, RHEL and openSUSE: adds the dnf/zypper repository.
- Anything else: installs the self-updating AppImage.
Packaged installs update with the rest of your system. Read
install.sh first if you prefer; it asks for sudo.
MASTIK_PKG_FAMILY=debian|rpm|appimage overrides its choice, and
MASTIK_NO_REPO=1 installs a single package without adding a repository.
Debian, Ubuntu and derivatives:
curl -fsSL https://fadion.github.io/mastik/mastik-archive-keyring.gpg \
| sudo tee /usr/share/keyrings/mastik-archive-keyring.gpg > /dev/null
curl -fsSL https://fadion.github.io/mastik/mastik.sources \
| sudo tee /etc/apt/sources.list.d/mastik.sources > /dev/null
sudo apt-get update && sudo apt-get install mastikFedora, RHEL and CentOS:
sudo curl -fsSL https://fadion.github.io/mastik/mastik.repo \
-o /etc/yum.repos.d/mastik.repo
sudo dnf install mastikopenSUSE, whose zypper reads its own directory rather than
/etc/yum.repos.d:
sudo zypper addrepo https://fadion.github.io/mastik/mastik.repo
sudo zypper install mastikThe first install asks to import the signing key. Check that it matches this fingerprint before you accept:
456BA115B1DA8E1DBF93299454AC6F3C915023EA
| File | Install | Updates itself |
|---|---|---|
Mastik-linux-x64.AppImage |
chmod +x and run |
Yes |
mastik_X.Y.Z_amd64.deb |
sudo apt-get install ./mastik_*.deb |
No |
mastik-X.Y.Z-1.x86_64.rpm |
sudo dnf install ./mastik-*.rpm |
No |
mastik-vX.Y.Z-linux-x86_64.tar.gz |
Extract anywhere | No |
The .deb and .rpm on the Releases page are unsigned; the repository copies
are signed. dnf does not check a local file's signature unless the machine is
set to (localpkg_gpgcheck); if yours is, add
--setopt=localpkg_gpgcheck=0. Not --nogpgcheck, which also installs the
dependencies dnf fetches without checking theirs.
mastik export renders a document without opening a window or needing a GPU:
mastik export design.mastik --png --scale 2 -o design.png
mastik export design.mastik --svg -o design.svg
mastik export design.mastik --all -o exports/--svg(the default),--pngor--json.--scale,--widthor--heightsize a PNG, one at a time.--allruns the export settings saved in the document; with--folders, a/in a layer's name becomes a subfolder.
Requires a recent Rust toolchain (edition 2024).
cargo run -p mastik-app
cargo test --workspaceOn Linux the build also needs a few GUI libraries.
Debian / Ubuntu:
sudo apt-get install -y libxkbcommon-dev libwayland-dev libxcb1-dev libx11-dev pkg-configFedora / RHEL:
sudo dnf install libxkbcommon-devel wayland-devel libxcb-devel libX11-devel pkgconf-pkg-configArch:
sudo pacman -S --needed libxkbcommon wayland libxcb libx11 pkgconfdocs/architecture.md— the design and its invariants.docs/decisions.md— every deviation from that design, with a verdict.docs/roadmap.md— open work and decided non-goals.docs/shortcuts.md— the keymap.
MIT, see LICENSE. Bundled fonts and other third-party material keep their own licences; see THIRD-PARTY-NOTICES.md.