Skip to content

emmecola/follower-language-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Follower Language Analyzer

Python License Ask DeepWiki

The script detects the favorite language of your most active followers on Mastodon and Bluesky. A follower is considered as "active" if he/she posted on average 1 post/month in the last 6 months.

Configuration

Configure your script by setting the variables:

  • MASTODON_ACCESS_TOKEN and MASTODON_API_BASE_URL (if you want to analyze your Mastodon followers)
  • BLUESKY_USERNAME and BLUESKY_PASSWORD (if you want to analyze your Bluesky followers)

You can obtain a Mastodon access token via Preferences > Development > New application

Dependencies

The script requires the library langdetect to detect the language of each post. Libraries mastodon and atproto are required to retrieve posts from Mastodon and Bluesky, respectively.

Usage

python analyzer.py mastodon
python analyzer.py bluesky
python analyzer.py both

About

MIRROR OF https://codeberg.org/emmecola/follower-language-analyzer - The script detects the favorite language of your most active followers on Mastodon and Bluesky

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages