{"id":15043670,"url":"https://github.com/pibooth/pibooth-qrcode","last_synced_at":"2025-04-15T00:30:36.082Z","repository":{"id":42174113,"uuid":"258607487","full_name":"pibooth/pibooth-qrcode","owner":"pibooth","description":"Pibooth plugin to generate a QR code to access to the final the picture","archived":false,"fork":false,"pushed_at":"2023-08-10T10:12:28.000Z","size":1951,"stargazers_count":8,"open_issues_count":5,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T12:21:19.615Z","etag":null,"topics":["photo-booth","photobooth","plugin","qrcode","raspberry-pi","raspberrypi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pibooth.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-24T19:41:01.000Z","updated_at":"2025-03-19T06:32:50.000Z","dependencies_parsed_at":"2024-09-25T01:50:20.126Z","dependency_job_id":"1139832e-095d-4055-a8f2-6d9404c4e1db","html_url":"https://github.com/pibooth/pibooth-qrcode","commit_stats":{"total_commits":34,"total_committers":4,"mean_commits":8.5,"dds":0.4411764705882353,"last_synced_commit":"781f528da8c1144b7c003d845b3301b3e8feaaac"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibooth%2Fpibooth-qrcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibooth%2Fpibooth-qrcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibooth%2Fpibooth-qrcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pibooth%2Fpibooth-qrcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pibooth","download_url":"https://codeload.github.com/pibooth/pibooth-qrcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248983808,"owners_count":21193649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["photo-booth","photobooth","plugin","qrcode","raspberry-pi","raspberrypi"],"created_at":"2024-09-24T20:49:24.702Z","updated_at":"2025-04-15T00:30:36.062Z","avatar_url":"https://github.com/pibooth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n==============\npibooth-qrcode\n==============\n\n|PythonVersions| |PypiPackage| |Downloads|\n\n``pibooth-qrcode`` is a plugin for the `pibooth`_ application.\n\nIt adds the display of a custom qrcode at the print and wait state\n\nInstall\n-------\n\n::\n\n    $ pip3 install pibooth-qrcode\n\nConfiguration\n-------------\n\nHere below the new configuration options available in the `pibooth`_ configuration.\n**The keys and their default values are automatically added to your configuration after first** `pibooth`_ **restart.**\n\n.. code-block:: ini\n\n    [QRCODE]\n    # URL which may be composed of variables: {picture}, {count}\n    prefix_url = https://github.com/pibooth/pibooth\n\n    # Foreground color\n    foreground = (255, 255, 255)\n\n    # Background color\n    background = (0, 0, 0)\n\n    # Optional text displayed close to the QR code\n    side_text =\n\n    # Offset (x, y) from location\n    offset = (20, 40)\n\n    # Location on 'wait' state: topleft, topright, bottomleft, bottomright, midtop-left, midtop-right, midbottom-left, midbottom-right\n    wait_location = bottomleft\n\n    # Location on 'print' state: topleft, topright, bottomleft, bottomright, midtop-left, midtop-right, midbottom-left, midbottom-right\n    print_location = bottomright\n\n.. note:: Edit the configuration by running the command ``pibooth --config``.\n\nQR code URL\n-----------\n\nThe URL linked to the QR code can be define dynamically using some state variables or configuration\noptions. Available variables to forge the URL are:\n\n- **picture** : current picture filename\n- **count** : current counters. You can access to values using ``{count.xxx}`` (see counters\n  in configuration menu)\n- **url** : current picture URL as defined in ``app.previous_picture_url`` attribute (this attribute is\n  generally defined by another plugin).\n\nFor instance, ``https://photos.google.com/share/AxFF4t56kiJiu89m/{picture}`` will generate::\n\n    https://photos.google.com/share/AxFF4t56kiJiu89m/2021-06-11-10-14-08_pibooth.jpg\n\nQR code locations\n-----------------\n\nHere is the possible QR code location at screen:\n\n.. image:: https://raw.githubusercontent.com/pibooth/pibooth-qrcode/master/docs/images/locations.png\n   :align: center\n   :alt: Locations\n\nExample\n-------\n\nHere is an example of the rendering you can get with this plugin on the wait screen:\n\n.. image:: https://raw.githubusercontent.com/pibooth/pibooth-qrcode/master/docs/images/screenshot.png\n   :align: center\n   :alt: Example screenshot\n\n.. --- Links ------------------------------------------------------------------\n\n.. _`pibooth`: https://pypi.org/project/pibooth\n\n.. |PythonVersions| image:: https://img.shields.io/badge/python-3.6+-red.svg\n   :target: https://www.python.org/downloads\n   :alt: Python 3.6+\n\n.. |PypiPackage| image:: https://badge.fury.io/py/pibooth-qrcode.svg\n   :target: https://pypi.org/project/pibooth-qrcode\n   :alt: PyPi package\n\n.. |Downloads| image:: https://img.shields.io/pypi/dm/pibooth-qrcode?color=purple\n   :target: https://pypi.org/project/pibooth-qrcode\n   :alt: PyPi downloads\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpibooth%2Fpibooth-qrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpibooth%2Fpibooth-qrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpibooth%2Fpibooth-qrcode/lists"}