{"id":20851619,"url":"https://github.com/ahmedkhalf/dadjokes-plus-plus","last_synced_at":"2025-09-08T23:33:16.720Z","repository":{"id":57417851,"uuid":"284106380","full_name":"ahmedkhalf/dadjokes-plus-plus","owner":"ahmedkhalf","description":"Dad jokes on steroids.","archived":false,"fork":false,"pushed_at":"2020-08-04T14:52:00.000Z","size":52,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-31T03:52:03.902Z","etag":null,"topics":["cli","cli-app","comedy","command-line","dad","dad-jokes","dadjokes","icanhazdadjoke","jokes","python","python3","requests","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmedkhalf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-31T18:44:02.000Z","updated_at":"2024-03-13T00:39:24.000Z","dependencies_parsed_at":"2022-09-13T21:00:26.601Z","dependency_job_id":null,"html_url":"https://github.com/ahmedkhalf/dadjokes-plus-plus","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ahmedkhalf/dadjokes-plus-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedkhalf%2Fdadjokes-plus-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedkhalf%2Fdadjokes-plus-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedkhalf%2Fdadjokes-plus-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedkhalf%2Fdadjokes-plus-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmedkhalf","download_url":"https://codeload.github.com/ahmedkhalf/dadjokes-plus-plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedkhalf%2Fdadjokes-plus-plus/sbom","scorecard":{"id":172143,"data":{"date":"2025-08-11","repo":{"name":"github.com/ahmedkhalf/dadjokes-plus-plus","commit":"8ace054160156666b6a5adc43662f2ae40698f9b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-16T16:52:03.416Z","repository_id":57417851,"created_at":"2025-08-16T16:52:03.416Z","updated_at":"2025-08-16T16:52:03.416Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231182,"owners_count":25245675,"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-09-08T02:00:09.813Z","response_time":121,"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":["cli","cli-app","comedy","command-line","dad","dad-jokes","dadjokes","icanhazdadjoke","jokes","python","python3","requests","terminal"],"created_at":"2024-11-18T03:14:22.745Z","updated_at":"2025-09-08T23:33:16.692Z","avatar_url":"https://github.com/ahmedkhalf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://imgur.com/D5egC9o.png\" width=\"600\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eImage of dadjokes++ geting used on terminal startup.\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/ahmedkhalf/dadjokes-plus-plus/network/members\"\u003e\n    \u003cimg alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/ahmedkhalf/dadjokes-plus-plus\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/ahmedkhalf/dadjokes-plus-plus/stargazers\"\u003e\n    \u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/ahmedkhalf/dadjokes-plus-plus\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/ahmedkhalf/dadjokes-plus-plus/watchers\"\u003e\n    \u003cimg alt=\"GitHub watchers\" src=\"https://img.shields.io/github/watchers/ahmedkhalf/dadjokes-plus-plus\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pepy.tech/project/dadjokes-plus-plus\"\u003e\n    \u003cimg src=\"https://pepy.tech/badge/dadjokes-plus-plus\" alt=\"Downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pepy.tech/project/dadjokes-plus-plus/month\"\u003e\n    \u003cimg src=\"https://pepy.tech/badge/dadjokes-plus-plus/month\" alt=\"Downloads/Month\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pepy.tech/project/dadjokes-plus-plus/week\"\u003e\n    \u003cimg src=\"https://pepy.tech/badge/dadjokes-plus-plus/week\" alt=\"Downloads/Week\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n# Dadjokes++\nDad jokes on steroid.\n\nFetch jokes from icanhazdadjoke. Unlike other alternatives, dadjokes++ can download all jokes to your computer for faster and offline retrieval.\n\n## Installation\n\nMake sure you have python 3 and pip installed, then execute this in your terminal:\n\n```bash\npip install dadjokes-plus-plus\n```\n\n## Usage\n\n\n### From terminal\n\n#### Fetch a random joke online\n```bash\n$ dadjokes\nI used to be a banker, but I lost interest.\n```\n\n#### Download all jokes to jokes.txt\n```bash\n$ dadjokes -d \"jokes.txt\"\n```\n\n#### Load a random joke from jokes.txt\n```bash\n$ dadjokes -l \"jokes.txt\"\nA steak pun is a rare medium well done.\n```\n\n*Note:* if you don't provide -d or -l a path it will automatically be \"jokes.txt\".\n\n### From python\n\n#### Fetch a random joke online\n```python\nimport dadjokes\nprint(dadjoke.joke())\n```\n\n#### Download all jokes to jokes.txt\n```python\nimport dadjokes\nprint(dadjoke.save_jokes(\"jokes.txt\"))\n```\n\n#### Load a random joke from jokes.txt\n```python\nimport dadjokes\nprint(dadjoke.joke(\"jokes.txt\"))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedkhalf%2Fdadjokes-plus-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedkhalf%2Fdadjokes-plus-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedkhalf%2Fdadjokes-plus-plus/lists"}