Skip to content

Monitors Bluesky posts (using Jetstream) from configured accounts and sends them to Discord webhooks in embed form

License

Notifications You must be signed in to change notification settings

Notexe/BlueskyDiscordFeed

Repository files navigation

BlueskyDiscordFeed

Monitors Bluesky posts from configured accounts and sends them to Discord webhooks in embed form

Example:

Discord_FtOc5txjqa

Running

Requires NodeJS

  1. npm install
  2. npm start

As a systemd service:

/etc/systemd/system/blueskydiscordfeed.service

[Unit]
Description=Monitors Bluesky posts from configured accounts and sends them to a Discord webhook 
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
WorkingDirectory=/path/to/BlueskyDiscordFeed
ExecStart=/usr/bin/node /path/to/BlueskyDiscordFeed/index.js
Restart=on-failure
RestartSec=3s
[Install]
WantedBy=multi-user.target

As a Docker compose file:

services:
  blueskydiscordfeed:
    image: ghcr.io/notexe/blueskydiscordfeed:latest
    volumes:
      - /data:/config

config.json example:

{
    "bluesky": {
        "service": "https://public.api.bsky.app",
        "jetstreamServices": [
            "jetstream1.us-east.bsky.network",
            "jetstream2.us-east.bsky.network",
            "jetstream1.us-west.bsky.network",
            "jetstream2.us-west.bsky.network"
        ],
        "accountHandles": [
            "bsky.app"
        ]
    },
    "webhookURLs": [
        "https://discord.com/api/webhooks/id/token"
    ]
}

About

Monitors Bluesky posts (using Jetstream) from configured accounts and sends them to Discord webhooks in embed form

Topics

Resources

License

Stars

Watchers

Forks

Packages