Repository navigation
Conversation
Agent: pi (deepseek/deepseek-flash)
Contributor
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
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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