Outsider Stage 0.5
실제 봉인된 Outsider Stage 0.5 개입 체인을 재생하고 검증합니다
UniFi Protect용 자체 호스팅 알람 패널, 벽 태블릿 PIN 키패드와 입·출입 지연 기능
A self-hosted alarm panel for UniFi Protect, with a PIN keypad on a wall tablet, entry and exit delays, per-person PINs and alerts to Slack, ntfy, Telegram and Signal.
보안TypeScript · JavaScriptGitHub @FelixLeChat온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Self-hosted alarm panel for UniFi Protect: a PIN keypad on a wall tablet, entry and exit delays, per-person PINs and alerts to Slack, ntfy, Telegram or Signal.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗| Arming | Entry delay | Alarm |
|---|---|---|
| Overview | Audit log | Sensors |
|---|---|---|
Not affiliated with Ubiquiti. UniFi is a trademark of Ubiquiti Inc.
UniFi Alarm Manager handles the sensors, arming and notifications. What it doesn't have is the human side of an alarm at the door: someone walks in, a countdown starts, they type their own PIN, and the system knows who disarmed it. This app adds that layer and keeps UniFi for what it does well (sensors, cameras, the console).
ALARM with a camera snapshot in the alert.You need a UniFi console with Protect, a Linux host or container host on the same LAN, and a tablet for the wall.
git clone https://github.com/FelixLeChat/unifi-alarm-panel.git
cd unifi-alarm-panel
cat > .env <<EOF
ADMIN_TOKEN=$(openssl rand -hex 24)
WEBHOOK_SHARED_SECRET=$(openssl rand -hex 24)
SECRETS_KEY=$(openssl rand -base64 32)
EOF
docker compose up -d
Open http://<this-host>:3000/admin, sign in with ADMIN_TOKEN, and the setup wizard walks you through the console connection, notifications and the kiosk. Then point the tablet at http://<this-host>:3000/panel.
Keep a copy of SECRETS_KEY: without it, stored credentials have to be re-entered. Run one app container only, the alarm's timers live in that process.
On Proxmox VE, one command creates the container and installs everything: see docs/INSTALL.md, which also covers systemd on a bare box.
Arming lives on this server, not in UniFi. UniFi (Alarm Manager) is an event source and camera layer. It webhooks every sensor trip to this app, which owns the armed/disarmed state, the PINs, the audit log and the alert logic. Adopting sensors forces Alarm Manager into "Global" mode, where arm/disarm isn't reliably controllable through the API, and this design gives per-person accountability.
UniFi's own arm state is mirrored into this app when someone arms from the console, but it never overrides a local change. See docs/UNIFI.md.
One Next.js and TypeScript app serves the kiosk (/panel), the admin UI (/admin) and the API as a single long-lived Node process, with SQLite for state. A restart partway through a countdown still escalates to ALARM on the original schedule.
Open docs/architecture/how-it-works.html in a browser for an interactive version that traces routes and exports the diagram.
ALARM, weather strip.pnpm audit and CodeQL in CI./panel fullscreen in Fully Kiosk BrowserMost of this code was written with Claude Code, directed and reviewed by one person. The design (arming lives on this server, per-person PINs, the duress path, the shared PIN lockout) is the author's, and every change goes through the same gate as a contributor's: pnpm lint, pnpm typecheck, the Vitest unit suite, a Playwright suite that drives the real panel and admin UI in a browser, pnpm audit and CodeQL in CI, then a run on the author's own hardware. It has been the alarm at the author's house and office since September 2026.
If you review it, read it as you would any other codebase. If you contribute, AI_POLICY.md says what is expected of a pull request.
Read it as a site: felixlechat.github.io/unifi-alarm-panel. The same pages live in docs/.
| Doc | What it covers |
|---|---|
| INSTALL.md | Docker Compose and systemd installs |
| CONFIGURATION.md | Settings, alert channels and routing, upgrade notes, advanced keys |
| UNIFI.md | Sensor-event sources, arm-state sync, camera streaming |
| SIGNAL.md | Signal alerts through signal-cli-rest-api |
| OPERATIONS.md | Audit log, backups, watchdog, TLS |
| RUNBOOK.md | One page for whoever is on call |
| DEVELOPMENT.md | Repo layout, running it locally, faking UniFi |
Bug reports, ideas and pull requests are welcome. CONTRIBUTING.md says where to start and what a good pull request looks like. Questions and ideas go in Discussions, bugs in Issues. To report a vulnerability, see SECURITY.md.