Skip to content
Projects

cwxiaos/bark-worker has 715 GitHub stars and 479 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 18:45 UTC. Last push 2026-09-12.

How these counts are measured

What you can do

  • Path based parameters resolve
  • Easy to deploy, Cheap to use and Convenient to manage

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Bark Server on Cloudflare Worker

Developer Tools

README.md

Original

Bark-Worker

License: GPL v3

English | 中文文档

[!NOTE] KV Version will probably not support MCP due to limited quota, but if the MCP route can be optimized to some extent, there may have MCP support in KV version.

[!NOTE] Batch Push has the highest priority, if device_keys is specified and not empty, device_key will be ignored, in both V1 and V2 APIs.

Bark-Worker is a Bark-Server implenmention on Cloudflare Worker. It provides privacy-aware users with a cheap and private bark backend.

What is Bark?

Bark is an iOS App which allows you to push customed notifications to your iPhone.

[!NOTE] A domain is required if worker.dev is unavailable in your country/region

Features

  • Full Bark-Server APIs support
    • register
    • ping
    • healthz
    • info
    • push
  • Path based parameters resolve
  • Easy to deploy, Cheap to use and Convenient to manage

Setup

[!NOTE] Select one, D1 or KV Version are both available. D1 Version is recommended for its higher usage than KV Version

Follow the instructions for D1 Version

[!NOTE] The Cloudflare API Token must have D1 permission.

Deploy to Cloudflare Workers

Or manually deploy

Refer to Setup Guide

Cloudflare D1 Version

Create a Worker and a D1 Database, bind D1 database to Worker with name database

Cloudflare KV Version

Create a Worker and a KV Storage, bind KV Storage to Worker with name database

Tips

  • Multi Device Key to one Device
  • Device Key Alias
  • D1 Database Manage in Console
  • etc.

Refer to Tips