Git Product home page Git Product logo

fediverse-connections's Introduction

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

fediverse-connections's People

Contributors

stefanbohacek avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.