Skip to main content

A matrix client for the photOS DIY photoframe

Project description

matrix-photos

Latest PyPI version CI build status

This aims to be a simple matrix client for the photOS DIY photoframe.

Matrix is an open standard for secure, decentralised, real-time communication.

For photOS please checkout https://github.com/avanc/photOS for more information.

This client can be used to transfer files (pictures/photos) to the photoframe with end to end encryption support. The idea is, that trusted users just can create a matrix room and invite the photoframe matrix user. The photoframe user will automatically join this room and download all media sent to this room (You can specify which mimetypes are allowed).

Configuration

There is a config-example.yml in this project which should be mostly self-explaining.

It is possible to add textmessages to the images. This is done with the tool 'convert'. The client automatically adds the first message after you post media content to the latest image when write_text_messages is set to true.

You can also optionally define an admin_user which can run some administration commands on the photoframe. If you define an admin user then just send !help from the specified user to the chatroom and the client sends you a list of available commands.

Running

Just create a virtual environement install the requirements and you can run the client.

    python -m matrix_photos -c /path/to/config.yml

Development

If you want to develop or test the client, there is a docker-compose file in the docker directory which starts a matrix synapse homeserver, a postgres database, an element matrix client and pgadmin if you want to check the database.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matrix-photos-0.0.4.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

matrix_photos-0.0.4-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file matrix-photos-0.0.4.tar.gz.

File metadata

  • Download URL: matrix-photos-0.0.4.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for matrix-photos-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1c45e2f7f44c6e01c433e5d2ce20040e5de86a45f168767e924ef365c0ad16fc
MD5 21d6c5b31a198d07fbd7147a17869892
BLAKE2b-256 b62c47456bceb3a747915abf3863182616bd001009b39268b94900167f2df8ad

See more details on using hashes here.

File details

Details for the file matrix_photos-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: matrix_photos-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for matrix_photos-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 08911a4dcf061ee0e0b324bf0b93c92ec239c410e2ebbb8b95f16903ea2d5913
MD5 3e9d161fddd0c08792c715a4cadcc411
BLAKE2b-256 9a054ceefa70971cba8b03fbe2fb5aae6b156b723419972a581afa0630effd34

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page