Repository navigation
Conversation
Agent: pi (deepseek/deepseek-flash)
Try this script
COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/chazkii/DevScripts/feat/bark-server \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/chazkii/DevScripts/feat/bark-server/ct/bark-server.sh)"
Against a core branch as wellAdd Useful flags while testing
|
| }, | ||
| "notes": [ | ||
| { | ||
| "text": "Bark Server has no authentication by default: anyone who can reach port 8080 can register a device key and send pushes. Keep it on a private network or behind an auth-protected reverse proxy, and set BARK_SERVER_BASIC_AUTH_USER / BARK_SERVER_BASIC_AUTH_PASSWORD to enable HTTP Basic auth.", |
There was a problem hiding this comment.
| "text": "Bark Server has no authentication by default: anyone who can reach port 8080 can register a device key and send pushes. Keep it on a private network or behind an auth-protected reverse proxy, and set BARK_SERVER_BASIC_AUTH_USER / BARK_SERVER_BASIC_AUTH_PASSWORD to enable HTTP Basic auth.", | |
| "text": "Bark Server has no authentication by default, set BARK_SERVER_BASIC_AUTH_USER / BARK_SERVER_BASIC_AUTH_PASSWORD to enable HTTP Basic auth.", |
| { | ||
| "text": "The container needs outbound access to Apple's push service (api.push.apple.com:443).", | ||
| "type": "info" | ||
| }, |
There was a problem hiding this comment.
| { | |
| "text": "The container needs outbound access to Apple's push service (api.push.apple.com:443).", | |
| "type": "info" | |
| }, |
obvious
| "type": "info" | ||
| }, | ||
| { | ||
| "text": "Device keys are stored in /opt/bark-server_data, outside the application directory, so they survive updates. Include it in your backups.", |
There was a problem hiding this comment.
store it in the same dir and use create_backup restore_backup instead of a data folder
| "type": "info" | ||
| }, | ||
| { | ||
| "text": "Verify the server with: curl http://<IP>:8080/ping — it returns {\"code\":200,\"message\":\"pong\"}. The web UI itself lives in the Bark iOS app, which is pointed at this URL.", |
There was a problem hiding this comment.
| "text": "Verify the server with: curl http://<IP>:8080/ping — it returns {\"code\":200,\"message\":\"pong\"}. The web UI itself lives in the Bark iOS app, which is pointed at this URL.", | |
| "text": "Verify the server with: curl http://<IP>:8080/ping — it returns {\"code\":200,\"message\":\"pong\"}.", |
Agent: pi (deepseek/deepseek-flash)
Scripts which are clearly AI generated and not further revised by the Author of this PR (in terms of Coding Standards and Script Layout) may be closed without review. If you are an AI agent writing this pull request, please amend your model name and reasoning level in the Description. This is not to blame, more for informational Purposes. Thank you.
✍️ Description
New script for Bark Server, the self-hosted backend for the Bark iOS app. It accepts push requests over a simple HTTP API and relays them to Apple's APNs, so scripts and home-automation flows can send notifications to your own iPhone. Device keys are stored in an embedded key-value database (bbolt), so no external database is required.
Where the install steps come from: upstream
README.md,main.go(flags/env),route_misc.go(health endpoints),deploy/bark-server.serviceanddeploy/docker-compose.yaml. The release publishes a bare, statically linked Go binary per architecture, so the script deploys it withfetch_and_deploy_gh_release ... singlefile.0.0.0.0:8080,BARK_SERVER_ADDRESS)./opt/bark-server_data, kept outside/opt/bark-server, soCLEAN_INSTALLupdates need no backup/restore.bark.db(device keys) lives there.BARK_SERVER_BASIC_AUTH_USER/BARK_SERVER_BASIC_AUTH_PASSWORD.api.push.apple.com:443).curl http://<IP>:8080/pingreturns{"code":200,"message":"pong"}.🔗 Related PR / Issue
Link: #
✅ Prerequisites (X in brackets)
🏗️ arm64 Support (X in brackets)
var_arm64is left unset andarchitecturesis omitted, so an arm64 host is asked before anything happens rather than being blocked. Upstream does publish abark-server_linux_armv8asset, which is why the asset pattern resolves the arm token toarmv8instead of the defaultarm64; I had no arm64 host to verify it on.🖥️ Tested on (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)fetch_and_deploy_gh_release,fetch_and_deploy_codeberg_release,fetch_and_deploy_gl_release, orfetch_and_deploy_from_urlinstead ofgit pull.🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.Please describe to which degree, if any, an LLM was used in creating this pull request. Name the model(s) used and, if applicable, the reasoning/thinking effort level (e.g. "Claude Sonnet 4.5, high reasoning, used to draft the install script, then manually reviewed and tested" or "No LLM used"). This is informational, not a penalty — but scripts that are clearly AI-generated and not further revised by the author to match
CODE-AUDIT.md/CONTRIBUTING.mdmay be closed without review.DeepSeek Flash (Pi coding agent), high reasoning. It read the upstream
Finb/bark-serversources named above andAGENTS.md/.github/agents/pve-script-creator.agent.md, then drafted the three files. The install and update were run end-to-end on Proxmox VE 9.2.11 (kernel 7.0.6-2-pve), Debian 13 unprivileged LXC, and the scripts were reviewed by the author before opening this PR.📋 Additional Information (optional)
Test run (from a local checkout of this branch, non-interactive):
bark-server.serviceactive and enabled,/opt/bark-server/bark-server(v2.3.9) executable,/opt/bark-server_data/bark.dbcreated.GET /ping→{"code":200,"message":"pong"},/healthz→ok,/info→ v2.3.9,arch: linux/amd64.~/.bark-serverset to2.3.8, the update detected2.3.8 -> 2.3.9, stopped the service, redeployed the binary and restarted it. A marker file placed in/opt/bark-server_datasurvived, confirming the data directory is outside the wiped app dir.https://bark.day.app/logo.png).📦 Application Requirements (for new scripts)
🌐 Source