开源软件名称(OpenSource Name):lots-of-things/pytrunk开源软件地址(OpenSource Url):https://github.com/lots-of-things/pytrunk开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):pytrunka simple little python tool to help automate following people on mastodon. This uses the lists compiled as part of the Mastodon Trunk project. These are curated lists with people who have signed up as interested in certain topics. Rather than going through manually, this script lets you check who on the lists are still active and how many followers they each have. prerequisitesYou need to have selenium set up and working in python3.
After these dependencies are installed, then you need to install a driver for automated web browsing. Check out chromedriver's setup page for an easy start. running the programfirst git clone this repository, then perform the following sequence of commands in the terminal. 1. save_listsrun 2. edit your listsinside lists.json there will be a bunch of list names. edit the file to remove any that you aren't interested in. 3. find_tootersrun 4. fill out setup.jsonthere is a json file with details for the last step. there are three filters MAX_N_FOLLOWERS, MIN_N_FOLLOWERS, MIN_FOLLOWING_OVER_FOLLOWER_RATIO to set. you also need to set the home domain for your personal mastodon account, and the location of the driver you want to use to load your automated browser (see selenium setup above). eg
NOTE: the script only counts followers up to 1000. everyone with more than 1000 is just set to 1000. 5. follow_tootersrun 6. have more friendsyou can stop whenever you like. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论