zhengjy01/dsh-flomo

Send notes and memos to flomo (浮墨笔记) from DeepSeek Harness: flomo_send / flomo_config / flomo_status agent tools

Bundle 已验证 MIT TypeScript 未知
Bundle 已验证

已收录

0

Memory

Bundle 已验证

版本未知
语言TypeScript
许可证MIT
在 GitHub 查看

预览

功能介绍

配置一次 flomo API URL / API Key,Agent 即可用 flomo_send 把笔记、摘要、待办写进 flomo(浮墨笔记)。

适合

  • 需要把笔记、摘要、想法或待办直接写入 flomo 的 Agent。
  • 希望便签支持可选 flomo 标签及内联格式的用户。
  • 希望通过 Agent 工具或 Web 设置页一次性配置凭据的团队。

不适合

  • 不使用 flomo 或只需要本地笔记存储的用户。
  • 没有 flomo API URL 或 API Key 的环境。
  • 低于 Node 22 的环境,因为发送功能依赖 Node 内置 fetch。

README

dsh-flomo

English 中文

Send notes, memos, and summaries straight into flomo (浮墨笔记) from DeepSeek Harness. Configure your flomo API URL or API Key once, then any agent can record ideas via the flomo_send tool.

Features

  • Settings panel — configure the API URL / API Key from the web GUI: Settings → Flomo. Save, test, clear, and a quick-send box.
  • flomo_send — write a memo with optional tags (tags become #tags), supporting #tag, **bold**, and ![](image-url) inline syntax.
  • flomo_config — set apiKey (newer key format) or webhookUrl (the API URL from the flomo settings page, typically https://flomoapp.com/iwh/<token>/); reset: true clears the credential.
  • flomo_status — report whether the plugin is configured and where the credential lives, without echoing the full key.
  • Credential persisted to ~/.dsh/dsh-flomo.json with mode 0600.
  • System-prompt announcement so agents know when to use the plugin.

Install

# after publishing to GitHub (repo tagged with the `dsh-plugin` topic)
dsh plugin --profile web add github:zhengjy01/dsh-flomo

# local development
dsh plugin --profile web add link:/path/to/dsh-flomo

Restart dsh web. The plugin needs no build step — lib/index.js is plain ESM.

Configuration

Get your API URL at https://flomoapp.com/mine?source=incoming_webhook. Then either paste it into the plugin’s cordis.patch.yml config, or let the agent configure it for you:

帮我配置 flomo,API URL 是 https://flomoapp.com/iwh/xxxx/

The agent calls flomo_config with your webhookUrl (or apiKey) and persists it to ~/.dsh/dsh-flomo.json (mode 0600). From then on:

把这句话记到 flomo:#ideas

The flomo API URL is a credential: anyone with it can write memos to your flomo. Keep it private; use flomo_config(reset: true) to clear it if it leaks.

Notes

  • Sending uses Node’s built-in fetch (Node 22+), no extra dependencies.
  • The web settings panel talks to the host through the loopback-only /api/dsh-flomo route family.
  • Respects flomo’s content syntax: #tag, **bold**, ![](https://.../image.png).

License

MIT

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:zhengjy01/dsh-flomo。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。