Skip to content

Releases: liyown/img

img CLI 0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 13:55

img CLI 0.4.0

图床管理、图片处理与文章维护,共用桌面版的存储配置和 SQLite 图库。

  • process --recipe … --output-dir …:共享处理配方与可恢复任务,保留原有单文件参数。
  • library:索引已选范围,查询、预览、下载、检查和管理远端图片;缓存独立管理。
  • sync:通过自己的 WebDAV 或 S3 同步配置、索引和预设,查看并解决冲突。同步目录中的图床凭据为明文,缓存不传输。
  • migrate:创建和继续执行跨图床复制任务,回读验证后生成链接映射,默认保留源端图片。
  • references:扫描 Markdown 行内、引用式与 HTML 图片,逐文件预览,备份后替换,导出报告与恢复。
  • Agent Skill 扩展图片处理、图库查询、同步状态与迁移预览;远端删除及文章写入要求明确执行请求。

提供 macOS ARM64 / x86_64、Linux ARM64 / x86_64、Windows x86_64 安装产物。桌面安装包已内置 CLI,无需重复安装。

安装与更新 · 0.4 使用指南 · English guide

English

img 0.4 adds a shared library, reusable processing recipes, sync through your own WebDAV or S3 storage, recoverable cross-provider copies, and safe Markdown reference repair. Desktop and CLI use the same storage configuration and catalog. Existing upload and single-file process commands remain compatible.

Sync transfers configuration, indexes, and presets, including plaintext provider credentials, but never image caches. Migration keeps source images by default. Reference changes require explicit execution and successful backups.

Full Changelog: v0.3.0...v0.4.0

img desktop 0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 14:03

img 0.4.0 — 社区版

原生 macOS / Windows / Linux 图床管理与图片工具,内置同版本 Rust CLI,安装后无需编译工具。

这个版本

  • 统一图库:索引 S3/R2/OSS、GitHub、WebDAV 的已有图片,与桌面和 CLI 新上传共同管理。网格与列表直接复制,多选支持批量下载、检查和迁移。
  • 两个独立单图工具:转换与压缩、尺寸与裁剪。PNG/JPEG/静态 WebP,实际输出预览,结果可保存、复制或直接上传。
  • 用自己的 WebDAV 或 S3 同步配置、图库索引与预设。缓存不上传;同字段冲突由用户选择。同步目录中的图床凭据为明文,连接同步存储的凭据仅保留在各设备。
  • 跨图床复制后验证内容,默认保留源端图片;Markdown 引用按文件预览、备份后替换,支持报告和恢复。
  • CLI 与 Agent Skill 覆盖处理、图库查询、同步状态、迁移与引用维护。
  • 简化导航、原位复制反馈、扩大启动窗口、滚动条避让,以及 macOS 窗口边缘缩放光标。

完整使用指南

下载与首次安装

  • Apple silicon(M 系列):下载 macos_arm64.dmg
  • Intel Mac:下载 macos_x86_64.dmg
  • 打开 DMG,将 Img.app 拖到 Applications;ZIP 也可解压后安装。
  • 本版为 ad-hoc 签名的社区安装包,未经过 Apple 公证。 如果首次打开被阻止,在「系统设置 → 隐私与安全性」找到 img,点击「仍要打开」。仅在确认下载来自本项目时继续;无需关闭系统保护。参见 Apple 官方说明
  • DMG 内附完整安装说明。最低 macOS 13。
  • Windows x64:下载 windows_x86_64.exe,运行安装向导;ZIP 可便携使用。社区包未进行代码签名。
  • Linux x64:下载 linux_x86_64.deb,使用 sudo apt install ./img-desktop_*.deb。支持 Ubuntu 24.04 / Debian 13 或更新版本,需要图形桌面、Vulkan 驱动和已解锁的 Secret Service。

首次使用与更新

设置默认存储源后,⌘⌥U 直接上传剪贴板,⌘⌥S 截图上传,成功后自动复制链接。

Windows / Linux 使用 Ctrl+Alt+U / Ctrl+Alt+S。Windows 支持区域截图和托盘;Linux Wayland 通过桌面门户处理截图与快捷键,取决于桌面环境的 GlobalShortcuts 支持,X11 保留原快捷键流程。Linux 托盘需要 StatusNotifier 支持;macOS 使用菜单栏入口。

