Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.32 KB

File metadata and controls

19 lines (14 loc) · 1.32 KB

Skypy

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.

How to Run

  1. Clone the repository.
  2. Use Python 3.10 or newer.
  3. Create a .env file in the root directory of the repository and add your credentials. You should use app passwords instead of your main password.
  4. Create a virtual environment and activate it with python3 -m venv env and source env/bin/activate, respectively.
  5. Install the requirements by running pip install -r requirements.txt.
  6. Run one of the scripts below with python <script_name>.py [options].

Available Scripts

  • get_profiles.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 --verbose to 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 by get_profiles.py.
  • plot_profiles.py: Plot the followers and follows last activity data from the CSV file generated by get_profiles.py.