文派体验场 — WordPress Playground 自托管站点
Find a file
2026-04-13 12:00:55 +08:00
.forgejo/workflows feat: 插件自动同步系统 2026-02-28 20:06:03 +08:00
play chore: 自动同步插件 2026-04-13 2026-04-13 12:00:55 +08:00
scripts feat: add missing plugin sha256 checksums and operational tooling 2026-04-11 04:22:53 +08:00
tests 修复 Playwright 测试套件适配 Playground 环境 2026-02-20 13:31:27 +08:00
.gitignore fix: repair infrastructure bugs and unify scripts to qa source 2026-04-11 04:22:46 +08:00
README.md Initial commit 2026-02-20 17:42:04 +00:00

play.wenpai.net

文派体验场 — WordPress Playground 自托管站点

目录结构

mu-plugins/
  wenpai-accelerate.php   # 国内加速 mu-pluginAPI 重定向 + Cravatar
blueprints/
  starter.json            # 默认蓝图(中文环境 + 加速)
  wpmind.json             # WPMind 插件体验蓝图

mu-plugins/wenpai-accelerate.php

轻量级国内加速插件,替代 wp-china-yes 在 WASM 环境中的角色:

  • api.wordpress.orgapi.wenpai.net
  • downloads.wordpress.orgdownloads.wenpai.net
  • Gravatar → Cravatar 国内源

作为 mu-plugin 自动加载,无需激活,无设置页面。

部署

蓝图通过 writeFile step 将 mu-plugin 写入 Playground 虚拟文件系统:

{
  "step": "writeFile",
  "path": "/wordpress/wp-content/mu-plugins/wenpai-accelerate.php",
  "data": "<php source>"
}

服务器

  • 生产: feicode-prod (45.117.8.70)
  • 站点根目录: /www/wwwroot/play.wenpai.net/
  • 详细文档: 见 wenpai VM docs/services/playground.md