Post

Bark Server

Bark Server is the self-hosted backend for the Bark iOS app. It receives push requests over a simple HTTP API and forwards them to Apple's APNs, so scripts and home-automation flows can send custom notifications to your own iPhone. Device keys are stored locally in an embedded key-value database, so no external database is required.

Bark Server
In Development
This script is currently in active development and may be unstable or incomplete. Use in production environments is not recommended.

Installation

Default install:

1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/DevScripts/main/ct/bark-server.sh)"
CPU: 1 cores RAM: 256 MB Disk: 2 GB OS: Debian 13

Notes

Bark Server has no authentication by default, set BARK_SERVER_BASIC_AUTH_USER / BARK_SERVER_BASIC_AUTH_PASSWORD to enable HTTP Basic auth.
Verify the server with: curl http://[IP]:8080/ping — it returns {"code":200,"message":"pong"}.

Web Interface

Port: 8080

Source code
Loading...