Skip to content

Releases: sj817/shotium

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 28 Aug 10:59
f91211d

@shotkit/shotium 0.3.1

📦 安装 / Installation

# npm
npm install @shotkit/shotium@0.3.1

# pnpm
pnpm add @shotkit/shotium@0.3.1

# yarn
yarn add @shotkit/shotium@0.3.1

# bun
bun add @shotkit/shotium@0.3.1

🚀 独立可执行文件 / Standalone Binaries

  • English: The attached .7z archives contain the standalone engine (executables, shared libraries, and resource packs) for environments without Node.js. If you are using @shotkit/shotium via npm/pnpm/yarn/bun, platform dependencies are installed automatically and you do not need to download these archives manually.
  • 简体中文:下方附加的 .7z 压缩包为独立引擎二进制文件(包含单文件命令行工具、共享库及资源包),适用于无 Node.js 的运行环境。若通过 npm/pnpm/yarn/bun 安装使用,包管理器会自动下载对应的预编译平台依赖,无需手动下载此处的附件。

📝 验证与来源 / Provenance

  • Commit: f91211d39fd2cdd92479b7cd9a0c95447bece478
  • Verified with npm provenance / 已通过 npm 官方签名与 Provenance 溯源验证。

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 14:03
v0.3.0
145bd87

@shotkit/shotium 0.3.0

📦 安装 / Installation

# npm
npm install @shotkit/shotium@0.3.0

# pnpm
pnpm add @shotkit/shotium@0.3.0

# yarn
yarn add @shotkit/shotium@0.3.0

# bun
bun add @shotkit/shotium@0.3.0

🚀 独立可执行文件 / Standalone Binaries

  • English: The attached .7z archives contain the standalone engine (executables, shared libraries, and resource packs) for environments without Node.js. If you are using @shotkit/shotium via npm/pnpm/yarn/bun, platform dependencies are installed automatically and you do not need to download these archives manually.
  • 简体中文:下方附加的 .7z 压缩包为独立引擎二进制文件(包含单文件命令行工具、共享库及资源包),适用于无 Node.js 的运行环境。若通过 npm/pnpm/yarn/bun 安装使用,包管理器会自动下载对应的预编译平台依赖,无需手动下载此处的附件。

📝 验证与来源 / Provenance

  • Commit: 145bd8767a2682bab209febb48fe6aab52d76da9
  • Verified with npm provenance / 已通过 npm 官方签名与 Provenance 溯源验证。

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 01:51
v0.2.0
5570d6b

@shotkit/shotium 0.2.0

📦 安装 / Installation

# npm
npm install @shotkit/shotium@0.2.0

# pnpm
pnpm add @shotkit/shotium@0.2.0

# yarn
yarn add @shotkit/shotium@0.2.0

# bun
bun add @shotkit/shotium@0.2.0

✨ 主要更新 / Highlights

English

  • In-Process Engine via Node-API: The Node.js package now loads libshotium directly into the host process via Node-API. Zero child process spawning, zero IPC overhead, and single-shot latency down to ~31 ms.
  • Resident Daemon Mode: Added daemon module for short-lived CLI tasks, CI pipelines, and serverless workers to connect to a pre-warmed background engine with ~2.3 ms latency.
  • Prebuilt Platform Binaries: Published optional dependencies for 6 major platforms (Windows, macOS, Linux on x64 and arm64).
  • Standalone CLI: Single-file executables with --serve, --stdin, and direct URL / file rendering.

简体中文

  • Node-API 进程内引擎:Node.js 包通过 Node-API 将 libshotium 直接加载至宿主进程中执行。无需拉起子进程,零 IPC 通信与跨进程内存复制开销,单张截图延迟低至约 31 ms。
  • 常驻守护进程模式:新增 daemon 模块,适用于短生命周期的 CLI 任务、CI 流水线及 Serverless 场景,客户端连接握手仅需 ~2.3 ms,避免冷启动开销。
  • 全平台预编译二进制:发布覆盖 6 大主流平台(Windows、macOS、Linux,x64 与 arm64)的 npm 可选依赖包。
  • 独立命令行工具:提供支持 --serve 服务模式、--stdin 标准输入管道及直接文件渲染的单文件可执行程序。

🚀 独立可执行文件 / Standalone Binaries

  • English: The attached .7z archives contain the standalone engine (executables, shared libraries, and resource packs) for environments without Node.js. If you are using @shotkit/shotium via npm/pnpm/yarn/bun, platform dependencies are installed automatically and you do not need to download these archives manually.
  • 简体中文:下方附加的 .7z 压缩包为独立引擎二进制文件(包含单文件命令行工具、共享库及资源包),适用于无 Node.js 的运行环境。若通过 npm/pnpm/yarn/bun 安装使用,包管理器会自动下载对应的预编译平台依赖,无需手动下载此处的附件。

📝 验证与来源 / Provenance

  • Commit: 5570d6bfaa8022b215f153b229bf2262f20044d4
  • Verified with npm provenance / 已通过 npm 官方签名与 Provenance 溯源验证。

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Aug 23:23
3ffc050

@shotkit/shotium 0.1.0

📦 安装 / Installation

# npm
npm install @shotkit/shotium@0.1.0

# pnpm
pnpm add @shotkit/shotium@0.1.0

# yarn
yarn add @shotkit/shotium@0.1.0

# bun
bun add @shotkit/shotium@0.1.0

✨ 首发特性 / Initial Features

English

  • Stripped Chromium Blink Core: High-performance static HTML/CSS screenshot engine with V8 and browser chrome completely removed.
  • Full Modern CSS Support: Complete support for Flexbox, CSS Grid, custom web fonts, SVG, and CSS variables.
  • Embedded Chromium Networking: Direct integration with Chromium //net (HTTPS, HTTP/2, Brotli, redirects, and disk caching).
  • Multi-Format Image Codecs: Native encoding to PNG, JPEG, and WebP via Skia CPU rasterization.
  • Cross-Platform Prebuilts: Standalone binaries for Windows, macOS, and Linux (x64 & arm64).

简体中文

  • 精简 Blink 核心:专为 HTML/CSS 静态渲染设计的高性能截图引擎,彻底移除 V8 引擎与多进程浏览器外壳。
  • 现代 CSS 规范支持:完整支持 Flexbox、CSS Grid、Web 字体、SVG 及 CSS 变量。
  • 内置 Chromium 网络栈:直连 Chromium //net 核心库(支持 HTTPS、HTTP/2、Brotli 压缩、自动重定向及磁盘缓存)。
  • 多格式图像编解码:基于 Skia CPU 光栅化原生输出 PNG、JPEG、WebP 图像格式。
  • 跨平台预编译:提供覆盖 Windows、macOS 与 Linux(x64 与 arm64)的独立可执行程序。

🚀 独立可执行文件 / Standalone Binaries

  • English: The attached .7z and .tgz archives contain the standalone engine binaries and packages for supported platforms.
  • 简体中文:下方附加的 .7z.tgz 压缩包为全平台独立二进制产物与分发包。