Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Plugins without the plugin jungle: a whole blog with comments in one sandboxed script

说明与用途

ForgeCMS 允许将插件作为 Git 仓库中的两个文件创建,并在沙箱环境中自动加载,消除了使用众多 WordPress 插件的需求。

问题

WordPress sites required many plugins, each with updates, security holes, and subscriptions, leading to maintenance overhead and hosting removal.

结果

A lightweight, sandboxed plugin system that eliminates the need for numerous WordPress plugins while maintaining extensibility and security.

工作流

  • 1. Create a plugin folder under plugins/ with plugin.sml and plugin.sms files.
  • 2. Write plugin.sms in SMS language to generate SML output.
  • 3. Add a line like Plugin { name: "guestbook" } to a page.
  • 4. Push changes to the Git repo and reload the page; ForgeCMS reloads the plugin automatically.
  • 5. Use the plugin spec to request new features or permissions via app.sml.
  • 6. Optionally use AI to generate plugin files based on the spec.

证据

ForgeCMS sites are Markdown and small SML files in a Git repo. A plugin is just two more files next to the pages:

来源

A WordPress plugin is PHP with all the rights of your server. An SMS plugin only has the functions ForgeCMS hands to it:

来源

No file system, no network, no programs. Each call gets a budget of one million steps, 250 ms and 32 MB; an endless loop is stopped after about 10 ms of work.

来源

The AI writes the two files, you push them, reload the page, done.

来源

  • 记录日期: 2026-11-03T19:43:49.079Z