{"id":24911359,"url":"https://github.com/kiwijuice56/pi-pic","last_synced_at":"2026-04-28T11:34:18.946Z","repository":{"id":212385187,"uuid":"731369234","full_name":"kiwijuice56/pi-pic","owner":"kiwijuice56","description":"Small server to control my RPI4 and Inky Impression screen","archived":false,"fork":false,"pushed_at":"2023-12-18T00:21:35.000Z","size":841,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T04:20:17.246Z","etag":null,"topics":["discord-bot","inkyimpression","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiwijuice56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-13T23:41:19.000Z","updated_at":"2024-08-08T06:19:10.000Z","dependencies_parsed_at":"2023-12-18T01:38:01.169Z","dependency_job_id":null,"html_url":"https://github.com/kiwijuice56/pi-pic","commit_stats":null,"previous_names":["kiwijuice56/pi-pic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwijuice56%2Fpi-pic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwijuice56%2Fpi-pic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwijuice56%2Fpi-pic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwijuice56%2Fpi-pic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiwijuice56","download_url":"https://codeload.github.com/kiwijuice56/pi-pic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960690,"owners_count":20700780,"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":["discord-bot","inkyimpression","raspberry-pi"],"created_at":"2025-02-02T04:19:41.697Z","updated_at":"2026-04-28T11:34:13.910Z","avatar_url":"https://github.com/kiwijuice56.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-pic\nA script to configure my Rasberry Pi 4 Model B with the [Inky Impression 4\" (7 colour ePaper/eInk HAT).](https://shop.pimoroni.com/products/inky-impression-4?variant=39599238807635) Utilizes a private Discord server and bot to receive images and cycle through them randomly.\n\n![Example image](example.jpeg \"Example\")\n\n## Set Up \n1) After connecting the Pi and Inky, install the following dependencies\n```\nsudo pip3 install inky[rpi,example-depends]\nsudo pip3 install discord.py\nsudo pip3 install pillow\n```\n\n2) Clone this repository \n```\nsudo git clone https://github.com/kiwijuice56/pi-pic\n```\n\n3) Create a Discord bot and server. Create the file `TOKEN.txt` in the pi-pic directory and copy the Discord bot's token into it. \n\n4) Run the script\n```\nsudo python3 pi-pic/bot.py\n```\n\n5) (Optional) To allow the script to start up at boot, edit the file:\n```\nsudo nano /etc/rc.local\n```\nAnd add the following line of code right before the exit line:\n```\npython3 /home/pi/pi-pic/bot.py \u0026\n```\nFinally, edit the parameters at the start of `bot.py` to fit your usage\n```python\ndelay_seconds = 60 * 25\npicture_saturation = 0.50\ninky_resolution=(640,400) # Check your device specifications\nvertical_flip = True\nlogin_delay = True # Set to True if allowing the program to run at boot\n```\n\n## Usage\nSend pictures in any channel of the server to add them to the slideshow or send the text `clear` to remove all of the pictures. The slideshow will stop if there are no pictures. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwijuice56%2Fpi-pic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiwijuice56%2Fpi-pic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwijuice56%2Fpi-pic/lists"}