{"id":16990841,"url":"https://github.com/blenderskool/mocktopus","last_synced_at":"2025-04-12T03:31:32.866Z","repository":{"id":160590728,"uuid":"622500057","full_name":"blenderskool/mocktopus","owner":"blenderskool","description":"🐙 AI powered CLI tool to generate mock data for anything!","archived":false,"fork":false,"pushed_at":"2024-03-27T17:26:00.000Z","size":99,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T23:24:11.052Z","etag":null,"topics":["ai","cli","code-generation","gemini","generator","gpt","mock","openai","protobuf","retrieval-augmented-generation"],"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/blenderskool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-04-02T09:56:10.000Z","updated_at":"2025-03-02T13:00:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"98126489-738e-435a-b0b1-e58bd99ca4e4","html_url":"https://github.com/blenderskool/mocktopus","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blenderskool%2Fmocktopus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blenderskool%2Fmocktopus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blenderskool%2Fmocktopus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blenderskool%2Fmocktopus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blenderskool","download_url":"https://codeload.github.com/blenderskool/mocktopus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512688,"owners_count":21116660,"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","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":["ai","cli","code-generation","gemini","generator","gpt","mock","openai","protobuf","retrieval-augmented-generation"],"created_at":"2024-10-14T03:23:54.134Z","updated_at":"2025-04-12T03:31:32.517Z","avatar_url":"https://github.com/blenderskool.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./mocktopus.jpeg\" width=\"180\"\u003e\n\n  \u003ch1 align=\"center\"\u003e\n    mocktopus\n  \u003c/h1\u003e\n  \u003cp\u003e\n    🐙 \u003cb\u003eGPT powered\u003c/b\u003e CLI tool to generate mocks for anything!\n  \u003c/p\u003e\n\u003c/div\u003e\n\n### Installation\n\n**Note: This project requires your own API key for one of the supported AI models:**\n\n- OpenAI: Can be found [here](https://platform.openai.com/account/api-keys).\n- Google Gemini: Can be found [here](https://aistudio.google.com/).\n\n**Setup CLI**\n\n1. Download the binary for your OS from the [releases page](https://github.com/blenderskool/mocktopus/releases/latest)\n2. Rename the binary file to `mocktopus`\n3. Copy the binary to `/usr/bin/` paths (for macOS, Linux). If you cannot copy the the binary to the directory, then update your `PATH` env variable to also include the directory where `mocktopus` binary is stored.\n4. Proceed to adding the OpenAI/Gemini API key as an environment variable by following the steps in next section\n\n#### Add API key of an AI Model as an env variable\n\nThis example is for `zsh` shell, you can add it accordingly for other shell environments.\n\n```bash\nnano ~/.zshrc\n```\n\nIn the file that is opened, add the following line at the end\n\n```bash\nexport MOCKTOPUS_OPENAI_KEY=\"\u003cYOUR OPENAI API KEY\u003e\"\nexport MOCKTOPUS_GEMINI_KEY=\"\u003cYOUR GEMINI API KEY\u003e\"\n```\n\nSave the file and exit, then restart the terminal.\n\n### Usage\n\n```\nmocktopus [global options] command [command options] [arguments...]\n\nCommands:\n  proto        proto \u003csource\u003e \u003cdestination\u003e\n  placeholder\n  tests        tests \u003csource\u003e \u003cdestination\u003e\n  persona\n  help, h      Shows a list of commands or help for one command\n```\n\n### Uninstall\n\n1. Remove the `mocktopus` binary file\n2. Optionally remove the env variables starting with `MOCKTOPUS`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblenderskool%2Fmocktopus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblenderskool%2Fmocktopus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblenderskool%2Fmocktopus/lists"}