Skip to content
Projects

About

选中任意文字,按快捷键即成高清文字海报的桌面工作室 | Turn any selected text into a publication-grade poster with one shortcut.

Web & App Development

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Joka

中文 | English

Joka 桌面工作室真实界面

选中任意文字,按一下快捷键 ⌥⌘P,它就成了一张高清文字海报。 Select any text on macOS, press ⌥⌘P, and turn it into a publication-grade poster locally.

官网首页 · 下载安装包 · Agent 安装说明 · MIT License

已验证: bun run typecheck · bun run test(73 项 Vitest + go test ./...)· go vet ./... · Apple Developer ID 签名与公证 · Ed25519 签名在线自动更新


这是什么

Joka 是一个轻量、零云端依赖的桌面文字海报工作室(基于 MyGo 与系统 WebView 构建,安装包仅约 4–5 MB)。

在 macOS 上,它常驻菜单栏:在浏览器、微信读书、备忘录、PDF 或编辑器里选中一段话,按下 ⌥⌘P,工作室立即带着文本和出处弹出;挑一款版式与开源字体,微调留白或高光笔触,双击画布即可复制高清图,或导出 2× PNG / WebP / 多图 ZIP。


核心能力

能力 你能得到什么
全局划词(默认 ⌥⌘P,可改) macOS 任意 App 选中文字直接生成海报;支持在「设置 → 快捷键」自由录制新热键
无边框悬浮工作室 去掉冗余原生标题栏,拖拽区、快捷键入口、设置齿轮与关闭隐藏按钮一体化融入悬浮顶栏
AI 创作 & 小红书拆多图 内置「写小红书多图」「长文拆多图」「润色高亮」「配文与标签」,自动按 === 分页并备份历史草稿
本机 AI 免 Key + 大模型 自动识别已登录的 Claude Code / Codex / Antigravity CLI 等免 Key 直连,并支持 DeepSeek / 豆包等 18+ API(Key 存系统钥匙串)
无痕剪贴板 优先通过系统辅助功能直读选区;需要回退 ⌘C 时,读完立即还原原剪贴板快照
32 款精选版式 & 10 款设计背景 覆盖极简画廊、书摘纸感、大刊封面、酸性刊物、黑金典藏等 32 款版式,外加 10 款程序化设计师背景与自定义纯色/渐变/流光
12 款开源字体 内置霞鹜文楷、朱雀仿宋、汇文明朝等开源中文字体按需加载,支持导入本机 TTF / OTF / WOFF2 离线使用
8 宫格灵感画廊 按 G 键用你当前的文字同屏渲染 24 款大师配方,点选套用或直接复制 2× 高清图
Markdown 与金句 支持标题、加粗、荧光高亮(5 种笔触)、双语 ::、提示卡片、一键润色与点句划重点
出版级中文排版 盘古之白(中英文自动留白)、连续全角标点挤压、首字下沉、多图自动分页与 ZIP 打包导出
签名在线更新 内置 Ed25519 签名验证在线检查更新与增量升级,无感保持最新版

多平台下载与兼容矩阵

平台 状态 签名 / 公证 下载地址 能力边界
macOS (Apple Silicon) 正式版 Developer ID 签名 + Apple 公证 Joka-0.5.1-arm64.dmg 完整能力,支持全局 ⌥⌘P 划词与在线更新
macOS (Intel x86_64) 正式版 Developer ID 签名 + Apple 公证 Joka-0.5.1-amd64.dmg 完整能力,支持全局 ⌥⌘P 划词与在线更新
Windows x64 预览版 未签名(SmartScreen 需点「仍要运行」) Joka-0.5.1-windows-amd64.zip 完整工作室、AI 创作与导出;暂不支持全局划词
Android(移动版) 预览版 直接安装 APK Joka-Mobile-0.1.0-android.apk 触屏海报工作室、相册批量保存与 BYOK AI
iOS(TestFlight) 内测版 Apple TestFlight(iOS 17+) 加入 TestFlight 内测 触屏海报工作室、相册批量保存与 BYOK AI

