{"id":27429521,"url":"https://github.com/kubesail/pibox-framebuffer","last_synced_at":"2025-10-26T16:04:49.189Z","repository":{"id":40781341,"uuid":"474212290","full_name":"kubesail/pibox-framebuffer","owner":"kubesail","description":"The PiBox's LCD display server. Lightweight Go binary to draw images to the framebuffer","archived":false,"fork":false,"pushed_at":"2024-02-06T03:57:26.000Z","size":3805,"stargazers_count":19,"open_issues_count":5,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T14:18:04.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/kubesail.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}},"created_at":"2022-03-26T01:37:07.000Z","updated_at":"2025-01-20T21:24:00.000Z","dependencies_parsed_at":"2024-02-06T02:42:53.414Z","dependency_job_id":"11f7e572-f440-4aa8-a2a2-86744dc29d99","html_url":"https://github.com/kubesail/pibox-framebuffer","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fpibox-framebuffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fpibox-framebuffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fpibox-framebuffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubesail%2Fpibox-framebuffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubesail","download_url":"https://codeload.github.com/kubesail/pibox-framebuffer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248894939,"owners_count":21179154,"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":"2025-04-14T14:18:13.411Z","updated_at":"2025-10-26T16:04:49.139Z","avatar_url":"https://github.com/kubesail.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pibox-framebuffer\n\nThe PiBox's display server. Lightweight Go binary to draw images to the framebuffer\n\n## Installation\n\n* Enable SPI using `raspi-config` -\u003e `Interfacing Options` -\u003e `SPI`\n* Reboot to enable SPI, `sudo reboot now`\n* Download the latest [release](https://github.com/kubesail/pibox-framebuffer/releases)\n* Set permissions, `chmod +x pibox-framebuffer`\n* Run the binary using `./pibox-framebuffer`\n\nAlternatively, install it as a service:\n\n    mkdir /opt/kubesail\n    mv pibox-framebuffer /opt/kubesail/pibox-framebuffer\n    # Download the .service file from this repo:\n    curl -L https://raw.githubusercontent.com/kubesail/pibox-framebuffer/main/pibox-framebuffer.service -o /etc/systemd/system/pibox-framebuffer.service\n    systemctl daemon-reload\n    systemctl enable pibox-framebuffer\n\n## Usage\n\n### Drawing an image\n\n`curl --unix-socket /var/run/pibox/framebuffer.sock -X POST --data-binary @image.png http://localhost/image`\n\nNOTE: Other text and graphics endpoints were supported in old versions, but for the sake of this code's simplicity, we now recommend updating to this version, creating an image using something like the NodeJS [Canvas](https://www.npmjs.com/package/canvas) package, and then then flushing it to the screen using the above endpoint. This new version uses SPI and is far more stable than the framebuffer kernel modules, which can inadvertently redirect console output to the LCD.\n\n## Installing for development\n\n    # Pack an image into the binary for splash screen\n    go install github.com/rakyll/statik@latest\n    statik -src=img/pibox-splash.png\n\n    # Build the binary\n    ./go-build.sh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubesail%2Fpibox-framebuffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubesail%2Fpibox-framebuffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubesail%2Fpibox-framebuffer/lists"}