https://github.com/str00bs/fediviz
Privacy friendly data visualization tool for mastodon user exports
https://github.com/str00bs/fediviz
charts data-visualization fedi graphs mastodon privacy-friendly python streamlit
Last synced: about 1 year ago
JSON representation
Privacy friendly data visualization tool for mastodon user exports
- Host: GitHub
- URL: https://github.com/str00bs/fediviz
- Owner: str00bs
- License: mit
- Created: 2025-02-04T10:45:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-12T18:41:58.000Z (about 1 year ago)
- Last Synced: 2025-02-12T19:31:11.548Z (about 1 year ago)
- Topics: charts, data-visualization, fedi, graphs, mastodon, privacy-friendly, python, streamlit
- Language: Python
- Homepage:
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ๐ FediViz
[](https://ci.cloud.adapdr.me/str00bs/fediviz)
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 โคต๏ธ
- [๐ค Contribution guide](./CONTRIBUTING.md)
- [๐งโโ๏ธ License agreement](./LICENSE.md)
- [๐ก๏ธ Privacy statement](./PRIVACY.md)
- [โจ Asset credits](./CREDITS.md)
## โ๏ธ 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.
- IDE Configurations: [VSCode](resources/.vscode)
- Conventional Commits: [CC Docs](https://www.conventionalcommits.org/en/v1.0.0/)
- Extension: [CC Ext](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits)
- Graphing Framework: [Streamlit](https://docs.streamlit.io/)
- Interface Components: [Streamlit Extras](https://extras.streamlit.app/)
- Graphing Components [Plotly Dash](https://dash.plotly.com/)
- Web Requests: [Requests](https://requests.readthedocs.io/en/latest/)
- Settings Management: [Pydantic Settings](https://docs.pydantic.dev/latest/concepts/pydantic_settings/)
- Code Quality: [Deepsource](https://docs.deepsource.com/docs/introduction)