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