{"id":21432885,"url":"https://github.com/02loveslollipop/badappleesp32codemaker","last_synced_at":"2026-04-22T21:34:31.249Z","repository":{"id":188332039,"uuid":"622424369","full_name":"02loveslollipop/BadAppleESP32CodeMaker","owner":"02loveslollipop","description":"Bad Apple on ESP32 with composite video","archived":false,"fork":false,"pushed_at":"2024-03-11T20:35:54.000Z","size":945,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T08:43:54.524Z","etag":null,"topics":["bad-apple","esp32","esp32-arduino","microcontroller","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/02loveslollipop.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}},"created_at":"2023-04-02T04:07:58.000Z","updated_at":"2023-04-21T22:34:38.000Z","dependencies_parsed_at":"2024-03-04T21:43:58.358Z","dependency_job_id":null,"html_url":"https://github.com/02loveslollipop/BadAppleESP32CodeMaker","commit_stats":null,"previous_names":["02loveslollipop/badappleesp32codemaker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/02loveslollipop%2FBadAppleESP32CodeMaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/02loveslollipop%2FBadAppleESP32CodeMaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/02loveslollipop%2FBadAppleESP32CodeMaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/02loveslollipop%2FBadAppleESP32CodeMaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/02loveslollipop","download_url":"https://codeload.github.com/02loveslollipop/BadAppleESP32CodeMaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945527,"owners_count":20372892,"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":["bad-apple","esp32","esp32-arduino","microcontroller","python"],"created_at":"2024-11-22T23:22:55.280Z","updated_at":"2026-04-22T21:34:31.189Z","avatar_url":"https://github.com/02loveslollipop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bad Apple ESP32 Code Maker\n\u003e A Python utility to convert a video into a C array for the ESP32.\n\n## Intro\nThis is a Python based utility to convert a video into a C array for the ESP32. The video is converted into a 1bit np array that is delta encoded and RLE compressed. The output is a C char array that can be used in the ESP32 code, to display the video on a composite video output.\n\n## Requirements\n- [anaconda](https://www.anaconda.com/download) or [miniconda](https://docs.anaconda.com/free/miniconda/miniconda-install/) for managing the python environment\n\n- a C compiler (gcc, clang, etc.) as Cython requires a C compiler to build the extension\n\n- [ffmpeg](https://ffmpeg.org/download.html) for video processing (optional)\n\n- [Arduino IDE](https://www.arduino.cc/en/software) for ESP32 development\n\n## Setup\n1. download the repository:\n```bash\ngit clone https://github.com/02loveslollipop/BadAppleESP32CodeMaker.git\n```\n2. go to the repository folder:\n```bash\ncd BadAppleESP32CodeMaker\n```\n3. (Windows) execute setup.ps1 script:\n```powershell\n.\\setup.ps1\n```\n3. (Linux) execute setup.sh script:\n```bash\n./setup.sh\n```\n5. execute the utility:\n```bash\npython main.py --help\n```\n\n## ESP32 setup\nafer the code (byteStream.h) is generated, you can use the following code to display the video on a composite video output:\n\n1. add the byteStream.h file to the Arduino project folder\n2. open [eps32badApple.ino](https://github.com/02loveslollipop/BadAppleESP32CodeMaker/blob/master/esp32badApple/esp32badApple.ino)\n3. upload the code to the ESP32\n\nthe composite video output is connected to the GPIO 25 pin of the ESP32\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F02loveslollipop%2Fbadappleesp32codemaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F02loveslollipop%2Fbadappleesp32codemaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F02loveslollipop%2Fbadappleesp32codemaker/lists"}