Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pake

БесплатноБез исполняемых скриптовНе проверен

Pake packages a website or a static web build into a small native desktop app (typically under 10 MB) using Tauri and the system WebView instead of a bundled…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Pake — Turn any website into a lightweight desktop app

Overview

Pake (pake-cli on npm, version 3.18.0 at the time of writing) wraps a URL, a local HTML file or a static build directory in a Tauri shell and produces a native installer: dmg or app on macOS, msi on Windows, deb, AppImage, rpm or zst on Linux. The app uses the operating system's WebView, so installers are small and there is no Node runtime inside.

It is the quickest route when the product already exists as a website and someone wants a dedicated window, a dock or taskbar icon, a tray entry or keyboard shortcuts. It is not a framework: there is no native API surface, no custom Rust commands and no auto-updater. For an app that needs native code, use the tauri skill instead.

Building needs Rust, and the build compiles on the machine that runs it, so a Linux box produces Linux packages only. Cross-OS installers come from running Pake on each OS (the project documents a GitHub Actions workflow for this).

Instructions

Installation

npm install -g [email protected]
pake --version

Prerequisites: Node.js 20.9 or newer and Rust 1.85 or newer. In an interactive run Pake offers to install Rust when it is missing; in --json mode it never prompts and fails with ENV_MISSING instead, so install Rust first with rustup from https://www.rust-lang.org/tools/install. On macOS and Linux the tools curl, wget, file and tar must exist. The first build downloads and compiles the Tauri dependencies and takes several minutes; later builds are much faster.

Package a website

pake https://github.com --name GitHub

The icon is fetched from the site's favicon when --icon is omitted. The installer lands in the system Downloads folder unless --download-dir is set. On Linux the app name is lowercased with hyphens (google-translate); on macOS and Windows case and spaces are kept.

Common options (all listed by pake --help):

Option Effect
--name <string> App name
--identifier <string> Bundle ID such as com.northwind.github; letters, digits, hyphens, dots
--icon <string> Icon: .icns on macOS, .ico on Windows, .png on Linux (path or URL)
--width, --height, --min-width, --min-height Window size in pixels
--hide-title-bar macOS only: immersive title bar
--hide-window-decorations Windows and Linux: frameless window with a drag region
--dark-mode Force dark theme (macOS, Windows, Linux)
--show-system-tray, --start-to-tray, --hide-on-close Tray and close behaviour
--inject <files> Inject local CSS or JS files into the page
--user-agent <string> Custom user agent
--proxy-url <url> Proxy baked into the app (http://, https://, socks5://)
--zoom <number> Initial zoom, 50 to 200
--multi-window, --multi-instance Allow several windows or several instances
--targets <string> Output format, see below
--debug, --iterative-build Debug build; app-only fast build without dmg, deb or msi

Choose output targets

--targets accepts per-platform values:

  • macOS: dmg (default), app, apple (Apple Silicon only), intel, universal (both architectures)
  • Linux: deb, appimage, rpm, zst, plus deb-arm64, appimage-arm64, rpm-arm64, zst-arm64; the default depends on the distribution (deb, appimage on Debian and Ubuntu)
  • Windows: x64 or arm64
pake https://weekly.tw93.fun --name Weekly --targets appimage --width 1200 --height 800

On Linux, --no-bundle skips packaging and leaves only the raw executable (<name>-binary), which helps on RPM distributions where the bundler aborts.

Package a local build

pake ./dist --name InventoryScanner

The directory must contain index.html at its root. Only hash-based routing works; history-mode SPA routes are not supported, so build the front end with a hash router (for example createHashRouter in React Router). A single HTML file works too. --use-local-file is the explicit flag for local file packaging.

Keep sign-in and external links working

Sites with single sign-on often open other domains. Use --safe-domain accounts.northwind.example,login.microsoftonline.com to keep those domains inside the app, --new-window to let the site open new windows for auth flows, and --force-internal-navigation to keep every link in the Pake window. Google OAuth and some other providers reject embedded WebViews regardless of flags; do not promise that flow works.

Automation: JSON output and exit codes

Always pass --json when a script or agent runs Pake. Logs go to stderr, prompts are disabled, and stdout carries one JSON object:

{"ok": true, "name": "GitHub", "platform": "linux", "arch": "x64",
 "outputs": [{"path": "/home/maria/Downloads/github.deb", "sizeBytes": 6291456, "format": "deb"}],
 "warnings": [], "error": null}

Exit codes: 0 suc

Полный SKILL.md на GitHub

Установить pake в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл pake?

Pake packages a website or a static web build into a small native desktop app (typically under 10 MB) using Tauri and the system WebView instead of a bundled Chromium. Use when the user says "turn this website into a desktop app", "wrap a web app as a Mac/Windows/Linux app", "package ./dist as an installer", "make an Electron alternative for a web tool", or wants a dedicated window for a web service. Covers the pake-cli flags, JSON output for automation, declarative config files, and build targets.

Как установить скилл pake?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pake запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pake с