{"id":38268063,"url":"https://github.com/caalberts/localroast","last_synced_at":"2026-01-17T01:47:59.175Z","repository":{"id":113443178,"uuid":"129110280","full_name":"caalberts/localroast","owner":"caalberts","description":"Mock a server for development and testing","archived":false,"fork":false,"pushed_at":"2019-11-15T19:25:52.000Z","size":15025,"stargazers_count":227,"open_issues_count":4,"forks_count":23,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-06-20T03:56:55.349Z","etag":null,"topics":["http","local-development","mock-server","stub-server","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/caalberts.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-11T14:54:10.000Z","updated_at":"2023-12-26T17:26:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"698d4010-7675-4fc4-ba5c-c657b99bafb6","html_url":"https://github.com/caalberts/localroast","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/caalberts/localroast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caalberts%2Flocalroast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caalberts%2Flocalroast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caalberts%2Flocalroast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caalberts%2Flocalroast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caalberts","download_url":"https://codeload.github.com/caalberts/localroast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caalberts%2Flocalroast/sbom","scorecard":{"id":261293,"data":{"date":"2025-08-11","repo":{"name":"github.com/caalberts/localroast","commit":"fe5263e270597e5bcaf1b32f9e4cb0b60a1f9a33"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"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":"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":"Code-Review","score":1,"reason":"Found 3/26 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.4.0 not signed: https://api.github.com/repos/caalberts/localroast/releases/21516766","Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/caalberts/localroast/releases/13668309","Warn: release artifact v0.2.1 not signed: https://api.github.com/repos/caalberts/localroast/releases/13593409","Warn: release artifact v0.2.0 not signed: https://api.github.com/repos/caalberts/localroast/releases/13185255","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/caalberts/localroast/releases/12150730","Warn: release artifact v0.4.0 does not have provenance: https://api.github.com/repos/caalberts/localroast/releases/21516766","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/caalberts/localroast/releases/13668309","Warn: release artifact v0.2.1 does not have provenance: https://api.github.com/repos/caalberts/localroast/releases/13593409","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/caalberts/localroast/releases/13185255","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/caalberts/localroast/releases/12150730"],"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":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":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0209 / GHSA-r5c5-pr8j-pfp7","Warn: Project is vulnerable to: GO-2023-1992 / GHSA-x3jr-pf6g-c48f","Warn: Project is vulnerable to: GO-2022-0229 / GHSA-cjjc-xp8v-855w","Warn: Project is vulnerable to: GO-2020-0012 / GHSA-ffhg-7mh4-33c4","Warn: Project is vulnerable to: GO-2021-0227 / GHSA-3vm4-22fp-5rfm","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 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"}}]},"last_synced_at":"2025-08-17T10:54:19.227Z","repository_id":113443178,"created_at":"2025-08-17T10:54:19.227Z","updated_at":"2025-08-17T10:54:19.227Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["http","local-development","mock-server","stub-server","testing-tools"],"created_at":"2026-01-17T01:47:59.077Z","updated_at":"2026-01-17T01:47:59.149Z","avatar_url":"https://github.com/caalberts.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Localroast\n\n[![CircleCI](https://circleci.com/gh/caalberts/localroast/tree/master.svg?style=svg)](https://circleci.com/gh/caalberts/localroast/tree/master)\n[![codecov](https://codecov.io/gh/caalberts/localroast/branch/master/graph/badge.svg)](https://codecov.io/gh/caalberts/localroast)\n[![Go Report Card](https://goreportcard.com/badge/github.com/caalberts/localroast)](https://goreportcard.com/report/github.com/caalberts/localroast)\n\n![localroast](coffee.png)\n\n## Overview\n\nLocalroast quickly stubs a HTTP server. It takes a JSON file with a list of paths and stub responses. Changes are autoloaded. Use it to develop and test an API client.\n\n![localroast demo](localroast_demo.gif)\n\n## Installation\n\nFrom brew:\n\n```sh\nbrew install caalberts/tap/localroast\n```\n\nFrom source:\n\n```sh\ngo get -u github.com/caalberts/localroast\n```\n\n## Usage\n\n```sh\nlocalroast examples/stubs.json\n```\n\nThe command takes a single argument, a path to a JSON file. The JSON file must be a JSON array containing endpoint definitions. Each endpoint is represented as a JSON object with keys `method`, `path`, `status` and `response`. `response` can be any valid JSON object.\n```json\n[\n  {\n    \"method\": \"GET\",\n    \"path\": \"/\",\n    \"status\": 200,\n    \"response\": {\n        \"success\": true\n    }\n  }\n]\n```\n\nSee [examples/stubs.json](examples/stubs.json) for more.\n\n## Features\n\n- [x] json input\n- [x] path variable\n- [x] autoload file changes\n- [ ] yml input\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaalberts%2Flocalroast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaalberts%2Flocalroast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaalberts%2Flocalroast/lists"}