# HyScribe: 用Rust打造WordPress安全替代方案

Original title: Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust

> Hacker News story 50744619 · language: zh · submitted 2026-12-03
> Web version: https://zeli.app/zh/story/50744619
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 87 · by [Sid_Lmao](<https://news.ycombinator.com/user?id=Sid_Lmao>) · 💬 74
[original](<https://github.com/hyscaler/HyScribe>) · [HN discussion](<https://news.ycombinator.com/item?id=50744619>)

## Summary

HyScribe 是一个用 Rust 编写的 WordPress 直接替换方案，无需迁移数据库或修改代码即可无缝运行。它彻底移除了 PHP 运行时，将插件沙箱化运行，利用 Rust 的内存安全特性大幅提升网站安全性。只需指向现有的 WordPress 数据库和 wp-content 文件夹，通过简单的向导即可完成部署。虽然目前仍处于早期开发阶段，但它承诺在保留 WordPress 生态的同时，提供原生进程的高效与安全，且随时可切换回 PHP 版本。

## Key quote

> 保留 WordPress 的数据、URL 和生态系统，同时用内存安全的 Rust 和沙箱化插件替换运行时。

## HN discussion (74 comments)

### [bovermyer](<https://news.ycombinator.com/item?id=50744979>)

> 我很好奇，为什么选择做一个直接替换方案，而不是做一个带有迁移工具的方案？
>
> 很多 WordPress 站点依赖插件来实现核心功能，我看不到这些插件能如何在这个方案下工作。至少，直接替换的方式是行不通的。那到底该怎么实现呢？

### [_pdp_](<https://news.ycombinator.com/item?id=50746874>)

> 我想知道用 Rust 重写它的动机是什么。这对我来说说不通。
>
> Rust 并不能自动防止因不安全的字符串拼接或糟糕的输入验证而导致的 Web 应用程序漏洞。它也无法防止业务逻辑或访问控制方面的漏洞。

### [pier25](<https://news.ycombinator.com/item?id=50745277>)

> 大概 80% 以上的 WordPress 站点如果改用静态站点，效果会好得多。

### [hk1337](<https://news.ycombinator.com/item?id=50748598>)

> 几年前我就有过这个想法，不过当时是想用 Rails 而不是 Rust，但后来也没做成什么。只要能摆脱 WordPress 对 PHP 的依赖，让 PHP 能自由发展而不被 WordPress 拖后腿，什么都好说。
>
> 不过各种插件确实是个问题，因为你要么还得处理 PHP，要么就得重新实现所有主流插件的功能。

### [bzmrgonz](<https://news.ycombinator.com/item?id=50747105>)

> 我觉得我们需要的是一个迁移工具，能够抓取和爬取页面，然后在 AI 友好的技术栈中重建它们。我的首选是 Astro 搭配原生 CSS 和/或 htmx。所有这些技术栈和框架都是在 AI 出现之前构建的，目的是为了辅助笨拙的人类开发者。现在，我们可以放心地把编写 html(x) 这种繁琐且耗时的任务外包给 AI 了。

---

## Cite

- Page: https://zeli.app/zh/story/50744619
- Date: 2026-12-03
- Source: github.com (https://github.com/hyscaler/HyScribe)
- Hacker News: https://news.ycombinator.com/item?id=50744619

## Other languages

- en: https://zeli.app/story/50744619 · markdown: https://zeli.app/story/50744619.md
- ja: https://zeli.app/ja/story/50744619 · markdown: https://zeli.app/ja/story/50744619.md
- ko: https://zeli.app/ko/story/50744619 · markdown: https://zeli.app/ko/story/50744619.md
- de: https://zeli.app/de/story/50744619 · markdown: https://zeli.app/de/story/50744619.md
- es: https://zeli.app/es/story/50744619 · markdown: https://zeli.app/es/story/50744619.md
- ru: https://zeli.app/ru/story/50744619 · markdown: https://zeli.app/ru/story/50744619.md
