{"id":16569529,"url":"https://github.com/higuoxing/pg_badapple","last_synced_at":"2025-03-21T11:33:42.484Z","repository":{"id":195316443,"uuid":"692645094","full_name":"higuoxing/pg_badapple","owner":"higuoxing","description":"Play \"Bad Apple!!\" in the psql client. This demo is to illustrate that the psql client can play some animation.","archived":false,"fork":false,"pushed_at":"2023-09-18T11:59:40.000Z","size":1076,"stargazers_count":48,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T20:38:57.575Z","etag":null,"topics":["badapple","postgresql","postgresql-extension"],"latest_commit_sha":null,"homepage":"","language":"C","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/higuoxing.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-09-17T06:07:43.000Z","updated_at":"2024-11-19T18:40:49.000Z","dependencies_parsed_at":"2024-10-28T10:24:07.272Z","dependency_job_id":"286edceb-13af-4843-8916-50e25df8ed94","html_url":"https://github.com/higuoxing/pg_badapple","commit_stats":null,"previous_names":["higuoxing/pg_badapple"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_badapple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_badapple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_badapple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/higuoxing%2Fpg_badapple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/higuoxing","download_url":"https://codeload.github.com/higuoxing/pg_badapple/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244792332,"owners_count":20511116,"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":["badapple","postgresql","postgresql-extension"],"created_at":"2024-10-11T21:13:35.868Z","updated_at":"2025-03-21T11:33:41.914Z","avatar_url":"https://github.com/higuoxing.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pg_badapple\n\nPlay \"Bad Apple!!\" in the psql client. This demo is to illustrate that the psql client can play some animation.\n\n## Install\n\n```bash\nmake PG_CONFIG=\u003cpath to pg_config\u003e install\n```\n\n## Run\n\n```sql\n-- In psql client.\nCREATE EXTENSION badapple;\nSELECT play_badapple();\n-- OR you like sing, dance, rap and basketball.\nSELECT play_basketball();\n```\n\n## Reference\n\n- [Fun with PostgreSQL Puzzles: Recursive Functions with Animations](https://www.crunchydata.com/blog/fun-with-postgresql-puzzles-and-recursive-functions-with-animations)\n- [ANSI/VT100 Terminal Control Escape Sequences](https://web.archive.org/web/20190624214929/http://www.termsys.demon.co.uk/vtansi.htm)\n- [Chion82/ASCII_bad_apple](https://github.com/Chion82/ASCII_bad_apple)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiguoxing%2Fpg_badapple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiguoxing%2Fpg_badapple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiguoxing%2Fpg_badapple/lists"}