This project uses Mastodon.py to collect data from different Mastodon servers and save them to json files by date.
- get conda installed if not https://docs.anaconda.com/free/miniconda/#quick-command-line-install
- create conda venv
conda env create -p ./<myvenv> -f environment.ymlconda activate ./<myvenv>pip install -r requirements.txt
- make a copy of
config.yml.templateandmastodon_servers.json.template, fill out the contents accordingly. - run
python streamer.pysaves to{base_folder}/{yyyy-mm}/{domain}_{yyyy-mm-dd}.jsonpython stream_new_users.pysaves to{base_folder}/{yyyy-mm}/new_users/{domain}_{yyyy-mm-dd}_new_users.json
*optional backup bash script uses python package yq that wraps around jq
sudo apt-get install jq pip3 install yq