Skip to content

Grab the data from N mastodon streams and provide a central mastodon streamer with a simple token based authentication.

Notifications You must be signed in to change notification settings

osome-iu/OSoMeMastodonStreamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastodon Streamer

This project is used to collect Mastodon data from different servers and save them as gzip file at the end of the day.

Project Structure

  • Backend: A flask application that leverages the [mastodonpy) to retrieve data and manipulate the data.

Packages

How to run the project.

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,

  1. Install necessary pip packages. Run pip install -r requirements.txt.
  2. Run your flask app by running flask run --port <desired_port_number>.

About

Grab the data from N mastodon streams and provide a central mastodon streamer with a simple token based authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages