A macOS menu bar utility that auto-detects clipboard content format and converts it into rich text friendly to Apple Notes / Obsidian (primarily for terminal output).
- Auto-detect clipboard content format (Markdown, code, tables, HTML, etc.)
- One-click conversion to formats suitable for pasting into Apple Notes or Obsidian
- Lives in the menu bar, no Dock icon
- Monitors clipboard changes and identifies source app
- Runs entirely locally, no network required, zero third-party dependencies
| Detected Format | Conversion Target |
|---|---|
| Terminal mixed output | Rich text |
| Markdown (mixed / table) | Rich text |
| Box drawing table | Rich text / Markdown table |
| Rich text (HTML) | Markdown |
| Code snippet | Syntax-highlighted rich text |
Go to Releases to download the latest version. Open the DMG and drag the app into Applications.
Requires macOS 14+ and Swift 6.
git clone https://github.com/applre/pasfo.git
cd pasfo
make dmgThe output is at .build/Pasfo.dmg.
After launch, Pasfo appears in the menu bar. Copy some text, click the menu bar icon, and Pasfo will auto-detect the format and offer conversion options. The converted result is written back to the clipboard — just paste into your target app.
- Swift 6 + SwiftUI
- macOS 14+ (Sonoma)
- Swift Package Manager
- Zero third-party dependencies
macOS 菜单栏工具,自动检测剪贴板内容格式并转换为 Apple Notes / Obsidian 友好的富文本(主要是终端文本)。
- 自动检测剪贴板中的内容格式(Markdown、代码、表格、HTML 等)
- 一键转换为适合粘贴到 Apple Notes 或 Obsidian 的格式
- 菜单栏常驻,不占用 Dock 栏
- 监视剪贴板变化,识别来源应用
- 纯本地运行,无需网络,无第三方依赖
| 检测格式 | 转换目标 |
|---|---|
| 终端混合输出 | 富文本 |
| Markdown(混合/表格) | 富文本 |
| 制表符表格(Box Drawing) | 富文本 / Markdown 表格 |
| 富文本 | Markdown |
| 代码片段 | 语法高亮 富文本 |
前往 Releases 下载最新版本,打开 DMG 拖入 Applications 即可。
需要 macOS 14+ 和 Swift 6。
git clone https://github.com/applre/pasfo.git
cd pasfo
make dmg构建产物在 .build/Pasfo.dmg。
启动后 Pasfo 会出现在菜单栏。复制一段文本后点击菜单栏图标,Pasfo 会自动识别格式并提供转换选项。选择目标格式后,转换结果会自动写入剪贴板,直接粘贴到目标应用即可。
- Swift 6 + SwiftUI
- macOS 14+ (Sonoma)
- Swift Package Manager
- 零第三方依赖