Quick Start

Goal: get MiBeeBell running on a Linux box, fire your first alert and receive the notification — in about 5 minutes.

Commands are copy-paste ready. Example addresses use the documentation range 192.0.2.10 — replace with your instance address.

1. Install (two ways)

fnOS app (recommended): download mibee-bell-fnos-0.2.0-arm64.fpk (ARM64) or mibee-bell-fnos-0.2.0-amd64.fpk (x86) from the v0.2.0 release page → App Center manual install → open "Bell" from the desktop.

Binary: grab the matching build from the Release hub v0.2.0 (with checksums.txt), drop it anywhere:

./mibee-bell -listen :9080

Zero config works: without a config.yaml it listens on :9080 and stores SQLite in ./bell.db; everything else is configured in the Web UI (written back to yaml automatically).

2. First open: set the admin password

Open http://192.0.2.10:9080 in a browser — a brand-new instance lands on the first-run password page; enter a password (≥8 chars), confirm, and you're signed in:

First-run admin password setup

CLI alternative: ./mibee-bell hash-password prints a bcrypt hash for config.yaml's auth.password_hash — useful when initializing headless (write the full config before first boot). With an empty hash, the Web home always offers the first-run setup form and the admin API answers 403 setup_required until a password exists.

After setup, log in (password on direct access; SSO from the fnOS desktop):

Login page

3. Add a channel

"Channels" → New. The quickest channel to verify with is a generic Webhook (any URL that accepts POST); for real use, your group bot:

Channel Key credential
WeCom robot the key from the group-bot webhook URL
DingTalk robot access_token + signing secret
Feishu robot webhook URL (optional signature)
Telegram bot token + chat_id (per-channel proxy supported)
Bark / ntfy server + device key / topic
SMTP host / account / password
Generic Webhook target URL (optional HMAC-SHA256 signing)

Hit "Send test" to verify. Credentials are AES-256-GCM encrypted at rest; the UI and API only ever show ***.

4. Create a rule

"Rules" → New rule: match on the source bound to your ingest token (step 5's myapp) with minimum severity error, target channels = the channel from step 3, cooldown 300s (no re-bombardment of the same subject within 5 minutes); add an escalation chain if you want one. Effective on save — no restart.

5. Fire your first alert

First create an ingest token (Settings → Ingest & tokens → New token — the value is shown only once), or pre-seed it in config.yaml:

ingest:
  webhook_tokens:
    - token: "my-ingest-token-1"      # any long random string; stored on both sides
      default_source: "myapp"
  alertmanager: true                  # also enable the Prometheus/Grafana entry

Then:

curl -X POST "http://192.0.2.10:9080/api/ingest/webhook/my-ingest-token-1" \
  -H "Content-Type: application/json" \
  -d '{"type":"demo_alert","severity":"error","title":"first test alert",
       "body":"hello from curl","source_ref":"demo-1"}'
# 202 {"event_id":"..."} — accepted into the pipeline; check the UI for the notification & deliveries

Send a recovery event with the same dedup_key and watch the paired "resolved" notice arrive:

curl -X POST "http://192.0.2.10:9080/api/ingest/webhook/my-ingest-token-1" \
  -H "Content-Type: application/json" \
  -d '{"type":"demo_alert","severity":"info","title":"first test alert resolved",
       "source_ref":"demo-1","resolved":true}'

6. Wire up existing systems (zero refactor)

# Prometheus Alertmanager — alertmanager.yml
route:
  receivers: [bell]
receivers:
  - name: bell
    webhook_configs:
      - url: http://192.0.2.10:9080/api/ingest/alertmanager

Existing Bark-ecosystem scripts just swap api.day.app/yourkey for http://192.0.2.10:9080/yourkey. More entries in Event Ingest.

Requirements & next steps