{"id":35172184,"url":"https://github.com/xav-b/mockingbird","last_synced_at":"2026-04-28T10:02:41.990Z","repository":{"id":40785419,"uuid":"199124638","full_name":"xav-b/mockingbird","owner":"xav-b","description":"Realistic and Pareto-ish API mocker","archived":false,"fork":false,"pushed_at":"2023-01-04T05:29:30.000Z","size":1139,"stargazers_count":1,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T10:15:31.740Z","etag":null,"topics":["api","cli","mock","nodejs","tool"],"latest_commit_sha":null,"homepage":null,"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/xav-b.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}},"created_at":"2019-07-27T06:14:41.000Z","updated_at":"2023-02-15T21:47:56.000Z","dependencies_parsed_at":"2023-02-01T23:15:28.213Z","dependency_job_id":null,"html_url":"https://github.com/xav-b/mockingbird","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xav-b/mockingbird","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xav-b%2Fmockingbird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xav-b%2Fmockingbird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xav-b%2Fmockingbird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xav-b%2Fmockingbird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xav-b","download_url":"https://codeload.github.com/xav-b/mockingbird/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xav-b%2Fmockingbird/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32375625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["api","cli","mock","nodejs","tool"],"created_at":"2025-12-28T21:02:44.299Z","updated_at":"2026-04-28T10:02:41.956Z","avatar_url":"https://github.com/xav-b.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/xavb"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cbr/\u003e\n\t\u003cbr/\u003e\n\t\u003cbr/\u003e\n\t\u003cbr/\u003e\n\t\u003cbr/\u003e\n  \u003ca href=\"https://github.com/xav-b/mockingbird\"\u003e\n    \u003cimg alt=\"Mockingbird\" title=\"GitPoint\" src=\"./mockingbird.jpeg\" width=\"130\"\u003e\n  \u003c/a\u003e\n\t\u003cbr /\u003e\n\t\u003ch2\u003e\u003ca href=\"https://github.com/xav-b/mockingbird\"\u003eMockingbird\u003c/a\u003e\u003c/h2\u003e\n\t\u003cbr /\u003e\n\t\u003cbr /\u003e\n\t\u003csup\u003e\n\t\u003cbr /\u003e\n\t\u003cbr /\u003e\n\tFake it until you make it - \u003ca\n\ttarget=\"_blank\" href=\"https://github.com/xav-b/mockingbird/README.md\"\u003eDocs\u003c/a\u003e.\n\t\u003cbr /\u003e\n\t\u003c/sup\u003e\n\t\u003cbr /\u003e\n\t\u003cbr /\u003e\n\t\u003cbr /\u003e\n\u003c/div\u003e\n\n---\n\n[![Build Status](https://travis-ci.org/xav-b/mockingbird.svg?branch=master)](https://travis-ci.org/xav-b/mockingbird)\n[![codecov](https://codecov.io/gh/xav-b/mockingbird/branch/master/graph/badge.svg)](https://codecov.io/gh/xav-b/mockingbird)\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n## ✨ Highlight\n\n✔️ Declarative API description\n\n✔️ Endpoints as code to fit all use cases\n\n✔️ Generate data - on the fly or beforehand for more control\n\n✔️ Easily switch scenarios to simulate different use cases\n\n✔️ Support swagger to easily share and interact with the API contract\n\n✔️ Emulate complex scenarios:\n\n- request delays\n- [todo] authentication\n\n## In a Nutshell\n\n```sh\n# all you need is 5min - let's get started\nnpm install -g @hackliff/mockingbird\n\nmkdir -p nasa/scenarios \u0026\u0026 cd nasa\n```\n\n**Write a scenario**\n\n```\n// in ./scenarios/build.js\n\nconst success = (req, res) =\u003e res.status(204).json({ request_id: Math.random() })\n\nmodule.exports = { success }\n```\n\n**Write some config**\n\n```yaml\ntitle: 'NASA'\nstorage: 'json'\n\nscenarios:\n  - name: healthcheck\n\nendpoints:\n  - description: 'build spaceship'\n    method: POST\n    module: ./scenarios/build\n    uri: /v2/spaceships\n    scenario: async success\n    latency: 4000\n```\n\n**Serve a full-featured API**: `mockingbird serve --port 4000`\n\n**Profit**: `curl -X POST -d '{ \"engine\": \"nuclear\" }' localhost:4000/v2/spaceships`\n\n## Installation\n\n## Usage\n\n### Configuration\n\n### Scenarios\n\n---\n\n## Workflow\n\n### 🚀 Release\n\nWe follow a few industry standards.\n\n- Git flow\n- Semantic release\n- Release notes are only generated for major releases.\n\n### Local issue tracker\n\n_To be progressively migrated to github issues as we release it open\nsource_\n\nThe project manages todos using\n[taskbook](https://github.com/klaussinani/taskbook). After installing\ndependencies, source `.env` to update its configuration and use the\nlocal database.\n\nThen use it as indicated on the github readme: `npx tb -i`.\n\n---\n\n\u003cimg\n  width=\"50px\"\n  alt=\"profile\"\n  src=\"https://it.gravatar.com/userimage/51922459/c5e521b1b03eabff18b3763bcdfef8ff.jpeg\"\n  align=\"right\" /\u003e\n\n### 💖 Shameless plug\n\n\u003e Hey nice to meet you, I'm [Xavier](www.xav-b.fr) and I maintain this project.\n\n\u003ca href=\"https://www.buymeacoffee.com/xavb\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003ca target=\"_blank\"\nhref=\"https://tinyletter.com/Xav\"\u003e\u003cimg width=\"38px\" alt=\"subscribe\"\nsrc=\"https://newvitruvian.com/images/svg-buttons-web-1.png\"/\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n  \u003csub\u003eMockingbird - API mocker\n\t\u003cbr/\u003eBuilt by\n  \u003ca href=\"http://www.xav-b.fr\"\u003eXavier Bruhiere\u003c/a\u003e and\n  \u003ca href=\"https://github.com/xav-b/mockingbird/graphs/contributors\"\u003e\n    contributors\n  \u003c/a\u003e\n\t\u003cbr/\u003ewith a \u003c/i\u003e💻\u003ci\u003e and some \u003c/i\u003e🍣\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cimg\n\t\tsrc=\"https://github.com/xav-b/on-a-budget/blob/master/assets/vespa.svg\"\n\t\twidth=\"48\"\n\t\talt=\"TIC logo\" /\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxav-b%2Fmockingbird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxav-b%2Fmockingbird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxav-b%2Fmockingbird/lists"}