「设置 → 关于与更新」可检查后续版本、下载并校验、退出并安装更新,保留原有配置和图库;也可手动替换。未公证的新版本可能需要再次允许打开。目录不可写时请使用 Finder 安装。

清理本机缓存、隐藏图库记录和删除远端文件分别操作。删除会确认具体存储源与对象,校验版本;清缓存保留图库、原文件与远端图片。

Windows 更新运行安装向导,Linux 更新请求系统权限后由包管理器安装;配置和图库保留。

每个 DMG / ZIP / EXE / DEB 均附 SHA-256 校验文件。CLI 使用「关于与更新 → 添加终端命令」即可启用。

Full Changelog: desktop-v0.3.0...desktop-v0.4.0

img CLI 0.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 09:06

Full Changelog: v0.2.0...v0.3.0

img desktop 0.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 09:14

img desktop — 社区版

原生 macOS / Windows / Linux 图片上传应用,内置同版本 Rust CLI,安装后无需编译工具。

下载与首次安装

  • Apple silicon(M 系列):下载 macos_arm64.dmg
  • Intel Mac:下载 macos_x86_64.dmg
  • 打开 DMG,将 Img.app 拖到 Applications;ZIP 也可解压后安装。
  • 本版为 ad-hoc 签名的社区安装包,未经过 Apple 公证。 如果首次打开被阻止,在「系统设置 → 隐私与安全性」找到 img,点击「仍要打开」。仅在确认下载来自本项目时继续;无需关闭系统保护。参见 Apple 官方说明
  • DMG 内附完整安装说明。最低 macOS 13。
  • Windows x64:下载 windows_x86_64.exe,运行安装向导;ZIP 可便携使用。社区包未进行代码签名。
  • Linux x64:下载 linux_x86_64.deb,使用 sudo apt install ./img-desktop_*.deb。支持 Ubuntu 24.04 / Debian 13 或更新版本,需要图形桌面、Vulkan 驱动和已解锁的 Secret Service。

首次使用与更新

设置默认存储源后,⌘⌥U 直接上传剪贴板,⌘⌥S 截图上传,成功后自动复制链接。

Windows / Linux 使用 Ctrl+Alt+U / Ctrl+Alt+S。Linux 全局快捷键需要 X11,Wayland 可使用窗口入口;截图需要系统截图工具。Windows 当前截取全屏。菜单栏后台入口仅在 macOS 提供。

「设置 → 关于与更新」可检查后续版本、下载并校验、退出并安装更新,保留原有配置和图库;也可手动替换。未公证的新版本可能需要再次允许打开。目录不可写时请使用 Finder 安装。

本版还包含:图库多选、跨搜索保留选择、五种格式批量复制、本地记录清理、队列持久化、失败诊断、后台快捷上传与大图库虚拟列表。

Windows 更新运行安装向导,Linux 更新请求系统权限后由包管理器安装;配置和图库保留。

每个 DMG / ZIP / EXE / DEB 均附 SHA-256 校验文件。CLI 使用「关于与更新 → 添加终端命令」即可启用。

Full Changelog: v0.2.0...desktop-v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 03:38

Changelog

  • b5ac576 Add 'img rewrite' command: batch-rehost all images in a Markdown article
  • 95d92fa Add 'img screenshot' and 'img serve' commands
  • 10b0d0b Add 'make vuln' target for local vulnerability scanning
  • 850410e Add --optimize flag for smart image compression before upload
  • 5b91a26 Add --strip-exif and --resize flags
  • efda54e Add URL rehosting: img https://... downloads and re-uploads
  • 92cad53 Add bilingual README and update repo description
  • 0c27699 Add img info, multi-file rewrite, retry, config persistence
  • a9ae5ec Add lossless WebP encoding to --optimize (pure Go, no CGO)
  • 9f20765 Bump golang.org/x/image to v0.43.0 to fix GO-2026-5061
  • 088742a Fix security and correctness bugs
  • c270358 Improve correctness, UX, and test coverage
  • 896dd85 Rewrite README: product usage only, remove implementation details

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 10 Jul 10:40

Changelog

img v0.1.0

Choose a tag to compare

@liyown liyown released this 10 Jul 08:28

首次公开版本。支持 Cloudflare R2、通用 S3、阿里云 OSS、GitHub 和 HTTP 图床;提供多文件上传、URL/Markdown/JSON 输出、Agent Skill 与 curl 一键安装。