From f5a9c661ea26989a073967e33ec6e5f5cd46779e Mon Sep 17 00:00:00 2001 From: dataprolet <1+dataprolet@noreply.localhost> Date: Mon, 11 May 2026 12:08:42 +0200 Subject: [PATCH] Add README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ae50dc5 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Bluesky Unfollower + +Based on this [script](https://gist.github.com/dataprolet/b27c2fe1912035da6bfd61ecf18c55b1). + +This is a simple Python script to automatically unfollow inactive users on Bluesky and get a notification about it in a Telegram channel. + +## Getting started + +1. Clone the repository: + ```git clone https://git.dataprolet.de/dataprolet/Bluesky-Unfollow-Inactive.git``` +2. Install Python modules: + ```pip install atproto python-telegram-bot``` +3. Fill in the variables +4. Create a Telegram bot +5. Run the script using ```--dry``` or ```--prod``` and ```--days {amount of days}``` + +### Variables +```handle```: Your Bluesky handle like _user.bsky.social_ +```password```: Your [Bluesky app password](https://bsky.app/settings/app-passwords) +```BOT_TOKEN```: Your Telegram bot BOT_TOKEN +```CHAT_ID```: Your Telegram bot's chat ID + +The chat ID can be retrieved by opening https://api.telegram.org/bot{BOT_TOKEN}/getUpdates in a browser, send a message to the bot and get chat.id from the returning JSON. \ No newline at end of file