{"repo":"element-hq/matrix-content-scanner-python","free":true,"listed":false,"github":"https://github.com/element-hq/matrix-content-scanner-python","clone":"git clone https://github.com/element-hq/matrix-content-scanner-python.git","description":"A web service for scanning media hosted by a Matrix media repository","language":"Python","stars":25,"topics":["antivirus","matrix","media","python"],"license":"AGPL-3.0","category":"chat-messaging","readme_excerpt":"Matrix Content Scanner A web service for scanning media hosted on a Matrix media repository. Installation This project requires libmagic to be installed on the system. On Debian/Ubuntu: Then, preferably in a virtual environment, install the Matrix Content Scanner: Usage Copy and edit the sample configuration file. Each key is documented in this file. Then run the content scanner (from within your virtual environment if one was created): Where CONFIG FILE is the path to your configuration file. Docker This project provides a Docker image to run it, published as vectorim/matrix-content-scanner . To use it, copy the sample configuration file into a dedicated directory, edit it accordingly with your requirements, and then mount this directory as /data in the image. Do not forget to also publish the port that the content scanner's Web server is configured to listen on. For example, assuming the port for the Web server is 8080 : API See the API documentation for information about how clients are expected to interact with the Matrix Content Scanner. Migrating from the legacy Matrix Content Scanner Because it uses the same APIs and Olm pickle format as the legacy Matrix Content Scanner, this project can be used as a drop-in replacement. The only change (apart from the deployment instructions) is the configuration format: the server section is renamed web scan.tempDirectory is renamed scan.temp directory scan.baseUrl is renamed download.base homeserver url (and becomes optional) scan.","default_branch":null,"files":null,"tree":[],"storefront":"/r/element-hq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/element-hq/matrix-content-scanner-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}