Back to homepage
EN RU DE FR ES
28 April 2026 · Engineering

Install any plugin in 30 seconds.

Flirexa 1.4.61 ships a plugin install-by-URL flow. Paste a tarball URL plus its SHA-256 into the admin panel, hit install, restart the API. Done — your panel has new functionality.

What changed

Until today, getting third-party functionality into Flirexa meant editing files on the server. Now there's a real flow.

What a plugin looks like

Two files. That's it.

1. Manifest

{
  "name": "discord-alerts",
  "version": "1.0.0",
  "display_name": "Discord Alerts",
  "description": "Posts new client and payment events to a Discord webhook.",
  "requires_license_feature": "community",
  "author": "your-handle"
}

2. Plugin code

import os, httpx
from fastapi import APIRouter
from src.modules.plugin_loader import Plugin

router = APIRouter(prefix="/api/v1/plugins/discord-alerts")

@router.get("/status")
async def status():
    return {"plugin": "discord-alerts", "active": True}

class DiscordAlertsPlugin(Plugin):
    def get_router(self):
        return router

    def on_load(self):
        webhook = os.getenv("DISCORD_WEBHOOK_URL", "")
        if webhook:
            httpx.post(webhook, json={"content": "Flirexa is online."})

PLUGIN = DiscordAlertsPlugin({
    "name": "discord-alerts", "version": "1.0.0",
    "display_name": "Discord Alerts",
    "requires_license_feature": "community",
})

The community feature flag is granted on every install — including FREE — so plugins declaring it always load. Use a different feature name only if you're building something that should be paid-tier-only.

Publishing your plugin

  1. Pack the directory: tar czf discord-alerts-v1.0.0.tar.gz discord-alerts/
  2. Compute the hash: sha256sum discord-alerts-v1.0.0.tar.gz
  3. Cut a GitHub release with the tarball attached. Put the SHA-256 in the release notes.
  4. Tag the repo flirexa-plugin on GitHub so it's discoverable.

Operators copy the URL and the hash from your release page, paste both into their admin panel, restart the API. That's the whole loop.

Things people might write next

Slack / Discord / Mattermost alerts
Webhook on new signup, payment received, server downtime.
Google Drive / Backblaze B2 / S3-compatible
Off-site auto-backup with retention and encryption — works with AWS S3, Backblaze B2, Wasabi, or any S3-compatible storage.
CRM integrations
Push customer events to HubSpot, Pipedrive, or Salesforce.
Custom payment providers
Coinbase Commerce, BTCPay Server, Square — anything with a REST API.
Custom Telegram commands
Add operator-side commands to the admin bot — daily revenue digest, alert filters.
Prometheus / Grafana export
Reference example ships in core; build dashboards on top.

Trust the source. A plugin runs as full Python with the same permissions as the API. The SHA-256 verifies that the file you got is the file the author published — it does not vouch for what the code does. Read manifests before installing, vet authors you don't know, audit anything that handles money or customer data.

Where this is heading

Get started

Questions? Bug reports? support@flirexa.biz.