add README.md
This commit is contained in:
parent
b052d69df7
commit
b815d1f780
1 changed files with 36 additions and 0 deletions
36
README.md
Normal file
36
README.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
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:
|
||||||
|
|
||||||
|
```properties
|
||||||
|
TG_TOKEN=
|
||||||
|
TG_CHANNEL_ID=
|
||||||
|
BSKY_HANDLE=
|
||||||
|
BSKY_PASSWORD=
|
||||||
|
```
|
||||||
|
|
||||||
|
To run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
podman run -it --name bsky2tg_<profile> \
|
||||||
|
--env-file /path/to/.env \
|
||||||
|
git.zio.sh/astra/bsky2tg:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Or without `.env` file:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
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
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue