https://github.com/txchen/xbrowsersync-cfw
xBrowserSync API implementation using cloudflare worker
https://github.com/txchen/xbrowsersync-cfw
Last synced: 4 months ago
JSON representation
xBrowserSync API implementation using cloudflare worker
- Host: GitHub
- URL: https://github.com/txchen/xbrowsersync-cfw
- Owner: txchen
- License: mit
- Created: 2021-06-06T14:39:55.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-19T18:53:11.000Z (almost 5 years ago)
- Last Synced: 2025-04-27T11:02:37.123Z (about 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 21
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_MIT
Awesome Lists containing this project
README
# xBrowserSync API implementation using Cloudflare worker and KV
This is a simple implementation of the [xBrowserSync API](https://github.com/xbrowsersync/api) using Cloudflare workder.
It uses Cloudflare KV as storage.
## Deployment
- Create a Cloudflare worker project
- Create a KV namespace, and add KV binding in the worker project, name it as `XBSKV`
- Paste the content of [index.js](./index.js) into worker, modify the settings and then save and deploy
- Profit
## Usage
Point your xBrowserSync plugin/app to your worker URL