所有历史版本与校验文件:GitHub Releases 全版本 · SHA256SUMS.txt


快速开始

最快方式(macOS)

  1. 下载对应芯片的 .dmg(Apple Silicon 选 arm64,Intel 选 amd64),打开并将 Joka.app 拖入 /Applications。
  2. 首次打开后,若顶部提示授权「辅助功能」,点击 去开启 在「系统设置 → 隐私与安全性 → 辅助功能」中打开 Joka。
  3. 在任意应用选中文字,按 ⌥⌘P 即可生成海报。
从源码构建(需要 macOS / Go 1.27+ / Bun)
git clone https://github.com/joeseesun/joka.git
cd joka
bun install
bun run dev        # 启动带热重载的开发版 Joka Dev
bun run test       # 运行 Vitest (40 项) + go test ./...
bun run build      # 打包当前平台应用(支持 -platform darwin/amd64 或 windows/amd64)

抓取逻辑的真机集成测试会短暂操作剪贴板,需显式开启:

JOKA_E2E=1 go test ./internal/grab

产品巡游与快捷键

Joka 8 宫格灵感画廊

操作 快捷键
从选中文字生成海报(全局) ⌥⌘P
复制高清海报 / 保存文件 ⇧⌘C / ⌘S(也可双击画布复制)
撤销 / 重做样式 ⌘Z / ⇧⌘Z
灵感画廊 / 随机灵感 G / R
切换上下款版式 / 组图翻页 [ ] / ← →
粘贴剪贴板图片为海报配图 ⌘V

关闭工作室窗口仅隐藏界面,Joka 会继续留在菜单栏待命;退出请点击菜单栏图标中的「退出 Joka」。


架构与隐私边界

  • 无 cgo 轻量原生壳:Go 单一二进制通过 MyGo 调用系统 WebView(macOS 为 WKWebView,Windows 为 WebView2)与类型化 IPC。
  • macOS 划词引擎(internal/grab/):通过 purego 调用 Accessibility / CoreGraphics / NSPasteboard(思路源自乔木闪记 Jot)。遇到 1Password、Bitwarden 等密码管理器或安全输入框时自动跳过读取。
  • 本地海报引擎(src/core/):移植自墨卡 InkCard 的 Canvas 2D 排版、中文标点光学挤压与主题系统。
  • 隐私承诺:所有排版、Markdown 解析、二维码生成与图像导出全部在本机运行,不注册云账号、不上传任何文案或剪贴板数据。

关于向阳乔木


English

Joka is a lightweight, local-first desktop text poster studio built with Go + MyGo + React + Canvas 2D.

What it does

  • Global Text Capture on macOS (⌥⌘P): Select text in any app (Safari, Chrome, PDF, Notes, editors), press ⌥⌘P, and Joka opens with your selection formatted as a poster—preserving headings, bold text, lists, and page attribution while keeping your original clipboard intact.
  • 32 Curated Themes, 10 Scene Backdrops & 8 Decor Mark Styles: Includes custom 2D HSV color pickers for accent & body ink colors, 10 procedural scene backgrounds, 8 switchable or hideable decor marks, 3 card shadow levels, vertical text alignment, album grid overview, in-font size scaling, custom font import (.ttf/.otf/.woff2), 5 highlight brushes, bilingual :: blocks, CJK punctuation optical kerning, pangu spacing, seals, local UTF-8 QR codes, and uncompressed multi-slide folder export with smart content-first naming.
  • Privacy First: Zero cloud accounts, zero telemetry on your text, and automatic exclusion of password managers and secure fields.

Downloads (v0.5.1)

Build from Source

bun install
bun run typecheck
bun run test
bun run build

Licensed under the MIT License. Maintained by 向阳乔木 (Joe) · @vista8.

Explore related projects

Loading…