- PHP 80%
- JavaScript 12.9%
- CSS 4.9%
- Shell 2.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PXWEBsGDn5nZWVAt6hrf5c |
||
| assets | ||
| blocks | ||
| languages | ||
| src | ||
| tests | ||
| .gitignore | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| LICENSE | ||
| lrob-pluginception.php | ||
| publish.sh | ||
| README.md | ||
| release.sh | ||
| uninstall.php | ||
LRob - Pluginception
The shop window of your projects, kept up to date by your forge.
LRob - Pluginception is a WordPress plugin that turns the public repositories of an organisation on a forge (Forgejo, Gitea or GitHub) into a catalogue of projects on your site. Each project shows its latest version, a download button, a link to its source code and its release notes, and they update by themselves every time you publish a release. You add the text and the picture that make a project attractive; the forge brings everything else.
It is made for developers and small companies who publish plugins, themes or tools on a forge and want a page per project on their own site without copying version numbers and changelogs by hand.
Documentation: the wiki: installation, sources and tokens, projects, each block and its settings, webhook, log, troubleshooting.
An example
Your organisation acme on https://git.example.com has three public repositories: widget,
toolbox and seo-tools.
- In Pluginception → Sources, you paste
https://git.example.com/acme. - The three repositories appear in Projects at once; their releases, README and requirements are read in the background.
- On the page presenting
widget, the Project buttons block offers the zip of the latest release, with its version and date, and the Release notes block shows its notes. - On your "Our plugins" page, the Projects index block shows the three projects as cards, filtered by category.
- You publish
widget1.3.0 on the forge: the pages show 1.3.0 and its notes, without you touching WordPress.
A repository created next month appears by itself, marked To complete.
What it does
- Sources: an organisation, an account or a single repository, on Forgejo, Gitea, GitHub or GitHub Enterprise Server. No token needed; an optional read-only token raises the forge's request quota.
- Projects: name, description, licence, releases, notes, README excerpt, plugin requirements and a banner image read from the forge; your own name, excerpt, image, category, order and page always win.
- Four blocks: Project buttons, Release notes, Projects index, Recent activity. They take your theme's colours and buttons, in light and dark mode.
- Up to date by itself: a scheduled reading, plus an optional webhook for instant updates. GitHub's quota is respected. Nothing is asked of a forge while a visitor views a page.
- A log of every request to a forge, every webhook and every change.
- English and French.
Installation
- Download
lrob-pluginception-<version>.zipfrom the releases of this repository. - In WordPress, Plugins → Add New Plugin → Upload Plugin, choose the zip, then activate.
- Open Pluginception, add a source, then place the blocks on your pages.
Updates are offered in Dashboard → Updates, from the releases of this repository.
Requirements
- WordPress 6.7 or later, PHP 8.4 or later (developed on PHP 8.5).
- WordPress's scheduled tasks (wp-cron, or a real cron calling it).
- The site must be able to reach the forge over HTTPS.
Security
- Read only: the plugin never writes anything to a forge, and never shows a private repository.
- The token, if any, is sent only to the forge's API (never to another address, even after a redirect), never sent back to the browser, never logged.
- A webhook is accepted only with a valid HMAC-SHA256 signature of its body; its content only says which repository to read again, from the forge's API.
- Release notes and READMEs are third-party text: HTML written in them is shown as text and never run, and the result goes through WordPress's own HTML filter. Every value written in a page or the administration is escaped.
- The administration screen and its routes are for administrators only.
Development
No dependency, no build step: plain PHP, CSS and JavaScript. The Markdown renderer is LRob
Markdown (src/lib/markdown), bundled. Logic tests: php tests/run.php.
Author
LRob - Pluginception is a free plugin by LRob, WordPress host. Its page: lrob.fr/wordpress/plugins/lrob-pluginception. More of our plugins: lrob.fr/wordpress/plugins.
Licence
GPL-2.0-or-later. See LICENSE.