FSNotes
FSNotes 是一款适用于 macOS 和 iOS 的现代笔记管理器。它简洁、高效,并支持 GitHub Flavored Markdown 等开放格式。Protocol Launcher 允许您生成深度链接,以便在 FSNotes 中搜索、打开或创建笔记。
使用
提供两种使用方式:
- 按需加载(通过子路径导入),支持 Tree Shaking,体积更小。
- 全量导入(从根包导入),使用简单,但会包含所有应用模块。
生产环境建议使用按需加载以减小体积;快速脚本或演示可选择全量导入。
选择安装方式
按需加载
推荐使用。生产环境优化。
全量导入
使用便捷。适合快速脚本。
打开 FSNotes
ts
import { open } from 'protocol-launcher/fsnotes'
const url = open()搜索笔记
ts
import { findNotes } from 'protocol-launcher/fsnotes'
const url = findNotes({
keyword: 'hello',
})打开笔记
ts
import { openNote } from 'protocol-launcher/fsnotes'
const url = openNote({
title: 'hello',
tag: '2026',
})创建笔记
ts
import { createNote } from 'protocol-launcher/fsnotes'
const url = createNote({
title: 'hello',
content: 'hello world',
tags: '2026',
})