Skip to content
Projects

About

Fast, local-first batch image compressor built with Svelte 5, GPUI (gpuix-svelte) and sharp. 极速本地批量图片压缩工具,基于 Svelte 5、GPUI 与 sharp 构建。

Design & Media

How these counts are measured

What you can do

  • Local-first & private — All compression runs on your machine via sharp (libvips). Images and metadata are never uploaded.
  • Reusable Spaces — Create separate preset spaces with their own target format, quality level (1–9), resize bounds (Width / Height in px), EXIF toggle, save destination (Original folder or Custom folder), and filename suffix.
  • 5 formats supported — Optimize JPG, PNG, WebP, AVIF, and GIF by dragging files or folders onto the canvas or browsing from the toolbar.
  • Safe output handling — Live output filename preview, automatic duplicate-name deduplication, and inline warnings whenever a preset would overwrite source files.

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+10
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
Kilo

Kilo

Fast, local-first batch image compression for desktop.

Download · Features · Shortcuts · Development · License

[!NOTE] Under Active Development — Kilo is currently under active development. Features, UI, and platform behavior are still evolving and may change.

Kilo desktop window

Features

  • Local-first & private — All compression runs on your machine via sharp (libvips). Images and metadata are never uploaded.
  • Reusable Spaces — Create separate preset spaces with their own target format, quality level (1–9), resize bounds (Width / Height in px), EXIF toggle, save destination (Original folder or Custom folder), and filename suffix.
  • 5 formats supported — Optimize JPG, PNG, WebP, AVIF, and GIF by dragging files or folders onto the canvas or browsing from the toolbar.
  • Safe output handling — Live output filename preview, automatic duplicate-name deduplication, and inline warnings whenever a preset would overwrite source files.
  • Batch insights & quick actions — Per-file and overall byte savings summaries, one-click reveal in folder, clipboard file copy, retry for failed items, and safe move-to-trash deletion.
  • Native GPUI interface — Powered by Svelte 5 and gpuix-svelte without an Electron/Chromium shell, featuring virtualized list scrolling, synchronized Light/Dark modes, and the bundled Allo typeface.

Keyboard Shortcuts

Windows / Linux macOS Action
Ctrl+O ⌘O Open image files
Ctrl+Shift+O ⌘⇧O Open folder (recursive scan)
Ctrl+Enter ⌘⏎ Re-compress active Space queue
Esc Esc Dismiss active menu, popover, or dialog

Install

Download prebuilt binaries for Windows (x64 / arm64), macOS (Apple Silicon), and Linux (x64) from GitHub Releases.

Existing PixZip Lite users keep their Spaces automatically: Kilo reads previous pixzip-lite settings on first launch if no kilo config exists yet.

Development

Requires Bun (>= 1.4.0). Node.js is not supported.

bun install

# Launch native GPUI window with hot reload
bun run start

# Typecheck TypeScript and Svelte components
bun run typecheck

# Run unit, platform, and headless GPUI tests
bun run test

# Build standalone single-file executable in dist/
bun run build

# Build executable, release zip archive, and update manifest fragment
bun build.ts --archive

Architecture

  • app.ts / standalone.ts — Dev (render_hot) and production (render) desktop entrypoints.
  • App.svelte — Root 3-pane layout shell, window bounds persistence, theme sync, global shortcuts, and font registration.
  • build.ts — Embeds target sharp / libvips binaries and bundled fonts into dist/.
  • test.ts — Self-contained verification suite using gpuix-svelte/test.
  • src/core/ — Pure Sharp domain engine (types.ts, scan.ts, paths.ts, compress.ts).
  • src/platform/ — OS integrations (native clipboard copy, asset extraction, font registration, and Windows DWM titlebar sync).
  • src/state/ — Svelte 5 runes stores (spaces.svelte.ts), compression queue, thumbnail cache, and UI actions.
  • src/ui/ — Achromatic Ink & Paper theme tokens, vector icons, and GPUI-native Svelte components.
  • assets/ — App icon (icon.svg, icon.png), bundled Allo font weights, and previews.

Acknowledgments

Support & License

Released under the MIT License. If Kilo saves you time, you can support ongoing development via Ko-fi or Afdian.

Explore related projects

Loading…