Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Bark Server on Cloudflare Worker

License

NotificationsYou must be signed in to change notification settings

cwxiaos/bark-worker

Repository files navigation

License: GPL v3

English |中文文档

Note

Device token may change, the previous way to use multi-key or key alias may be unavailable, refer toTips for more details.

Note

Batch Push has the highest priority, ifdevice_keys is specified and not empty,device_key will be ignored, in both V1 and V2 APIs.

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

What isBark?

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 toSetup Guide

Cloudflare D1 Version

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

Cloudflare KV Version

Create a Worker and a KV Storage, bind KV Storage to Worker with namedatabase

Tips

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

Refer toTips


[8]ページ先頭

©2009-2025 Movatter.jp