Skip to content

tailscale/bsky-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bsky-webhook

status: experimental

Sends Slack webhook alerts for Bluesky messages using Jetstream.

Running

export BSKY_APP_PASSWORD=asdf-asdf-asdf
export SLACK_WEBHOOK_URL=https://tailscale.slack.com/...
go run ./cmd/bsky-webhook/ -bsky-handle me.example.com -watch-word "pangolin"

Configuration

These configuration options are available as command-line flags and environment variables. Those without defaults are required, unless explicitly marked as optional.

Here's the complete table based on the provided Go code:

Command-line flag Environment variable Default value Description
-addr JETSTREAM_ADDRESS Rotation of all public jetsream servers The jetstream hostname to connect to.
-bsky-handle BSKY_HANDLE none The Bluesky handle of the account that will make API requests.
-bsky-app-password BSKY_APP_PASSWORD none The Bluesky app password for authentication.
-slack-webhook-url SLACK_WEBHOOK_URL none The Slack webhook URL for sending notifications.
-bsky-server-url BSKY_SERVER_URL "https://bsky.social" The Bluesky PDS server to send API requests to URL.
-watch-word WATCH_WORD "tailscale" The word to watch out for; may support multiple words in the future.
-secrets-url SECRETS_URL none The address of a setec server to fetch secrets from (optional)
-secrets-prefix SECRETS_PREFIX "" A prefix to prepend to secret names fetched from setec (optional)
-ts-hotname TS_HOSTNAME "" A Tailscale hostname where the server should run (optional)
-ts-state-dir TS_STATE_DIR none Where Tailscale state should be stored, if -ts-hostname is set (optional)

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages