A sample plugin of lichen's built-in editor (phase 13): its remote-plugin test fixture
README.md

lichen-sample-plugin #

A sample plugin of lichen's built-in editor (phase 13 of lichen's frontend plan), and the fixture of lichen's remote-plugin tests. A site turns it on in its settings.toml:

[[plugins]]
source = "tangled:notplants-bot.bsky.social/lichen-sample-plugin"

and lichen pins it when the site updates it. It shows the page it is mounted on.

  • lichen-plugin.json: its manifest (name, label, icon, api, entry).
  • sticky.js: its ES module, exporting mount(element, host) and unmount().