Skip to content

Privacy friendly data visualization tool for mastodon

License

Notifications You must be signed in to change notification settings

str00bs/fediviz

Repository files navigation

πŸ“Š FediViz

Build Status Is a free, open-source and privacy first visualisation tool, that is purpose-built for Mastodon utilizing user exports.

  • πŸ‘± Account overview with highlights & stats from your page.
  • πŸ“‘ Bookmarks page with granular breakdown of available stats & metrics
  • πŸ‘ Likes (favourites) page with granular breakdown of available stats & metrics
  • βœ‰οΈ Posts (including boosts) page with granular breakdown of available stats & metrics

πŸ“‹ Preface

Please have a look at the supporting documents ‡️

βš™οΈ Setup

This section contains steps for how to setup and run the application in various cases.

Local

  1. Install dependencies: poetry install
  2. Copy configuration files
    • mkdir src/.streamlit && cp dist.config.toml src/.streamlit/config.toml
    • cp dist.env src/.env
  3. Copy markdown pages:
    • cp LICENSE.md src/fediviz/static/LICENSE.md
    • cp README.md src/fediviz/static/README.md
    • cp PRIVACY.md src/fediviz/static/PRIVACY.md

Docker

  1. Build image: docker build . --tag=fediviz:local
  2. Run image: docker run fediviz:local

Production

The recommended way of deployment, is using the provided prod.docker-compose.yml which uses traefik (with docker detection & LetsEncrypt) for SSL.

You can do this by

  1. Cloning the repository: git clone https://github.com/str00bs/fediviz.git && cd fediviz
  2. Copying over the compose file: cp prod.docker-compose.yml docker-compose.yml
  3. And running it docker-compose up -d

Please note that this is the primary method of deployment, feel free to do it differently or suggest other alternatives via PRs and issues.

πŸ§‘β€πŸ”¬ Testing

These instructions will be expanded upon by release 0.7.0 - Testable App

🧰 Resources

Resources provided for the repository and application.