Search by

doska / kirby

Rafael Egli

Dev-only Kirby toolbar. Point at an element, write a note, and copy a prompt that names the template, the snippet, and the content field.

Package info

github.com/e9li/doska-kirby

Language:JavaScript

Type:kirby-plugin

pkg:composer/doska/kirby

Fund package maintenance!

e9li

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.3.2 2026-11-09 20:19 UTC

This package is auto-updated.

Last update: 2026-11-09 20:29:51 UTC


README

Doska logo

Doska for Kirby

Dev-only toolbar for a Kirby site. Point at an element, write a note, and copy a prompt that names the PHP snippet and, in content mode, the content file and block. A connected agent can also read and resolve notes through the stateless MCP endpoint.

The plugin does nothing unless Kirby's debug option is true. It answers only local requests unless remote access is explicitly enabled.

Install

composer require --dev doska/kirby

getkirby/composer-installer puts the plugin in site/plugins/doska.

// site/config/config.php
return [
    'debug' => true,
    'doska.kirby' => [
        'enabled' => true,
        'allow_remote_access' => false,
        'dock' => 'bottom',
    ],
];

A Kirby page has one Dev / Content toggle on the toolbar. Dev leads the prompt with the PHP snippet. Content leads with the content file, field, block id, and block type, so a note can change a title without editing PHP. The choice is saved in the browser.

See the canonical Doska README for configuration, source mapping, notes, and agent setup. Development happens in that monorepo; this package repository is generated and is read-only. The published package contains the toolbar asset and all shared PHP classes.

License

MIT