# matrix-media-repo

> A self-hosted, open-source media repository for Matrix that handles uploads, thumbnails, and previews for large homeservers and hosting providers.

- **Category:** Media Server
- **Licence:** MIT
- **Latest version:** v1.3.8
- **Open source:** oss
- **Languages:** Go
- **Platforms:** Docker, Linux, Build from Source
- **Tags:** Redis, Media, Gdpr, Matrix, Federation, Home Server, Deduplication, Hacktoberfest, S3, Thumbnails, Horizontal scaling, Postgres, Media Repository, URL Previews, Matrix Media

## Description

matrix-media-repo (MMR) handles media for Matrix homeservers — uploads, downloads, thumbnails, and URL previews. It sits between a reverse proxy and homeserver software like Synapse or Dendrite. MMR deduplicates stored media and targets large homeservers or hosting providers. It supports S3-compatible storage as a preferred backend, with PostgreSQL required and optional Redis for horizontal scaling. The project provides Docker images, binary releases, and can be compiled from source. Features include rate limiting, media quarantine, archiving for GDPR compliance, and per-domain configuration.

## Links

- [Homepage](https://github.com/t2bot/matrix-media-repo)
- [Website](https://docs.t2bot.io/matrix-media-repo)
- [Docker](docker.io/turt2live/matrix-media-repo)
- [GitHub Repository](https://github.com/t2bot/matrix-media-repo)
- [Matrix Community Room](https://matrix.to/#/#media-repo:t2bot.io)
- [Changelog](https://github.com/t2bot/matrix-media-repo/blob/main/CHANGELOG.md)

---
Source: https://selfhost.directory/project/matrix-media-repo