Skip to main content

A matrix client for the photOS DIY photoframe

Project description

matrix-photos

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 pictures send to this room.

Configuration

There is a config-example.yml in this projects 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 define 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.1.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matrix_photos-0.0.1-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: matrix-photos-0.0.1.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for matrix-photos-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ad7157e944ac0fb8c49bcb703ef326cc17558e44351fc95a152118d4a40c2ec8
MD5 84a54fa8fda470749252edab8b57069c
BLAKE2b-256 1e7af44999ccf358ff4442a36ce07d1fe4fa3421eb61124a4ae7824483f91de1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: matrix_photos-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for matrix_photos-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3aa08530d55e9745f3e7674f70abfe8de8878c24a5dce1373a142dc148b67ba6
MD5 0016f61cfb64c2f8212b0f6a4c5c7bcf
BLAKE2b-256 e4dad95250250247ac256023868e3cf86fe3eaaf5c92db2e68f483920894c4d5

See more details on using hashes here.

Supported by

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