Skip to content

CrowdWare/SML-WP-PLUGIN

Repository files navigation

ForgeCrowdBook (WordPress Plugin)

ForgeCrowdBook is the main product: a collaborative, moderated book platform inside WordPress.

SML/Twig/Markdown compilation is still included, but it is supporting tooling, not the core focus.

Purpose

CrowdBook exists to enable open, free books that can evolve over time with community contributions.

  • readers get free access to knowledge and stories
  • authors can add chapters and improve books collaboratively
  • moderation keeps quality high while preserving openness
  • published content stays stable, while new versions can be reviewed before going live

CrowdBook first: core features

  • Public routes: /books, /book/{book-id}, /dashboard, /editor, /login, /register
  • Author flow:
    • create books from frontend dashboard
    • write/edit chapters in Markdown
    • upload inline images
    • submit to moderation
  • Moderation flow:
    • pending/published/rejected chapter states
    • versioned updates for published chapters (live stays visible until publish)
    • admin moderation pages for chapters and books
  • Book flow:
    • prologue + branch cards + chapter-by-chapter reader navigation
    • cover image upload with resize + preview
    • book moderation states (pending, active, archived)
    • versioned book updates (pending update over active live version)
  • Security/quality:
    • spam checks for chapter submissions
    • likes are account-based (one like per user per chapter)

Install

  1. Copy sml-wp-plugin into wp-content/plugins/.
  2. Optional: run composer install for Twig support.
  3. Activate plugin SML Pages MVP in WordPress admin.
  4. Open /dashboard (frontend) to create books and content.

CrowdBook admin pages

  • CrowdBook -> Übersicht
  • CrowdBook -> Bücher
  • CrowdBook -> Kapitel Moderation
  • CrowdBook -> User

SML compiler (secondary tooling)

The plugin still ships the original SML compiler stack for page generation:

  • custom post types like sml_page, sml_template, sml_markdown_part
  • Monaco editor integration
  • optional Twig templates + Markdown parts
  • static HTML compilation pipeline

This is useful for custom page rendering and templating around CrowdBook content.

Repository

  • Codeberg: https://codeberg.org/CrowdWare/ForgeCrowdBook

About

SML Compiler for WordPress: build pages with SML, Twig and Markdown, ship super fast static HTML, and run CrowdBook for collaborative branching books with moderation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors