{"id":15700767,"url":"https://github.com/ticky/httpoled","last_synced_at":"2025-08-10T03:03:51.662Z","repository":{"id":25983353,"uuid":"101461798","full_name":"ticky/httpoled","owner":"ticky","description":"📟 A Raspberry Pi program which displays images on an OLED display when POSTed to via HTTP","archived":false,"fork":false,"pushed_at":"2023-02-15T21:30:38.000Z","size":10,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-05-12T14:26:20.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ticky.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-26T04:13:44.000Z","updated_at":"2024-06-14T03:20:57.000Z","dependencies_parsed_at":"2023-02-17T14:55:16.395Z","dependency_job_id":null,"html_url":"https://github.com/ticky/httpoled","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ticky/httpoled","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fhttpoled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fhttpoled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fhttpoled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fhttpoled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ticky","download_url":"https://codeload.github.com/ticky/httpoled/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticky%2Fhttpoled/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269668187,"owners_count":24456495,"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-08-10T02:00:08.965Z","response_time":71,"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-03T19:53:41.891Z","updated_at":"2025-08-10T03:03:51.639Z","avatar_url":"https://github.com/ticky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTPImage\n\nA Raspberry Pi program which displays images on an OLED display when POSTed to it via HTTP.\n\n## Requirements\n\n- A Raspberry Pi\n- Python \u0026 pip\n- An SSD1306-based, 128x64 OLED\n- cURL and/or a modern browser\n- Sketch (optional)\n\n## Setting up\n\nYou'll need access to both `/dev/gpiomem` and `/dev/spidev0.{0,1}`.\n\nFirst, you need to [enable SPI](https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md#overview) in your Raspberry Pi's boot configuration.\n\nThen, use `sudo usermod -aG spi,gpio $(whoami)` to give your user direct access. Then log out and back in.\n\nFinally, clone this repo to your Pi, and run `pip install -r requirements.txt`\n\n## Running\n\nTo run the server, from your Pi, run `python httpoled.py`! The server will be running on port 8080.\n\n## Sending Images\n\nImages can be sent either as the request body, or as the `image` parameter.\n\nTo send an image from the command line, you can use cURL:\n\n```shell\ncurl -v --data-binary \"@/path/to/image.png\" http://\u003cyour-raspberry-pi\u003e:8080/\n```\n\n### Sketch Mirror integration\n\nA script is included which integrates httpoled with Sketch Mirror.\n\nStart Sketch Mirror with a 128x64 artboard. Replace `\u003cyour-raspberry-pi\u003e` with your Raspberry Pi's address, and paste the script into your developer console.\n\nThe script will then transmit updates to the Pi directly!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fticky%2Fhttpoled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fticky%2Fhttpoled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fticky%2Fhttpoled/lists"}