This Dashboard seeks to make retrieving data from across different mastodon servers easier for the purposes of research. The dashboard currently processing these API's and visualize them in the frontend.
- Instance - Get Mastodon Instances API
- Status - Search by keyword API
- Status - Most recent by hashtag API
- Most recent for instance API
- Status - Single status by Id API
- Accounts - Search by keyword
- Accounts - Single Account by Id
- Get Hashtag metadata
- Backend: A flask application that leverages the official mastodon api to retrieve data and manipulate the data.
- Frontend: A vue.js app that makes it easier for a user to perform a search query and observe the results.
In order to run the project, please clone to project to your local machine. Then separately run the frontend and backend of the project as below.
- Frontend:
- Check your terminal into the frontend folder.
- Install necessary npm packages. Run
npm i
. - Serve your vue app by running
npm run serve
.
- Backend:
- Check your terminal into the backend folder.
- Install necessary pip packages. Run
pip install -r requirements.txt
. - Run your flask app by running
flask run --port <desired_port_number>
.
- You can access the API documentation here
- The Mastodon dashboard is live on osome mastodon