Chromeless 是一款基于 WKWebView 的极简 macOS 浏览器,去除了所有浏览器界面元素,提供无干扰窗口和命令行截图工具。

Stars

267

7 天增长

暂无数据

Fork 数

21

开放 Issue

0

开源协议

MIT

最近更新

2026-07-03

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它仅用单个 Swift 文件(约 450 KB)实现了真正的无边框浏览体验,无需 Electron,具备原生性能,同时结合了全屏浏览、窗口置顶和自动截图等独特功能。

适合谁使用

  • 需要精确网页截图的 Web 开发者
  • 希望获取干净网页截图的设计师
  • 需要全屏或置顶显示仪表板的用户
  • 追求极简无干扰浏览体验的用户

典型使用场景

  • 通过快捷键或命令行拍摄 Retina 质量的网页 PNG 截图
  • 全屏观看 YouTube 视频,没有任何浏览器界面
  • 将仪表板或实时图表窗口置顶在其他应用之上
  • 在脚本中自动截图网页,支持自定义尺寸和等待时间

项目优势

  • 极其轻量(约 450 KB),无 Electron 或外部依赖
  • 使用 Safari 的 WKWebView 引擎,原生 macOS 性能
  • 纯键盘驱动,导航、缩放、截图等均有直观快捷键
  • 内置命令行模式,支持无交互的自动化截图

使用前须知

  • 仅支持 macOS,无 Windows 或 Linux 版本
  • 设计上不含标签页、书签、历史记录 UI 或扩展
  • WebAuthn/密码密钥支持需要加入 Apple Developer Program 并手动配置授权

README 快速开始

chromeless

The browser that isn't there. The window is the webpage — no tabs, no toolbar, no address bar, no chrome at all. Made for clean screenshots, fullscreen YouTube, dashboards, and anything else that deserves the whole window.

A native macOS app in one Swift file, built on WKWebView (the Safari engine). No Electron, no dependencies, ~450 KB built.

Build

./build.sh        # → Chromeless.app
open Chromeless.app

Requires the Xcode Command Line Tools (xcode-select --install). Optionally mv Chromeless.app /Applications/.

Use

Everything is a keystroke (also listed on the start page and in the menu bar):

KeysAction
⌘LSearch or enter a URL (floating HUD)
⌘dragMove the window from anywhere
⌃⌘FFullscreen (YouTube's own ⛶ button works too)
⇧⌘SSnapshot the page as PNG → Desktop
⌘PPin the window above everything
⌘[ / ⌘]Back / forward (two-finger swipe also works)
EscBail out — back to the start page (⌘[ returns)
⌘= ⌘- ⌘0Zoom in / out / reset (pinch works too)
⇧⌘CCopy the current URL
⌘R / ⇧⌘RReload / reload ignoring cache
⌘N / ⌘WNew window / close window

The traffic-light buttons exist but stay invisible — hover the top-left corner to reveal them. The window remembers its frame and reopens your last page.

CLI screenshot mode

Chromeless doubles as a webpage-to-PNG tool:

./Chromeless.app/Contents/MacOS/Chromeless https://example.com --snap shot.png --size 1440x900
./Chromeless.app/Contents/MacOS/Chromeless localhost:3000 --snap dev.png --wait 3

It loads the page, waits for it to settle, writes a Retina PNG, and exits.

Notes

  • Cookies and logins persist (kept in ~/Library/WebKit/com.chromeless.app/), so YouTube stays signed in.

Passkeys

Apple gates WebAuthn in WKWebView behind the restricted com.apple.developer.web-browser.public-key-credential entitlement, and macOS kills ad-hoc builds that claim it without an Apple-issued provisioning profile (verified: instant SIGKILL). Chromeless checks its own signature at runtime:

  • Default build (no entitlement): the WebAuthn API is hidden, so sites feature-detect the absence and offer their fallbacks instead of a doomed passkey prompt. For Google, "Try another way" → "Get a prompt on your phone" signs you in with no pas

项目描述

The browser that isn't there — zero-chrome macOS browser for clean screenshots and fullscreen video. One Swift file.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

drumih
drumih GitHub avatar

turbo-fieldfare

TurboFieldfare is a custom Swift and Metal runtime that runs the Gemma 4 26B-A4B instruction-tuned model in about 2 GB of RAM on Apple Silicon Macs, including 8 GB models, by streaming experts from SSD.

Swift
256
FrigadeHQ
FrigadeHQ GitHub avatar

yap

Yap is a blazing-fast, on-device macOS voice dictation app that transcribes speech into any text field via a global shortcut, using Apple's macOS 26 Speech APIs with no network calls or model downloads.

Swift
197
jcranokc
jcranokc GitHub avatar

app-monitor

App Monitor is a local-first macOS utility that provides a native SwiftUI dashboard for tracking application usage, storage, cleanup opportunities, update status, and uninstall impact.

Swift
156