{"id":33071897,"url":"https://github.com/15Dkatz/official_joke_api","last_synced_at":"2025-11-16T17:01:16.864Z","repository":{"id":39452264,"uuid":"86027654","full_name":"15Dkatz/official_joke_api","owner":"15Dkatz","description":"Official Joke API!","archived":false,"fork":false,"pushed_at":"2024-07-13T00:05:16.000Z","size":1333,"stargazers_count":807,"open_issues_count":2,"forks_count":343,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-07-13T23:51:18.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://davidtkatz.com","language":"JavaScript","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/15Dkatz.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-24T04:37:30.000Z","updated_at":"2024-07-13T00:05:19.000Z","dependencies_parsed_at":"2024-01-03T02:24:45.972Z","dependency_job_id":"53d8e580-b543-49df-bc6b-54f312ebd006","html_url":"https://github.com/15Dkatz/official_joke_api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/15Dkatz/official_joke_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/15Dkatz%2Fofficial_joke_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/15Dkatz%2Fofficial_joke_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/15Dkatz%2Fofficial_joke_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/15Dkatz%2Fofficial_joke_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/15Dkatz","download_url":"https://codeload.github.com/15Dkatz/official_joke_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/15Dkatz%2Fofficial_joke_api/sbom","scorecard":{"id":1602,"data":{"date":"2025-08-11","repo":{"name":"github.com/15Dkatz/official_joke_api","commit":"98bf95d5bc769cd43bebafb3eb0aea7c02069397"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"Code-Review","score":5,"reason":"Found 11/20 approved changesets -- score normalized to 5","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":"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":"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":"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":"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":"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":"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":"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: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T12:40:16.122Z","repository_id":39452264,"created_at":"2025-08-14T12:40:16.122Z","updated_at":"2025-08-14T12:40:16.122Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284742551,"owners_count":27056072,"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-11-16T02:00:05.974Z","response_time":65,"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":"2025-11-14T09:00:33.743Z","updated_at":"2025-11-16T17:01:16.859Z","avatar_url":"https://github.com/15Dkatz.png","language":"JavaScript","funding_links":[],"categories":["Projects","Index","Table of Contents"],"sub_categories":["Games \u0026 Comics","Jokes \u0026 Fun"],"readme":"# Official Joke API\n\n## Endpoints:\n\n### Grab a random joke\n[https://official-joke-api.appspot.com/random_joke](https://official-joke-api.appspot.com/random_joke)\n\n\n[https://official-joke-api.appspot.com/jokes/random](https://official-joke-api.appspot.com/jokes/random)\n\n### Get joke types\n[https://official-joke-api.appspot.com/types](https://official-joke-api.appspot.com/types)\n\n### Grab ten random jokes\n[https://official-joke-api.appspot.com/random_ten](https://official-joke-api.appspot.com/random_ten)\n\n\n[https://official-joke-api.appspot.com/jokes/ten](https://official-joke-api.appspot.com/jokes/ten)\n\n### Grab any number of random jokes\n\nUsage: `https://official-joke-api.appspot.com/jokes/random/\u003cany-number\u003e`\n\nFor example:\n* [https://official-joke-api.appspot.com/jokes/random/5](https://official-joke-api.appspot.com/jokes/random/5)\n* [https://official-joke-api.appspot.com/jokes/random/25](https://official-joke-api.appspot.com/jokes/random/25)\n* [https://official-joke-api.appspot.com/jokes/random/250](https://official-joke-api.appspot.com/jokes/random/250)\n\n### Grab jokes by type\n\nThe endpoints are `jokes/:type/random` or `jokes/:type/ten`. For example:\n\n[https://official-joke-api.appspot.com/jokes/programming/random](https://official-joke-api.appspot.com/jokes/programming/random)\n\n[https://official-joke-api.appspot.com/jokes/programming/ten](https://official-joke-api.appspot.com/jokes/programming/ten)\n\n\n### Grab joke by id\n\nUse endpoint `/jokes/:id`\n\n***\n\n## How these jokes were collected\n\nThe majority of these jokes were contributed by joke-loving coders around the world!\n\n### Make a contribution!\n\nSubmit a Pull Request, with your joke added to the jokes/index.json file. Make sure the joke is in this format:\n\n```javascript\n{\n  \"type\": \"programming\",\n  \"setup\": \"What's the best thing about a Boolean?\",\n  \"punchline\": \"Even if you're wrong, you're only off by a bit.\"\n}\n```\n\n***\n\n### Run Locally\n* Clone the repo\n* `npm i \u0026\u0026 npm run dev`\n* Visit `localhost:3005/jokes/random` or `localhost:3005/jokes/ten` on your browser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F15Dkatz%2Fofficial_joke_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F15Dkatz%2Fofficial_joke_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F15Dkatz%2Fofficial_joke_api/lists"}