Plugin Information

Live status from the plugin backend. Configure settings in the admin panel to see them affect behavior.

Loading plugin info...

Current Settings

Values configured at p2ns.admin → Plugins → example.plugin → Settings

Loading settings...

Note: Change these settings in the admin panel to see live updates below.

Your Public Key

Your persistent Hyperswarm public key that identifies you on the P2NS network.

Loading public key...

API Demo

These endpoints demonstrate how admin settings affect responses.

  • GET /api/hello?name=World — uses Greeting Prefix setting
  • GET /api/calculate?value=10 — uses Multiplier setting
  • GET /api/mode — uses Operation Mode setting
  • GET /api/info — returns all current settings

Admin Actions

Execute actions at p2ns.admin → Plugins → example.plugin → Actions

Loading action results...

Plugin Structure

Use this layout as a starting point for your own plugins.

plugin-sites/example.plugin/
├── config.json          # Plugin metadata
├── index.js             # Plugin handler (uses settings & actions)
└── www/                 # Document root for static files
    ├── index.html       # This file
    └── css/
        ├── branding.css # Shared P2NS brand lockup
        └── style.css    # Plugin styles