{"id":15290616,"url":"https://github.com/headblockhead/unicornsignage","last_synced_at":"2025-03-24T08:16:52.505Z","repository":{"id":55431196,"uuid":"523051236","full_name":"headblockhead/unicornSignage","owner":"headblockhead","description":"A Go program for running on a raspberry pi that displays scrolling text on demand, and the weather when there is no text.","archived":false,"fork":false,"pushed_at":"2023-08-13T23:30:28.000Z","size":560,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T13:29:02.271Z","etag":null,"topics":["go","golang","mqtt","raspberry-pi","unicorn-hat-hd"],"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/headblockhead.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-08-09T17:42:07.000Z","updated_at":"2023-07-14T01:14:40.000Z","dependencies_parsed_at":"2024-06-21T17:55:16.835Z","dependency_job_id":"07377ed5-9cfc-4211-8f79-dedb4dc072cb","html_url":"https://github.com/headblockhead/unicornSignage","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/headblockhead%2FunicornSignage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2FunicornSignage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2FunicornSignage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headblockhead%2FunicornSignage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/headblockhead","download_url":"https://codeload.github.com/headblockhead/unicornSignage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245232913,"owners_count":20581703,"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":["go","golang","mqtt","raspberry-pi","unicorn-hat-hd"],"created_at":"2024-09-30T16:08:47.990Z","updated_at":"2025-03-24T08:16:52.483Z","avatar_url":"https://github.com/headblockhead.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unicornsignage\nA Go program for running on a raspberry pi that displays scrolling text on demand, and the weather when there is no text.\n\nDesigned for the [Unicorn Hat HD](https://shop.pimoroni.com/products/unicorn-hat-hd?variant=42496126730).\n\n# Installation\n\nFirst, install raspian onto your pi. Make sure the hostname is ```displaypi```. \nThen, create your own ```creds.json``` in the root of this repository. Format it like in [this example](/credexample.json). \nAfter that, run the Makefile with ```make firstdeploy```. \nNext, SSH into the rpi. In the rpi, run ```sudo nano /lib/systemd/system/display.service``` and paste the following text:\n\n```\n[Unit]\nDescription=Display device\nAfter=network-online.target\nWants=network-online.target\nStartLimitIntervalSec=500\nStartLimitBurst=5\n\n[Install]\nRequiredBy=multi-user.target\n\n[Service]\nType=simple\nUser=root\nRestart=on-failure\nRestartSec=5s\nWorkingDirectory=/home/pi\nExecStart=/home/pi/display\n```\nFinally, reload systemd ```sudo systemctl daemon-reload```, enable the service ```sudo systemctl enable display```, enable SPI and I2C support on the pi ```sudo raspi-config # Interface Options \u003e SPI \u003e Yes \u003e Ok \u003e Interface Options \u003e I2C \u003e Yes \u003e Ok \u003e Finish``` and restart the pi ```sudo reboot```.\n\nNext time you make a change to the program, use ```make deploy``` instead of ```make firstdeploy``` to restart the service.\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadblockhead%2Funicornsignage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheadblockhead%2Funicornsignage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadblockhead%2Funicornsignage/lists"}