{"id":24014956,"url":"https://github.com/alessthedev/bad-apple-rust","last_synced_at":"2025-05-06T20:11:22.317Z","repository":{"id":214788053,"uuid":"737358757","full_name":"AlessTheDev/bad-apple-rust","owner":"AlessTheDev","description":"Bad apple but made of rust keywords","archived":false,"fork":false,"pushed_at":"2023-12-31T17:07:37.000Z","size":18,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T02:33:50.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/AlessTheDev.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":"2023-12-30T18:38:17.000Z","updated_at":"2024-12-28T12:47:23.000Z","dependencies_parsed_at":"2025-01-08T07:48:31.913Z","dependency_job_id":null,"html_url":"https://github.com/AlessTheDev/bad-apple-rust","commit_stats":null,"previous_names":["alessthedev/bad-apple-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2Fbad-apple-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2Fbad-apple-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2Fbad-apple-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlessTheDev%2Fbad-apple-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlessTheDev","download_url":"https://codeload.github.com/AlessTheDev/bad-apple-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252761228,"owners_count":21800125,"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-01-08T07:38:19.186Z","updated_at":"2025-05-06T20:11:22.246Z","avatar_url":"https://github.com/AlessTheDev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bad Apple with Rust Keywords\nThis is a program that converts black and white frames to rust keywords, then take a screenshot of your screen and store it in the rendered folder \\\n[![Youtube thumbnail](https://github.com/AlessTheDev/bad-apple-rust/assets/96922088/e579366f-6d94-4394-92d2-7780b67b8416)](https://www.youtube.com/watch?v=iGrrya5BxBM)\n\n\n## How to render bad apple\n1. Clone the repository \\\n`git clone https://github.com/AlessTheDev/bad-apple-rust.git`\\\n`cd bad-apple-rust` \n2. Download the bad apple intro\n3. use ffmpeg to extract frames\\\n`ffmpeg -i input.mp4 frames/frame_%04d.png`\n4. Open a program which renders text when a file changes (like vs code)\n5. Run the program: `cargo run`\n\u003e If you want to visualize wihout the screenhots comment these 2 lines\n```rs\nthread::sleep(time::Duration::from_millis(200));\ntake_screenshot(frame);\n```\n6. Wait until the program renders everything\n7. Put frames together: \\\n`cd ..` \\\n`ffmpeg -framerate 30 -pattern_type glob -i './rendered/*.png'   -c:v libx264 -pix_fmt yuv420p out2.mp4`\n\nI reccomend reading the code to change it to your specific needs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessthedev%2Fbad-apple-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falessthedev%2Fbad-apple-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessthedev%2Fbad-apple-rust/lists"}