stefanbohacek / fediverse-connections

A few Python scripts to explore your fediverse connections.

Home Page:https://stefanbohacek.com/blog/exploring-your-fediverse-connections/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A tinted screenshot of two charts generated by some of the scripts from this project.

Exploring your fediverse connections

These are the scripts made for my article about working with data exported from my tool for exploring fediverse connections.

How to use the scripts

You can follow along with my article, but in short:

  1. Visit data.stefanbohacek.dev/projects/fediverse and log in with your fediverse account (see list of supported platforms).
  2. Use the "Download your data" button to download a CSV file with your data and save it as connections.csv.
  3. Install dependencies.
pip install pandas matplotlib tldextract
  1. Run the connections.py script to generate a platforms.csv dataset with a breakdown of fediverse platforms by popularity of your connections' servers.
python connections.py
  1. Use the platforms.py script to generate a bar chart from platforms.csv. (See platforms.png inside the example-output folder.)
python platforms.py
  1. Make a copy of the connections.csv file called domains.csv and remove the connections and percentage columns.
  2. Run the domains.py script to generate domain-info.csv with dates of registration of each domain. Make sure you have whois available in your terminal.
python domains.py
  1. Use the domain-info.py script to generate a scatter plot chart from domain-info.csv.
python domain-info.py

BONUS: You can use the accounts.py script to download information about the number of accounts on each server.

python accounts.py

About

A few Python scripts to explore your fediverse connections.

https://stefanbohacek.com/blog/exploring-your-fediverse-connections/


Languages

Language:Python 100.0%