PicLite is a local-first, self-hostable image and GIF compression workbench with real-time output size estimation, cross-platform desktop and web support, and a strong emphasis on privacy.

Stars

8

7-day growth

No data

Forks

0

Open issues

2

License

No data

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It combines real-time compression preview, intelligent anti-enlargement, GIF frame-by-frame compression, and a self-hostable architecture—all while processing images entirely on the client side.

Who it is for

  • Web developers needing efficient image optimization
  • Designers and content creators who frequently compress images and GIFs
  • Privacy-conscious users who prefer local processing
  • Self-hosting enthusiasts who want to deploy their own image compression tool

Use cases

  • Compressing JPG/PNG/WebP images for website performance
  • Reducing GIF file size while preserving animation quality
  • Batch converting and resizing images with or without watermarks
  • Real-time preview of compression output before saving

Strengths

  • All image processing happens locally—no upload to any server
  • Real‑time volume estimation and side‑by‑side preview (original vs compressed)
  • Smart anti‑enlargement: automatically adjusts quality to avoid larger output
  • Cross‑platform: web, Windows, macOS, Linux, and Docker self‑hosting

Considerations

  • macOS packages are ad‑hoc signed and require manual approval on first launch
  • Web version lacks persistent folder monitoring due to browser API limits
  • PNG compression relies on color quantization; may not match specialized tools for every scenario

README quick start

PicLite 图轻

PicLite 是一款本地优先、可自托管的图片与 GIF 压缩工作台,支持 Web、Windows、macOS 和 Linux。它可以在执行前实时预估输出体积,并用连续的画质和尺寸控制把文件压到你需要的大小。

在线体验 · 下载桌面版 · 报告问题

功能

  • 拖放、多文件选择和剪贴板粘贴导入
  • JPG / PNG 无损元数据清理与编码优化
  • JPG / PNG / WebP 格式转换,1–100% 连续画质调节
  • 动态 GIF 逐帧压缩,保留动画并连续控制色板质量和尺寸
  • 0.1–100% 等比例缩放、继续减半、最大宽高和禁止放大小图
  • 每次滑动都从原图重新试压,在执行前显示真实输出体积、像素和前后画质对比
  • 对比 / 原图 / 结果三种预览,可滚轮缩放、拖拽、适应窗口和 1:1 实际像素检查
  • 智能防增大:缩放后若候选结果反而更大,自动降低编码质量;仍无法变小时保留原图
  • 文字水印:本地字体、角度、字号、透明度、缩放、密度、全屏平铺、自由位置和阴影
  • 下载、覆盖源文件、同文件夹重命名、固定文件夹四种导出模式
  • 桌面端使用 Tauri 2 + Rust,原生处理文件选择、剪贴板、导出和文件夹监测
  • 紧凑桌面布局,适配 Windows 125% / 150% 显示缩放和常见笔记本分辨率
  • 桌面专属应用设置:默认输出规则、固定目录、后缀、覆盖确认和关于页面
  • Docker 自托管和 GitHub Actions 跨平台自动构建

图片处理在浏览器或桌面客户端本地完成,不会把原图上传到 PicLite 服务器。网页端受浏览器权限限制,持续文件夹监测只在桌面客户端提供。

下载桌面版

进入 GitHub Releases 下载对应文件:

系统架构文件
Windowsx64NSIS 安装版 .exe.msi
macOSApple Silicon(M1/M2/M3/M4…)arm64.dmg
macOSIntelx64.dmg
Linuxx64x86_64.AppImageamd64.deb
Linuxarm64arm64.AppImagearm64.deb

桌面版基于 Tauri,不再打包完整 Chromium;Windows 使用系统 WebView2,macOS 使用 WebKit,Linux 使用 WebKitGTK。本机实测 macOS .app 约 4.3 MB,具体安装包大小会随平台格式变化。

当前 macOS 包使用 ad-hoc 签名,没有 Apple Developer ID 公证。首次打开时,如果系统提示无法验证开发者,请在“系统设置 → 隐私与安全性”中确认打开。正式公开分发建议配置 Apple Developer ID 签名与公证。

在服务器上部署

推荐使用 Ubuntu 22.04/24.04、Docker Compose、Nginx 和 HTTPS。服务器只负责提供页面;图片仍在访问者的浏览器中本地处理。

方式一:Docker Compose(推荐)

1. 准备服务器

先通过 SSH 登录服务器:

ssh 你的用户名@服务器IP

安装 Git 和 Nginx:

sudo apt update
sudo apt install -y git nginx

按照 Docker 官方 Ubuntu 安装教程 安装 Docker Engine,并按照 Compose 插件教程 安装 docker compose。安装后检查:

docker --version
docker compose version

如果当前用户没有 Docker 权限,可先用 sudo docker ...,或按 Docker 官方文档把用户加入 docker 用户组后重新登录。

2. 下载 PicLite

sudo mkdir -p /opt/piclite
sudo chown "$USER":"$USER" /opt/piclite
git clone https://github.com/amiaoapp/PicLite.git /opt/

Description

PicLite 图轻:本地优先、可自托管的图片与 GIF 压缩工具,支持无损优化、连续质量/尺寸控制、实时对比、水印、剪贴板导入、批量导出和文件夹自动监测。提供 Web、Windows、macOS 与 Linux 版本。

Related repositories

Similar projects matched by category, topics, and programming language.

NUber-dev
Featured
NUber-dev GitHub avatar

YTubic

YTubic is a fast, responsive, open-source YouTube Music desktop client for Windows, Linux, and macOS that uses direct InnerTube API communication and aggressive caching to provide instant navigation and playback.

Web DevelopmentFrontend Frameworks
226
TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958