Generico Two
Define reusable HTML, Mustache, JavaScript and CSS templates and drop them into any Moodle content with a simple tag.
reported by the source platform · not verified or archived by the registryDownload and compatibility
verification ledger
Source tagged by maintainer
github.com/justinhunt/moodle-filter_genericotwo @ v1.0.5 · commit 33e7ab27859b
Rebuilt deterministically from that tag
canonical ZIP, byte-identical on every rebuild
Artifact hash recorded in the public index
sha256 f69b1cf696985259dd944d6582894f03dfe3367ea02e8c188414b5eedbc809f7
Release signed · trusted publishing
planned — TUF signing (RFC §4.3)
Recorded in public transparency log
planned — Sigstore/Rekor (RFC §4.3)
composer require justinhunt/moodle-filter_genericotwo
All versions
2 older versions (2 revoked) · superseded by the releases above
- 1.0.427 Oct 2026Moodle 4.5 – 5.3revokedMoodle 4.5 – 5.3 · revoked
- 1.0.320 Oct 2026Moodle 4.5 – 5.2revokedMoodle 4.5 – 5.2 · revoked
About
Generico Two (G2) is a Moodle text filter. Site administrators register templates made of
HTML, Mustache, JavaScript, CSS and an optional SQL dataset, and authors then embed them
anywhere Moodle filters text with a tag such as {G2:type=youtube,videoid=AbCdEfGh}.
Features: templates stored in the database and rendered with Mustache, an admin editor with live preview, a library of ready-made presets, an optional AI helper for writing templates, start/end tag pairs for wrappers such as tabs and accordions, and per-template context restrictions.
Variables: tag parameters, URL parameters, course, user and profile fields, template defaults and SQL dataset results can all be used inside a template.
Migration: a one-click tool imports templates from the original Generico filter, and
legacy {GENERICO:...} tags can optionally be handled.