← 返回
未分类 中文

Mdorigin

Build, preview, and deploy markdown-first sites with local preview, Cloudflare bundles, and agent-readable raw markdown routes.
构建、预览并部署以 Markdown 为先的站点,支持本地预览、Cloudflare 捆绑包以及可被代理读取的原始 Markdown 路由。
jolestar jolestar 来源
未分类 clawhub v0.2.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 358
下载
💾 1
安装
1
版本
#latest

概述

mdorigin

Use this skill when you want to work on a markdown-first publishing site powered by mdorigin.

Install

Global install:

npm install -g mdorigin

Project-local install:

npm install --save-dev mdorigin

What it covers

  • local preview with mdorigin dev
  • directory index generation with mdorigin build index
  • search index generation with mdorigin build search
  • Cloudflare Worker bundle output with mdorigin build cloudflare
  • external binary deployment flow for Cloudflare Assets + R2
  • markdown and HTML route behavior, including Accept: text/markdown

Quick commands

mdorigin dev --root docs/site
mdorigin build index --root docs/site
mdorigin build search --root docs/site
mdorigin build cloudflare --root docs/site

External binary deploy flow:

mdorigin build cloudflare --root docs/site --binary-mode external
mdorigin sync cloudflare-r2 --dir dist/cloudflare --bucket <bucket-name>
mdorigin init cloudflare --dir . --r2-bucket <bucket-name>

Remote docs

When an agent needs details, prefer the published docs instead of duplicating everything in the skill:

  • HTML docs: https://mdorigin.jolestar.workers.dev
  • Raw markdown home: https://mdorigin.jolestar.workers.dev/README.md
  • Routing docs: https://mdorigin.jolestar.workers.dev/concepts/routing.md
  • Configuration docs: https://mdorigin.jolestar.workers.dev/reference/configuration.md
  • Extensions docs: https://mdorigin.jolestar.workers.dev/guides/extensions.md
  • Cloudflare docs: https://mdorigin.jolestar.workers.dev/guides/cloudflare.md

Extensionless routes also return markdown when the client sends Accept: text/markdown.

Search

Use search when you need the right doc page before opening it:

  • Search API: https://mdorigin.jolestar.workers.dev/api/search?q=
  • OpenAPI schema: https://mdorigin.jolestar.workers.dev/api/openapi.json

Examples:

curl 'https://mdorigin.jolestar.workers.dev/api/search?q=cloudflare%20deploy'
curl -H 'Accept: text/markdown' 'https://mdorigin.jolestar.workers.dev/guides/getting-started'

版本历史

共 1 个版本

  • v0.2.0 当前
    2026-05-07 04:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 688 📥 331,815
ai-agent

Discord OpenAPI Skill

jolestar
通过UXC操作Discord HTTP API,使用Discord OpenAPI模式。建议使用Bot令牌以获取完整API访问权限(包括消息和服务器管理)。支持OAuth2...
★ 0 📥 1,084
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 199 📥 68,371