Self-hosted Beeper appservice: announcement rooms for your services and conversational rooms with an agent, inside Beeper
Repo SelfRef/beeper-intercom, read from GitHub 21 h ago. SelfRef has not joined Take My Repo.
SelfRef/beeper-intercom is a public repo on GitHub by SelfRef. Self-hosted Beeper appservice: announcement rooms for your services and conversational rooms with an agent, inside Beeper. It declares the AGPL-3.0 license on GitHub. It is written mainly in Go, has 0 stars and last changed on 2026-10-14. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Your own stack, as a chat network inside Beeper: announcements one way, an agent the other.
It registers itself as a self-hosted appservice on your Beeper account, creates the rooms you declare, and then does two things:
The bridge holds no intelligence of its own. The agent lives wherever you keep it (Open WebUI, anything OpenAI-compatible, or a sidecar you write); the automation lives wherever you keep that.
Nothing is published: it speaks Beeper's appservice websocket, so there is no port to forward, no TLS to terminate and no public hostname.
Beeper clients (phone, desktop, web)
│ sync
hungryserv (beeper.local)
│ appservice websocket
┌──────────────────┴────────────────────────────────┐
│ beeper-intercom │
│ │
│ Matrix side HTTP side │
│ • ghosts, rooms • POST /v1/notify │
│ • send / react / poll • ntfy topic mirror │
│ • typing, send status • agents │
│ • per-room power levels • actions → webhooks │
│ • /mcp, /v1/* admin │
└───────────────────────────────────────────────────┘
Get your Beeper account token. If you use
bbctl, it is in
~/.config/bbctl/config.json; otherwise log in once with bbctl and take it
from there. The bridge uses it to register itself and to set room tags and
mute — both of which are your account's state, not the appservice's.
Copy config.example.yaml, change the names, and pick a registration name.
It must match ^sh-[a-z0-9-]+$: that prefix is Beeper's requirement for
self-hosted appservices, and it becomes the prefix of every identity the
bridge speaks as (@sh-example_alerts:beeper.local).
Run it:
services:
intercom:
image: ghcr.io/selfref/beeper-intercom:latest
restart: unless-stopped
volumes:
- ./config.yaml:/config/config.yaml:ro
- ./data:/data
environment:
MATRIX_ACCESS_TOKEN: <your Beeper account token>
INTERCOM_INGEST_TOKEN: <a token your scripts will use>
INTERCOM_ADMIN_TOKEN: <a token you will use>
On first start it registers the appservice with Beeper, creates the rooms and joins the ghosts. There is no second manual step; the rooms appear on every device as their own network.
beeper-intercom -check -config config.yaml validates a config without
touching the network, which is worth wiring into your own deploy.
curl -X POST http://intercom:8080/v1/notify \
-H "Authorization: Bearer $INTERCOM_INGEST_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"room": "alerts",
"ghost": "home",
"title": "Front door — person",
"text": "Person detected at 21:14, 87 %.",
"priority": "high",
"url": "https://frigate.example/events/123",
"tags": ["door", "warning"],
"media": [{"url": "https://frigate.example/snapshot.jpg"}],
"source": {"kind": "frigate", "id": "1758-abc", "payload": {"camera": "front"}},
"dedupe": "frigate:1758-abc",
"actions": {"👍": "ack", "🔕": "snooze"}
}'
| Field | Meaning |
|---|---|
room |
a room key from your config (or a raw !room ID the bridge owns) |
ghost |
which identity speaks; defaults to the room's first |
title / text / html |
bold first line; body as Markdown; or HTML as given |
priority |
min…urgent; high and above mention the account owner in a room with urgent_mentions, which notifies even if the room is muted (Beeper never fires the @room rule, so the mention is by name) |
url |
rendered as a link after the body |
tags |
known ntfy shortcodes become emoji, the rest become hashtags |
media |
downloaded and re-uploaded, so the client never reaches into your network |
source |
kept with the message, so a later reaction or thread has the payload |
thread |
an event ID, or kind:id naming an earlier notification's source. If no earlier notification matches, the message becomes a root — so a publisher that always sends thread: "frigate:<camera>" gets one thread per camera without tracking event IDs |
dedupe |
idempotency key; a repeat returns the first event ID |
actions |
reaction key → action name (see below) |
profile |
{displayname, avatar_url} — one ghost speaking as many authors |
The response is {"event_id": "$…", "duplicate": false}.
ntfy has no outbound webhooks, but a topic is a JSON stream, so the bridge subscribes to it like any other client:
sources:
- type: ntfy
url: http://ntfy
topics:
cloud-updates: { room: news, ghost: updates }
cloud-alerts: { room: alerts, ghost: alerts, min_priority: 3 }
Nothing on the publishing side changes. Existing scripts keep posting to ntfy, ntfy keeps working for the alarms that have to arrive when this is down, and the same messages also show up in Beeper. Titles, priorities, tags, click URLs and attachments all carry over; the ntfy message id is the dedupe key and the cursor is persisted, so a restart does not replay or drop.
Publishers move to /v1/notify only when they want threads, actions or media
— never because they have to.
A room with an agent: is conversational. Type in it and the agent answers:
typing indicator while it works, a reaction on your message saying which phase
it is in, Markdown rendered into the Matrix HTML subset, long answers split at
paragraph boundaries and also attached as a .md file. A failure marks your
message as failed (com.beeper.message_send_status) instead of adding an
apology to the conversation.
Progress (progress: in the config) decides what a long turn looks like.
mode |
What you see |
|---|---|
off (default) |
nothing until the answer is finished; the ghost types the whole time |
edits |
the first chunk is posted and rewritten with the answer so far every interval, each partial marked with suffix (…) |
stream |
Beeper's com.beeper.stream: the first chunk opens a message carrying a stream descriptor and later chunks go to subscribed devices as to-device updates |
stream is the protocol-correct rendering and costs one to-device event per
chunk instead of one room event, but no client painted it when this was last
measured (2026-09-20: every delta shape was delivered to subscribed devices
and dropped before the UI). edits is what works today. Either way the
finished answer is committed as an edit of that first message — the copy every
other device and every reload sees. no_stream: true on an agent turns the
backend's own streaming off, which forces off behaviour for that agent.
The reaction tracks the phase: ⏳ accepted (queued, and the prompt being
processed), 🧠 reasoning, 🛠️ a tool call, 🌐 a tool call that goes out to the
network, ✍️ writing the answer, ❓ waiting for an answer from you, 🗜️
compacting. 🧠 means reasoning specifically — a model with thinking off never
shows it, and the wait before the first token stays ⏳. Every emoji is configurable and "" leaves a
phase unmarked. How many of them you see depends on the backend — Open WebUI
reports all five, a plain OpenAI endpoint only the first and last.
Questions from the model. Open WebUI's ask_user tool does not run and
return — it stops the turn with its questions staged on the message, expecting
a UI to draw a card. The bridge asks each one as a poll instead and
resolves the call with the answers, which resumes the same turn where it
stopped.
Once answered, the card is a control that can no longer do anything, so by
default it is removed and a single line — question: answer — is left in its
place: the record reads in the transcript where a dead card only takes up room.
questions.after_answer picks another ending — keep leaves the poll as well
(ended, so the answer cannot be changed to one the model never saw) and
delete removes it and says nothing. A question that goes unanswered past
questions.timeout (10 m by default) is only ended, never removed: it is the
record of a question that went nowhere, and the model carries on without it.
A Matrix poll takes one of its options and nothing else, so when the model says
a free-form answer is acceptable (allow_other), a message typed into the
room while the question is open is taken as the answer instead of starting a
new turn — and the question says (or type answer), because nobody would guess
it otherwise. When the model wants one of its fixed options and you type
something else anyway, the question is dropped: the backend is told the
call was cancelled, whatever it says about that is discarded, and your message
becomes the next turn. A question nobody answers within questions.timeout
says so in the room and the model carries on without it.
Attachments. Send a photo and a vision model sees it; send a document and it goes through the backend's file path (Open WebUI uploads it and runs it through RAG or full context, as the web UI would); send a voice message and it is transcribed first — the transcript is posted back as a notice, so a misheard word explains a strange answer, and the text becomes the turn. A caption becomes the question; without one the bridge asks the obvious ("What is in this image?").
Tools. tool_ids are the tools an agent always has. toolsets are groups
that can be switched on and off in the room with /tools, and their state
belongs to the conversation: it starts at the configured default, /tools
changes it, and the next conversation starts from the default again — so an
escalation cannot outlive what it was granted for. A toolset with idle: also
switches itself off after that long without a turn and says so in the room.
toolsets:
rw:
description: Write access to the user's files, photos and repos
tools: [server:mcp:mcphub-me-rw]
default: false
idle: 15m
features: names Open WebUI's own capabilities (web_search,
code_interpreter, image_generation, memory). They are not tools the
bridge can pass: Open WebUI injects them itself, and only for a request that
carries a session id, because anything else is "an API caller that does not
expect hidden tools" (utils/middleware.py). Naming a feature therefore also
puts the turn on Open WebUI's background-task path, which the adapter handles.
Reasoning effort (reasoning: in the config) is /think. Most
self-hosted catalogues publish one model id per effort rather than a parameter,
by convention a suffix on a shared base — qwen38, qwen38:t, qwen38:m — so
the bridge is told the convention and /think medium becomes /model with the
base held fixed. The bare id, with no suffix, is always off.
reasoning:
enabled: true
levels:
- { name: Think, ids: [think, t], suffix: ":t", description: thinking on }
- { name: Low, ids: [low, l], suffix: ":l" }
- { name: Medium, ids: [medium, m], suffix: ":m" }
- { name: High, ids: [high, h], suffix: ":h" }
- { name: Extra High, ids: [extra, x], suffix: ":x" }
name is what the level is called, ids are the words you may type for it —
/think extra and /think x are the same thing — and the first id is the one
hints and errors suggest.
Which levels exist is not assumed: the backend's model list decides, so
/think offers the variants that are actually served and says so when a model
has none. Unlike /model, the change belongs to the conversation — a
question that needs more thought is a question, not a new setting — and the
next one is back to the room's model. Asked before a conversation exists
(/new, then /think high), it waits for the one the next message opens.
The bridge's own voice. A conversational room has one ghost and two
speakers in it: the agent answering, and the bridge reporting on itself
("Nothing to undo yet.", "rw switched off after 15 min idle"). Beeper renders
m.notice from a ghost exactly like an ordinary message, so by default these
are sent by the bridge bot instead, whose notices render as dim centred
text with no bubble — in any room, not only a bridge-bot room. That rendering
centres the whole message, so bridge messages are laid out as tables, never
as bullet lists (a list's markers stay at the left margin while its text
centres), and they use data-mx-color to mark state. A notice caused by a
command is sent as a reply to it; autonomous ones, like a toolset going idle,
are not replies to anything.
notices:
sender: bot # or ghost, which then uses the per-message profile below
name: System
id: system
reply: true
With sender: ghost the notice comes from the room's ghost carrying a
com.beeper.per_message_profile — its own name and avatar for that one
message, without a second room member, which would turn a dm into a group.
Deleting.
SelfRef/beeper-intercom is a public repo on GitHub by SelfRef. Self-hosted Beeper appservice: announcement rooms for your services and conversational rooms with an agent, inside Beeper.
It declares the AGPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-10-14. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run beeper-intercom. What is known comes from GitHub. It declares the AGPL-3.0 license on GitHub. Its last change was on 2026-10-14. It has 0 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.