Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/fancycursive/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions external_plugins/fancycursive/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"mcpServers": {
"fancycursive": {
"type": "http",
"url": "https://mcp.fancycursive.com/mcp?source=zcode",
"enabled": true,
"timeoutMs": 30000
}
}
}
29 changes: 29 additions & 0 deletions external_plugins/fancycursive/.zcode-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "fancycursive",
"displayName": "FancyCursive",
"displayName_i18n": {
"en": "FancyCursive",
"zh-CN": "FancyCursive 花体字与连笔字标"
},
"version": "1.0.0",
"description": "Convert plain text into copy-paste Unicode cursive and decorated fancy styles, search curated Unicode symbols, decorate display names with platform character-limit checks, and render true-outline connected-script PNG/SVG lettering.",
"description_i18n": {
"en": "Convert plain text into copy-paste Unicode cursive and decorated fancy styles, search curated Unicode symbols, decorate display names with platform character-limit checks, and render true-outline connected-script PNG/SVG lettering.",
"zh-CN": "将文本转换为可复制粘贴的 Unicode 花体与花式样式、检索常用符号、按平台规则装饰昵称,并生成透明 PNG 与真轮廓连笔 SVG 字标。"
},
"author": {
"name": "Nurul Widad",
"url": "https://fancycursive.com/?utm_source=zcode&utm_medium=plugin"
},
"homepage": "https://fancycursive.com/?utm_source=zcode&utm_medium=plugin",
"license": "MIT",
"keywords": [
"cursive",
"fancy-text",
"unicode",
"symbols",
"svg",
"lettering",
"mcp"
]
}
33 changes: 33 additions & 0 deletions external_plugins/fancycursive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# FancyCursive

[中文文档](./README_CN.md)

Convert plain text into copy-paste Unicode cursive and decorated fancy styles, search curated Unicode symbols, decorate display names with platform character-limit checks, and render true-outline connected-script PNG/SVG lettering directly inside ZCode.

## Components

- **MCP Server (`fancycursive`)**: Stateless, read-only Streamable HTTP MCP server at `https://mcp.fancycursive.com/mcp?source=zcode` exposing 5 tools:
1. `convert_cursive` — Convert text (up to 500 chars) to Unicode Mathematical Script and Bold Script with unconverted-character reporting and accent preservation.
2. `fancy_text` — Apply up to 10 decorated cursive variants across `elegant`, `cute`, `aesthetic`, and `bold` themes with visible character lengths.
3. `find_symbols` — Search and filter curated copy-paste Unicode symbols by keyword or group with compatibility notes.
4. `decorate_name` — Wrap display names in decorative frames and check display-name length and symbol rules for Instagram, TikTok, Discord, X, YouTube, and Roblox.
5. `render_lettering` — Shape connected-script lettering with HarfBuzz and return transparent PNG and/or font-independent outline `<path>` SVG using 8 SIL OFL 1.1 script fonts (Alex Brush, Allura, Dancing Script, Great Vibes, Italianno, Parisienne, Pinyon Script, Sacramento).
- **Skill (`fancy-text`)**: Guides tool selection and accurate capability boundaries.

## Network, Permissions & Side Effects

