{"id":17021776,"url":"https://github.com/theturkeydev/pi-deck","last_synced_at":"2025-07-27T23:33:22.218Z","repository":{"id":75719979,"uuid":"297519584","full_name":"TheTurkeyDev/Pi-Deck","owner":"TheTurkeyDev","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-17T22:41:14.000Z","size":324,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T10:13:26.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheTurkeyDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2020-09-22T02:58:42.000Z","updated_at":"2024-09-03T10:03:25.000Z","dependencies_parsed_at":"2023-03-11T06:46:08.929Z","dependency_job_id":null,"html_url":"https://github.com/TheTurkeyDev/Pi-Deck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheTurkeyDev/Pi-Deck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTurkeyDev%2FPi-Deck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTurkeyDev%2FPi-Deck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTurkeyDev%2FPi-Deck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTurkeyDev%2FPi-Deck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheTurkeyDev","download_url":"https://codeload.github.com/TheTurkeyDev/Pi-Deck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheTurkeyDev%2FPi-Deck/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267441257,"owners_count":24087771,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-14T07:08:32.709Z","updated_at":"2025-07-27T23:33:22.211Z","avatar_url":"https://github.com/TheTurkeyDev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"README WIP\n\nSteps for manually setting up:\nMust have a way to connect to the pi over wifi/ethernet\n\n1. Flash Raspberry Pi OS Lite onto an SD card\n    - Lite because we will manually install the Desktop since we really don't need the full OS \n2. Enable SSH\n    - Create a file named `ssh`\n    - Also setup wpa_supplicant here if needed\n3. Enable Serial over USB\n    - In `config.txt` append `dtoverlay=dwc2` to the end\n    - In `cmdline.txt` append `modules-load=dwc2,g_serial` on the same line after `rootwait` with a single space between the two.\n        - NOTE: if you see something like `quiet init=/usr/lib/raspi-config/init_resize.sh` after `rootwait`, just insert it between the two, but still making sure there is a single space between everything\n4. Put the SD card and power up the pi\n5. SSH to the pi with `ssh pi@raspberrypi.local`\n6. Add Desktop to the OS\n    - Just to be safe\n        - `sudo apt update`\n        - `sudo apt upgrade`\n        - `sudo apt dist-upgrade` \n    - Xorg\n        - `sudo apt install xserver-xorg`\n    - PIXEL Desktop\n        - `sudo apt install raspberrypi-ui-mods`\n    - LightDM\n        - `sudo apt install lightdm`\n    - Auto Login\n        - `sudo raspi-config`\n        - Change `Boot Options -\u003e Desktop / CLI -\u003e Desktop Autologin`\n    - Reboot\n        - `sudo reboot`\n7. Setup HyperPixel screen (If applicable)\n    - In a terminal run `sudo curl https://get.pimoroni.com/hyperpixel4 | bash`\n    - Reboot\n        - `sudo reboot`\n    - Rotate Screen If needed\n        - `hyperpixel4-rotate right`\n        - `sudo reboot`\n8. Disable Screen sleep\n    - Run `sudo nano /etc/xdg/lxsession/LXDE-pi/autostart`\n        - In the file add\n        ```\n        @xset s noblank\n        @xset s off\n        @xset -dpms\n        ```\n9. Setup PiDeck to run on startup\n    - Make a service\n        - `sudo nano /etc/systemd/system/pideck.service`\n        - Set the file contents to\n        ```\n        [Unit]\n        Description=PiDeck pi application\n        After=graphical.target\n        \n        [Service]\n        Type=simple\n        Environment=\"DISPLAY=:0\"\n        ExecStart=/usr/bin/python3 /opt/pideck/main.py\n        \n        [Install]\n        WantedBy=graphical.target\n        ```\n        - `sudo systemctl daemon-reload`\n        - `sudo systemctl enable pideck.service`\n        - Reboot again...\n            - `sudo reboot`\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheturkeydev%2Fpi-deck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheturkeydev%2Fpi-deck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheturkeydev%2Fpi-deck/lists"}