You know how many servers are federated with your Pleroma server but you don't know much about them. What software are they running? How many users? Are they still alive? These Python scripts will help you to get all that information and much more! https://libretux.com
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
spla 4400fcca8e Updated README.md 4 månader sedan
README.md Updated README.md 4 månader sedan
db-setup.py new table columns 4 månader sedan
pleroma-fed.py Multiprocessing suport! 4 månader sedan
requirements.txt Added requirements.txt 10 månader sedan
setup.py Updated db-setup.py & setup.py 11 månader sedan

README.md

pleroma-fed

Your Pleroma server’s known fediverse

You know how many servers are federated with your Pleroma server but you don’t know much about them. What software are they running? How many users? Are they still alive? These Python scripts will help you to get all that information and much more!

Dependencies

  • Python 3
  • Postgresql server
  • Everything else at the top of pleroma-fed.py!

Usage:

Within Python Virtual Environment:

  1. Run ‘db-setup.py’ to create needed database and tables. All collected data will be written there. You can use software like Grafana to visualize your fediverse metrics!

  2. Run ‘setup.py’ to get your Pleroma’s access token of an existing user. It will be saved to ‘secrets/secrets.txt’ for further use.

  3. Run ‘pleroma-fed.py’ to start collecting all information about your Pleroma server’s federated servers, their stats, if they are alive etc.

Once it finished, will post some of collected stats to your Pleroma server!

Note: install all needed packages with ‘pip install package’ or use ‘pip install -r requirements.txt’ to install them.

11.2.2020 New release with multiprocessing support!

- db-setup.py will ask you how many processes you want pleroma-fed.py will use.
- db-setup.py will add new table and columns to your fediverse database