No description
Find a file
astravexton e041d00226
All checks were successful
/ build (push) Successful in 1m39s
Fix auth (again)
2025-10-08 14:30:32 +01:00
.forgejo/workflows Update build.yml 2025-09-30 19:36:00 +01:00
bsky Fix auth (again) 2025-10-08 14:30:32 +01:00
.gitignore add files 2025-06-05 07:22:57 +01:00
Dockerfile add Dockerfile 2025-06-19 11:41:32 +01:00
go.mod add files 2025-06-05 07:22:57 +01:00
go.sum add files 2025-06-05 07:22:57 +01:00
main.go add embed URL 2025-09-26 09:34:25 +01:00
README.md Update README.md 2025-09-30 19:36:07 +01:00

bsky2tg

bsky2tg will mirror posts from your Bluesky account to a Telegram channel through a bot. It supports creation and deletion of posts on Bluesky but not the other way.


Usage

Create a .env file with the following:

TG_TOKEN=
TG_CHANNEL_ID=
BSKY_HANDLE=
BSKY_PASSWORD=

If you use a different Telegram bot endpoint, you can set it with

TG_API_ENDPOINT=https://api.domain.com/bot%s/%s

Podman

podman run -it --name bsky2tg_<profile> \
  --env-file /path/to/.env \
  git.zio.sh/astra/bsky2tg:latest

Or without .env file:

podman run -it --name bsky2tg_<profile> \
  --env TG_TOKEN= \
  --env TG_CHANNEL_ID= \
  --env BSKY_HANDLE= \
  --env BSKY_PASSWORD= \
  git.zio.sh/astra/bsky2tg:latest

Bash

source .env
./bsky2tg