- **Network access**: Connects only to `https://mcp.fancycursive.com/mcp?source=zcode` over HTTPS (Streamable HTTP JSON-RPC). No authentication or API key is required. Rate-limited at 60 requests per 60 seconds per IP.
- **Privacy**: Completely stateless. User input text is processed strictly in memory to generate responses and is never stored, logged, or used for training. See [fancycursive.com/privacy#ai-apps](https://fancycursive.com/privacy#ai-apps).
- **Local side effects**: None. This plugin executes no local shell commands, registers no hooks, and writes no local files.

## Example Prompts

- `Convert "Hello José!" into copy-paste cursive and bold script text.`
- `Decorate the display name "Amelia" with frames for an Instagram profile.`
- `Render "Amelia Rose" in Alex Brush connected-script lettering as PNG and SVG.`

## License & Provenance

- Plugin manifest, skill, and metadata: MIT © Nurul Widad ([fancycursive.com](https://fancycursive.com/?utm_source=zcode&utm_medium=plugin)).
- Script fonts rendered server-side by `render_lettering` are licensed under the **SIL Open Font License 1.1**.
- Support: `[email protected]`
33 changes: 33 additions & 0 deletions external_plugins/fancycursive/README_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# FancyCursive 花体字与连笔字标

[English](./README.md)

在 ZCode 中直接将文本转换为可复制粘贴的 Unicode 花体与花式样式、检索精选 Unicode 符号、按平台规则装饰昵称,并生成透明 PNG 与真轮廓连笔 SVG 字标。

## 包含组件

- **MCP 服务器(`fancycursive`)**:无状态、只读的远程 Streamable HTTP MCP 服务(`https://mcp.fancycursive.com/mcp?source=zcode`),提供 5 个工具:
1. `convert_cursive` — 将文本(最多 500 字符)转换为 Unicode 数学花体与粗体花体,保留重音符号并报告未转换字符。
2. `fancy_text` — 按 `elegant`、`cute`、`aesthetic`、`bold` 主题生成最多 10 种花式装饰样式,并返回可见字符长度。
3. `find_symbols` — 按关键词或分组检索可复制粘贴的 Unicode 符号,附带跨设备兼容性提示。
4. `decorate_name` — 为昵称添加装饰边框,并校验 Instagram、TikTok、Discord、X、YouTube、Roblox 的昵称长度与符号规则。
5. `render_lettering` — 使用 HarfBuzz 与 8 款 SIL OFL 1.1 连笔字体(Alex Brush、Allura、Dancing Script、Great Vibes、Italianno、Parisienne、Pinyon Script、Sacramento)生成透明 PNG 和不依赖本机字体的真轮廓 `<path>` SVG 字标。
- **技能(`fancy-text`)**:引导 Agent 选择合适的工具并遵守准确的文案边界。

## 网络访问、权限与副作用说明

- **网络请求**:仅通过 HTTPS 向 `https://mcp.fancycursive.com/mcp?source=zcode` 发送 MCP JSON-RPC 请求。无需登录或 API Key,单 IP 限流为 60 次/分钟。
- **隐私策略**:完全无状态,输入文本仅在内存中即时处理后立即丢弃,不落盘、不记录日志、不用于训练。详见 [fancycursive.com/privacy#ai-apps](https://fancycursive.com/privacy#ai-apps)。
- **本地副作用**:无。本插件不执行任何本地命令、不注册 Hook,也不向本地写入文件。

## 示例提示词

- `把 "Hello José!" 转成可复制粘贴的花体和粗花体文字。`
- `给 Instagram 昵称 "Amelia" 生成带装饰框的花体方案,并检查长度限制。`
- `用 Alex Brush 字体把 "Amelia Rose" 渲染成连笔透明 PNG 和真轮廓 SVG。`

## 许可与来源

- 插件清单、技能与文档:MIT © Nurul Widad([fancycursive.com](https://fancycursive.com/?utm_source=zcode&utm_medium=plugin))。
- 服务端 `render_lettering` 渲染所使用的 8 款连笔字体均采用 **SIL Open Font License 1.1** 开源字体许可。
- 支持邮箱:`[email protected]`
25 changes: 25 additions & 0 deletions external_plugins/fancycursive/skills/fancy-text/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: fancy-text
description: Convert text to copy-paste Unicode cursive and decorated fancy text, search curated Unicode symbols, decorate display names with platform rules, or render true-outline connected-script PNG/SVG lettering via FancyCursive MCP.
---

# FancyCursive — Fancy Text, Symbols & Connected-Script Lettering

Use the `fancycursive` MCP server tools whenever a user asks for cursive text, decorated social bio/README text, Unicode symbols, decorated display names, or connected-script SVG/PNG lettering.

## When to call each tool

| User request | Tool | Notes |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Convert text/bio/README headings/Discord messages to copy-paste cursive | `convert_cursive` | Supports `script` and `boldScript` (up to 500 chars). Reports unconverted characters (`keptChars`) and accent decomposition (`hasAccents`). |
| Decorated cursive styles (hearts, stars, frames, aesthetic themes) | `fancy_text` | Supports themes `elegant`, `cute`, `aesthetic`, `bold`, or `all` (up to 100 chars, returns up to 10 results with `visibleLength`). |
| Find copy-paste stars, hearts, bullets, arrows, dividers, etc. | `find_symbols` | Filter by `query` and/or `group` (`star`, `heart`, `dot`, `arrow`, `check`, `bracket`, `flower`, `music`, `sparkle`, `line`, `name`, `bio`, `list`, `rating`, `divider`). |
| Wrap a display name in decorative frames (e.g. `꧁Name꧂`) | `decorate_name` | Pass `platform` (`instagram`, `tiktok`, `discord`, `x`, `youtube`, `roblox`) to check display-name length limits and symbol eligibility. |
| Generate connected-script lettering as PNG or font-independent outline SVG (for logos, web headers, cards, social graphics) | `render_lettering` | Uses 8 SIL OFL 1.1 script fonts shaped with HarfBuzz. Returns transparent PNG and/or outline `<path>` SVG. |

## Important boundaries (never overclaim)

- **Never claim** Unicode cursive "works everywhere" or works in username/handle fields — most platforms restrict usernames to plain ASCII, and screen readers read Mathematical Alphanumeric Symbols letter by letter.
- **Never claim** rendered lettering is "Cricut ready", "cut-ready", a "legal signature", or "tattoo-ready". Always keep the reminder that SVG outlines are not welded and shapes should be merged before cutting.
- **Never promise** font file downloads — FancyCursive outputs Unicode text or vector/PNG lettering images.
- When `render_lettering` reports missing glyphs, present the missing characters and suggest one of the recommended covering fonts (if any), rather than fabricating an image.
42 changes: 42 additions & 0 deletions marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -1673,6 +1673,48 @@
"把上一个 Hi3D 任务生成的模型按角色拆分成部件"
]
}
},
{
"name": "fancycursive",
"source": "./external_plugins/fancycursive",
"icon": "https://cdn-zcode.z.ai/zcode/official-plugin/assets/fancycursive/icon.png",
"displayName": "FancyCursive",
"displayName_i18n": {
"en": "FancyCursive",
"zh-CN": "FancyCursive 花体字与连笔字标"
},
"description": "Convert plain text into copy-paste Unicode cursive and decorated fancy styles, search curated Unicode symbols, decorate display names with platform character-limit checks, and render true-outline connected-script PNG/SVG lettering.",
"description_i18n": {
"en": "Convert plain text into copy-paste Unicode cursive and decorated fancy styles, search curated Unicode symbols, decorate display names with platform character-limit checks, and render true-outline connected-script PNG/SVG lettering.",
"zh-CN": "将文本转换为可复制粘贴的 Unicode 花体与花式样式、检索常用符号、按平台规则装饰昵称,并生成透明 PNG 与真轮廓连笔 SVG 字标。"
},
"version": "1.0.0",
"author": {
"name": "Nurul Widad",
"url": "https://fancycursive.com/?utm_source=zcode&utm_medium=plugin"
},
"category": "productivity",
"keywords": [
"cursive",
"fancy-text",
"unicode",
"symbols",
"svg",
"lettering",
"mcp"
],
"examplePrompts": [
"Convert \"Hello José!\" into copy-paste cursive and bold script text.",
"Decorate the display name \"Amelia\" with frames for an Instagram profile.",
"Render \"Amelia Rose\" in Alex Brush connected-script lettering as PNG and SVG."
],
"examplePrompts_i18n": {
"zh-CN": [
"把 \"Hello José!\" 转成可复制粘贴的花体和粗花体文字。",
"给 Instagram 昵称 \"Amelia\" 生成带装饰框的花体方案,并检查长度限制。",
"用 Alex Brush 字体把 \"Amelia Rose\" 渲染成连笔透明 PNG 和真轮廓 SVG。"
]
}
}
]
}