This project is used to collect Mastodon data from different servers and save them as gzip file at the end of the day.
- Backend: A flask application that leverages the [mastodonpy) to retrieve data and manipulate the data.
To run the project, you have to clone the project. Edit the mastodon_servers.json and add as below json.
{
"mastodon_servers":[
{
"access_token":"XXXX",
"api_base_url":"https://mastodon.social"
},
{
"access_token":"XXX",
"api_base_url":"https://mastodon.cloud"
},
{
"access_token":"XXX",
"api_base_url":"https://genomic.social"
}
]
}
Then,
- Install necessary pip packages. Run
pip install -r requirements.txt
. - Run your flask app by running
flask run --port <desired_port_number>
.