{"id":32348551,"url":"https://github.com/scriptogre/bad-apple","last_synced_at":"2025-10-24T07:55:53.457Z","repository":{"id":316807135,"uuid":"1064920446","full_name":"scriptogre/bad-apple","owner":"scriptogre","description":"Bad Apple using htmx + sse ext. + server-commands ext.","archived":false,"fork":false,"pushed_at":"2025-10-15T11:41:36.000Z","size":3490,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-16T04:49:09.056Z","etag":null,"topics":["badapple","demo","htmx","htmx-extension"],"latest_commit_sha":null,"homepage":"https://bad-apple.christiantanul.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptogre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-26T19:01:59.000Z","updated_at":"2025-10-15T11:41:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"39be4158-4893-4f82-b499-8cde4ff3d118","html_url":"https://github.com/scriptogre/bad-apple","commit_stats":null,"previous_names":["scriptogre/bad-apple-htmx-demo","scriptogre/bad-apple"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scriptogre/bad-apple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Fbad-apple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Fbad-apple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Fbad-apple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Fbad-apple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptogre","download_url":"https://codeload.github.com/scriptogre/bad-apple/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Fbad-apple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280761853,"owners_count":26386245,"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-10-24T02:00:06.418Z","response_time":73,"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":["badapple","demo","htmx","htmx-extension"],"created_at":"2025-10-24T07:55:52.378Z","updated_at":"2025-10-24T07:55:53.449Z","avatar_url":"https://github.com/scriptogre.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bad Apple\n\nThe Bad Apple animation as ASCII art rendered in real-time from the server @ 60 FPS using [**htmx**](https://htmx.org/) + [**sse extension**](https://htmx.org/extensions/sse/) + [**server-commands extension**](https://github.com/scriptogre/htmx-extensions/tree/feature/server-commands/src/server-commands).\n\n![img.png](img.png)\n\n## Quick Start\n\n```bash\ncp .env.example .env\ndocker compose up\n```\n\n## How it works\n\nThe `server-commands` extension provides a special `\u003chtmx\u003e` tag. The server streams `\u003chtmx\u003e` tags ~60 times/second via SSE to update multiple elements in real-time:\n\n```html\ndata: \u003chtmx target=\"#frames\" swap=\"textContent\"\u003e{frame}\u003c/htmx\u003e\ndata: \u003chtmx target=\"#progress-text\" swap=\"textContent\"\u003e{progress}%\u003c/htmx\u003e\n```\n\nYou can read more about it in the extension's [README.md](https://github.com/scriptogre/htmx-extensions/tree/feature/server-commands/src/server-commands).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptogre%2Fbad-apple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptogre%2Fbad-apple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptogre%2Fbad-apple/lists"}