Skip to content

Commit 20c9e5c

Browse files
committed
Add README.md
1 parent e0e47d6 commit 20c9e5c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/cloudflare_deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# See https://github.com/cloudflare/wrangler-action for more details on how to use this action.
12
name: Deploy Worker
23
on:
34
push:

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# tailscale-webhook-receiver
2+
3+
This is a simple webhook receiver for [Tailscale](https://tailscale.com/) that forwards notifications to [Pushover](https://pushover.net). It could be easily modified to support other notification services.
4+
5+
## Usage
6+
7+
This assumes you already have accounts with Tailscale and Pushover.
8+
9+
Click the button below to deploy to Cloudflare Workers.
10+
11+
You will need to configure the following secrets in the newly created Github repository:
12+
- `TAILSCALE_WEBHOOK_SECRET`: Your Tailscale webhook secret. You can find this in the [Tailscale admin console](https://login.tailscale.com/admin/settings). Note: You will need to set an temporary value like "test" first to obtain the Cloudflare Worker application URL. Once you have this URL you can set the real secret in the Github repository secrets.
13+
- `PUSHOVER_USER_KEY`: Your Pushover user key. You can find this in the [Pushover dashboard](https://pushover.net/).
14+
- `PUSHOVER_APP_TOKEN`: Your Pushover app token. You can find this in the [Pushover dashboard](https://pushover.net/).
15+
- `CF_API_TOKEN`: Your Cloudflare API token. You can find this in the [Cloudflare dashboard](https://dash.cloudflare.com/profile/api-tokens).
16+
- `CF_ACCOUNT_ID`: Your Cloudflare account ID. You can find this in the [Cloudflare dashboard](https://dash.cloudflare.com/), if you navigate to the Workers section it should be on the right-hand side.
17+
18+
19+
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/dwin/tailscale-webhook-receiver)

0 commit comments

Comments
 (0)