Push LabGuide
GitHub

Push Lab: Send push from your own server. Prove it works on a real phone.

Send push from your own server. Prove it works on a real phone.
Beacon is a self-hosted push server, and Tether puts your Android phone in the browser with QA flows.

See it in action ยท Highlights ยท More by juw12

Last updated Self-hosted Android MIT license

Every push channel
Web Push, FCM, ntfy and Gotify from one self-hosted server.
Real-device proof
Tether mirrors your Android phone in the browser and runs QA flows on it.
Zero dependencies
Plain Python, backed by a hermetic test suite.

See it in action

Push Lab screenshot
Push Lab in use

About

Send push notifications from your own server, and prove they work on a real phone. One self-hosted,
zero-dependency toolkit (Python standard library only), free. Status: work in progress.

Push Lab has two built-in parts that start together and are already linked:

Part Folder What it does
Beacon โ€” the push server beacon/ Your own push service (like OneSignal). Web Push for every PWA, FCM for Android, in-app banners, ntfy / Bark (iPhone) / Gotify / Apprise channels, targeting, scheduling, digests, multi-step escalation, templates, per-user categories & preferences, Gatus uptime alerts, a console and MCP.
Tether โ€” the device lab tether/ Your Android phone in the browser. Live HD screen, record and replay QA flows (Maestro / Midscene YAML), one flow on every connected phone at once, notification checks, AI steps (incl. Google ARTEMIS), performance budgets (startup, jank, memory, CPU), Perfetto traces, LeakCanary leak checks, CI and MCP.
Agent skills plugin/ Claude Code / Codex skills + CLI that drive both parts.
apps/pushlab/
  pushlab.py, start-push-lab.bat   one command starts Beacon + Tether, linked and signed in
  beacon/                          push server   (server/, web/, tests/, docs/, examples/)
  tether/                          device lab    (server/, web/, tests/, examples/)
  plugin/                          agent skills + pushlab_cli.py
  tests/                           end-to-end test of the skills against both parts

Each part can also run on its own (python apps/pushlab/beacon/server/server.py,
python apps/pushlab/tether/server/server.py); their own READMEs have the details.

Start (2 minutes)

  1. Double-click start-push-lab.bat (or run python apps/pushlab/pushlab.py). The Beacon console and Tether open in your browser, already signed in.
  2. In Tether, click Install it for me if it asks for adb. That's a one-time ~7 MB download from Google.
  3. Connect a phone. Either plug it in with USB debugging on, or click ๐Ÿ“ถ Wi-Fi (Android 11+, no cable).
  4. In Tether, go to the Push tab and click ๐Ÿ“ฒ Connect this phone to Beacon. Tether opens Beacon on the phone and taps Enable and Allow for you.
  5. Click Send now, or + full push QA steps, then Run.

There's no HTTPS or deployment needed for testing. Tether forwards your local Beacon to the phone as localhost (adb reverse), and browsers treat that as secure.

Ship it to real users

Deploy Beacon on HTTPS. It takes about 10 minutes with a Cloudflare Tunnel or Docker + Caddy: see beacon/docs/DEPLOY.md. Then add two lines to any of your apps (see the console's Setup tab). Keep Tether pointed at the deployed Beacon to test production pushes on your phone.

Agent skills (Claude Code, Codex, any SKILL.md agent)

plugin/ packages three Agent Skills with a zero-dependency
CLI (scripts/pushlab_cli.py) that finds this lab's keys by itself:

Skill For
tether-android-qa look โ†’ act โ†’ verify on a phone, Maestro/Tether flows, logcat, perf budgets, screen recording
beacon-push send pushes, digest bursts, fallback to ntfy/Bark/Gotify/Apprise, delivery stats
push-qa-e2e send via Beacon โ†’ assert it shows on the phone โ†’ tap โ†’ verify, with video evidence
# Claude Code
/plugin marketplace add juw12/projects
/plugin install push-lab@juw12-projects

# other agents: copy apps/pushlab/plugin/skills/* into the agent's skills folder
# (e.g. ~/.codex/skills/ or .claude/skills/), or use `npx skills add juw12/projects`

The marketplace file is /.claude-plugin/marketplace.json. Tether's MCP
server additionally speaks mobile-mcp's tool names, so mobile-mcp
prompts work against it too.

Built on open source

Project Used for
scrcpy (Apache-2.0) Tether HD: 30 fps H.264 + instant input
Maestro (Apache-2.0) Tether imports/exports Maestro YAML flows
cloudflared (Apache-2.0) Beacon "Go live": public HTTPS in one click
ntfy (Apache-2.0) Beacon channel: ntfy app topics
Apprise (BSD-2) Beacon channel: Telegram/Slack/Discord/emailโ€ฆ
Bark (MIT) Beacon channel: native iPhone pushes (bark-server API v2)
Gotify (MIT) Beacon channel: self-hosted push server + Android app
Gatus (Apache-2.0) uptime checks โ†’ Beacon alerts via /v1/hooks/gatus
SoloPi (Apache-2.0) metric set for Tether's perf tools (startup, memory, jank, CPU)
Perfetto (Apache-2.0) Tether system traces (perf_trace_start/stop), opened in ui.perfetto.dev
LeakCanary (Apache-2.0) memory-leak results Tether reads from logcat (assert_no_leaks) โ€” your debug build includes it
Midscene.js (MIT) Tether imports its YAML scripts (aiAct, aiTap, aiAssert, aiWaitFor โ€ฆ)
STF (Apache-2.0) / lamda the device-farm idea behind --all / /api/flow/run-all (one flow, every phone, in parallel)
Novu (MIT) the ideas behind Beacon's categories + preferences, templates and multi-step workflows (re-implemented, no Novu code)
android-emulator-runner (Apache-2.0) CI template
mobile-mcp (Apache-2.0) tool names/arguments Tether's MCP server is compatible with
Agent Skills format the plugin/ skills pack
Ollama (MIT) or any OpenAI-compatible server optional Tether AI steps
ARTEMIS (Apache-2.0) optional engine for Tether AI steps (Flash/Pro agents); its "explore, then write deterministic tests" mindset in the QA skill

All are optional downloads or optional pip installs โ€” Beacon and Tether stay zero-dependency Python.

What's verified