bm.md

mcp
Security Audit
Warn
Health Pass
  • License — License: AGPL-3.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 567 GitHub stars
Code Warn
  • network request — Outbound network request in preset/aliyun-esa/entry.ts
Permissions Pass
  • Permissions — No dangerous permissions requested
Purpose
This tool is a Markdown formatting assistant designed to adapt and style content for platforms like WeChat Official Accounts, general web pages, and image exports. It offers a web interface, a CLI, and an MCP server for developer integration.

Security Assessment
The overall risk is Low. The tool operates as a Markdown processor and does not request dangerous system permissions or execute arbitrary shell commands. There are no hardcoded secrets detected in the codebase. The only flagged issue is an outbound network request found inside an Alibaba Cloud ESA deployment preset. This request is strictly related to the application's hosting and routing infrastructure, meaning it is completely inert if you are self-hosting or using the CLI and MCP protocol locally. It does not access sensitive local data or exfiltrate user files.

Quality Assessment
This is a healthy and highly active project. It is licensed under AGPL-3.0, which is a strong copyleft license (be aware this requires you to provide source code if you host a modified version as a network service). The repository is actively maintained, with its most recent push happening today. With 567 GitHub stars, it demonstrates a solid baseline of community trust and user adoption.

Verdict
Safe to use.
SUMMARY

更好用的 Markdown 排版助手|一键适配微信公众号、网页与图片。

README.md

bm.md

更好用的 Markdown 排版助手|一键适配微信公众号、知乎专栏、掘金、网页与图片。


✨ 特性

  • 📝 实时预览 - 基于 CodeMirror 6 的 Markdown 编辑器,所见即所得
  • 🎨 14 种排版样式 - 从专业商务到复古怀旧,满足不同场景需求
  • 🌈 14 种代码主题 - 支持浅色/深色多种代码高亮风格
  • 📱 多平台适配 - 一键复制到微信公众号、知乎、掘金
  • 🖼️ 图片导出 - 将排版内容导出为图片分享
  • 🔌 开发者友好 - 提供 CLI、REST API 和 MCP 协议集成
  • ⌨️ 快捷操作 - 命令面板 + 全局快捷键,高效操作

🚀 快速开始

# 克隆项目
git clone https://github.com/miantiao-me/bm.md.git
cd bm.md

# 安装依赖
pnpm install

# 启动开发服务器
pnpm dev

访问 http://localhost:2663 开始使用。

CLI 使用

bmmd 可在命令行中复用核心 Markdown 处理能力,支持文件输入或 stdin,默认输出到 stdout。

# 直接运行
pnpm dlx bmmd render article.md --platform wechat --output article.html

# 管道输入
cat article.md | pnpm dlx bmmd extract

# 修复 Markdown 并写回源文件
pnpm dlx bmmd lint article.md --fix

本地开发可执行 pnpm build:cli 构建 CLI,入口文件为 bin/bmmd.mjs

🛠️ 技术栈

#阿里云ESA Pages #阿里云云工开物

本项目由阿里云ESA提供加速、计算和保护: Alibaba ESA

阿里云部署配置:

安装命令: pnpm install
构建命令: pnpm run build
根目录: /
静态资源目录: dist/client
函数文件路径: dist/server/server.js

其他环境部署配置参考 Nitro 文档。

📖 文档

🤝 贡献

欢迎提交 Issue 和 Pull Request。

📄 许可证

AGPL-3.0

Reviews (0)

No results found