{"id":19258947,"url":"https://github.com/lassehaslev/8ball","last_synced_at":"2026-06-14T18:32:32.975Z","repository":{"id":89976084,"uuid":"53002467","full_name":"LasseHaslev/8ball","owner":"LasseHaslev","description":"Shell script for answering complex questions","archived":false,"fork":false,"pushed_at":"2016-03-03T13:14:33.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T18:17:05.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/LasseHaslev.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":"2016-03-02T22:50:13.000Z","updated_at":"2016-03-03T11:46:34.000Z","dependencies_parsed_at":"2023-05-30T18:00:37.466Z","dependency_job_id":null,"html_url":"https://github.com/LasseHaslev/8ball","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LasseHaslev/8ball","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2F8ball","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2F8ball/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2F8ball/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2F8ball/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasseHaslev","download_url":"https://codeload.github.com/LasseHaslev/8ball/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2F8ball/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34333806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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-11-09T19:14:51.565Z","updated_at":"2026-06-14T18:32:32.945Z","avatar_url":"https://github.com/LasseHaslev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ask shell script\nShell script for answering complex questions\n\n## Installation\nMake sure you have composer installed, and run:\n```\ncomposer install\n```\nThis will install the dependencies for this application\n\n#### Help\n```\n# For information of this application run:\n./ask.php\n```\n\n### Choose\nChoose.sh is the main engine of this application.\n```\n./ask.php choose\n# Will return YES or NO\n```\n\nYou can add options to choose from\n```\n./ask.php choose Banana Apple\n# Will return 'Banana' or 'Apple'\n```\n\nYou can even write as many options to choose from as you'd like\n```\n./ask.php choose Banana Apple Mango Melon\n# Will return 'Banana' or 'Apple' or 'Mango' or 'Melon'\n```\n\n##### Print out the question for choose\n```\n./ask.php choose McDonalds BurgerKing --question-input \"Where should we eat?\"\n# Where should we eat?\n# BurgerKing\n```\n\n### 8ball\nUses the engine of Choose to simulate an 8ball answering ball\n```\n# Is 8ball the coolest script ever?\n./ask.php 8ball\n# Will return 'Without a doubt'. ( or another answer... )\n```\n\n##### Print out the question for 8ball\n```\n./ask.php 8ball \"Will the world end?\"\n# Will the world end?\n# As i see it, Yes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2F8ball","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassehaslev%2F8ball","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2F8ball/lists"}