https://github.com/meain/mmm
Matrix media manager
https://github.com/meain/mmm
Last synced: 23 days ago
JSON representation
Matrix media manager
- Host: GitHub
- URL: https://github.com/meain/mmm
- Owner: meain
- License: apache-2.0
- Created: 2022-02-20T13:07:09.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-20T14:45:10.000Z (about 3 years ago)
- Last Synced: 2025-02-09T00:13:50.789Z (3 months ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mmm: matrix media manager
> Perpetual WIP project
*Use matrix as storage and get publicly accessible urls*
### What is going on
When you send an image/video/file on matrix, matrix does give you a link which looks something like `https://matrix.org/_matrix/media/r0/download/matrix.org/` at which you can download the media that you shared. This is available publicly if your room is public (you can keep the room unlisted). Now, we take this id and push it through a url shortner and bam, you have a short url to a resource.
The best part is that upload, storage and auth are handled by matrix clients. We just do some redirections. :^)
*In fact the image that you seen in this README is added this way*
> Use [meain/sirus](https://github.com/meain/sirus) for automatically redirecting everything with a prefix. Check "sub" mode there.