A small set of scripts for interacting with Bluesky. Just something I put together because my mutuals asked for it.
Feel free to use, modify, or improve it as you like. Do not expect much support or updates, though.
- Clone the repository.
- Create a
.envfile in the root directory of the repository and add your credentials. You should use app passwords instead of your main password. - Create a virtual environment and activate it with
python3 -m venv envandsource env/bin/activate, respectively. - Install the requirements by running
pip install -r requirements.txt. - Run the script you want to use by running
python3 script.py [options].
get_profile.py: Retrieve the followers and follows lists (including their last activity) and save them to a CSV file. Be patient, as this may take a while and throw some errors. Use--verboseto see the progress.mass_unfollow.py: Unfollow all users that are inactive for a certain number of days (default: 60). You must provide a CSV file generated byget_profile.py.plot_profiles.py: Plot the followers and follows last activity data from the CSV file generated byget_profile.py.