{"id":16779725,"url":"https://github.com/colin-nolan/remote-eink","last_synced_at":"2026-01-03T09:02:04.992Z","repository":{"id":37036642,"uuid":"264303853","full_name":"colin-nolan/remote-eink","owner":"colin-nolan","description":"A server that can be used to remotely control a display, such as eink screen","archived":false,"fork":false,"pushed_at":"2023-02-16T06:53:15.000Z","size":7090,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T06:28:33.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colin-nolan.png","metadata":{"files":{"readme":"README.md","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-05-15T21:37:01.000Z","updated_at":"2022-06-19T18:03:50.000Z","dependencies_parsed_at":"2025-01-23T06:37:13.024Z","dependency_job_id":null,"html_url":"https://github.com/colin-nolan/remote-eink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colin-nolan%2Fremote-eink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colin-nolan%2Fremote-eink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colin-nolan%2Fremote-eink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colin-nolan%2Fremote-eink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colin-nolan","download_url":"https://codeload.github.com/colin-nolan/remote-eink/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243924021,"owners_count":20369638,"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":[],"created_at":"2024-10-13T07:32:01.197Z","updated_at":"2026-01-03T09:01:59.935Z","avatar_url":"https://github.com/colin-nolan.png","language":"Python","readme":"![Tests](https://github.com/colin-nolan/remote-eink/actions/workflows/main.yml/badge.svg)\n[![Code Coverage](https://codecov.io/gh/colin-nolan/remote-eink/branch/master/graph/badge.svg)](https://codecov.io/gh/colin-nolan/remote-eink)\n\n# Remote eInk\n_A server that can be used to remotely control a display, such as eink screen._\n\n## OpenAPI\nThe OpenAPI specification can be viewed here:\n[https://colin-nolan.github.io/remote-eink/swagger-ui/](https://colin-nolan.github.io/remote-eink/swagger-ui/)\n\n\n## Troubleshooting\n### RPi.GPIO gcc10 issue\nA generic error when compiling [RPi.GPIO](https://pypi.org/project/RPi.GPIO/) may be\n[caused by a change in gcc10](https://forum.manjaro.org/t/pip-install-rpi-gpio-fail/25788/5):\n``` \ncollect2: error: ld returned 1 exit status\nerror: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1\n```\nIt can be avoided by setting `CFLAGS`, e.g.:\n```\nCFLAGS=\"-fcommon\" poetry install\n```\n\n\n## Development\n### Implementation\n`FlaskApp` app:\n- Takes multiple `DisplayController` instances.\n- Is associated to `AppData`.\n- `AppData` stores the `DisplayController` instances. It provides a `CommunicationPipe` through which write operations\n  to the data _must_ be made in requests (as requests may be handled by different processes). \n\n`Server`:\n- Operates a `FlaskApp` app.\n- Can be used with `run` (blocking) or `start` (non-blocking).\n\nA `DisplayController`:\n- Controls the display of an `Image` within a `ImageStore` using a `DisplayDriver`. \n- Knows what the `current_image` being displayed is.\n- May apply transformations to the image using `ImageTransformerSequence`.\n- Has `ListenableDisplayController`, `CyclableDisplayController`, and `SleepyDisplayController`\n  variants.\n\nAn `Image`:\n- Allows access to data representing an image.\n- Is of a particular type (e.g. `png`).\n\nAn `ImageTransformer`:\n- Takes an `Image` and modifies it to produce a variation (e.g. a rotated copy of the image).\n- Multiple transformers can be put together using an `ImageTransformerSequence`.\n- Applied to all images (e.g. when display is rotated, all images can be rotated).\n\nA `DisplayDriver`:\n- A driver for a display device.\n- Can set an image to be displayed; clear the display; sleep/wake the display.\n\n\n## Legal\n[AGPL v3.0](LICENSE). Copyright 2020, 2021, 2022 Colin Nolan.\n\nThis work is in no way related to the company that I work for.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolin-nolan%2Fremote-eink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolin-nolan%2Fremote-eink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolin-nolan%2Fremote-eink/lists"}