{"id":13499044,"url":"https://github.com/hieunc229/copilot-clone","last_synced_at":"2025-05-15T13:05:43.691Z","repository":{"id":37255351,"uuid":"381577723","full_name":"hieunc229/copilot-clone","owner":"hieunc229","description":"VSCode extension for code suggestion","archived":false,"fork":false,"pushed_at":"2024-07-16T12:41:11.000Z","size":30366,"stargazers_count":1776,"open_issues_count":3,"forks_count":270,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-09T11:05:28.137Z","etag":null,"topics":["code-completion","code-suggestion","extension","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hieunc229.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":"2021-06-30T04:45:05.000Z","updated_at":"2025-04-03T07:26:47.000Z","dependencies_parsed_at":"2024-07-16T15:38:49.386Z","dependency_job_id":null,"html_url":"https://github.com/hieunc229/copilot-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hieunc229%2Fcopilot-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hieunc229%2Fcopilot-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hieunc229%2Fcopilot-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hieunc229%2Fcopilot-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hieunc229","download_url":"https://codeload.github.com/hieunc229/copilot-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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":["code-completion","code-suggestion","extension","vscode"],"created_at":"2024-07-31T22:00:27.453Z","updated_at":"2025-05-15T13:05:43.665Z","avatar_url":"https://github.com/hieunc229.png","language":"TypeScript","funding_links":[],"categories":["Tools","TypeScript","vscode","Videos"],"sub_categories":["Pretrained models","Alternatives"],"readme":"![Captain Stack](./icon.png)\n\n# Captain Stack — Code generator and suggestion for VSCode\n\n[![Captain Stack on Marketplace](https://img.shields.io/badge/Downloads-VSCode_Marketplace-blue)](https://marketplace.visualstudio.com/items?itemName=captainstack.captain-stack) [![Captain Stack on Marketplace](https://img.shields.io/visual-studio-marketplace/d/captainstack.captain-stack)](https://marketplace.visualstudio.com/items?itemName=captainstack.captain-stack)\n\nThis feature is somewhat similar to Github Copilot's code suggestion. But instead of using AI, it sends your search query to Google, then retrieves StackOverflow and Github Gist answers and autocompletes them for you.\n\n✅ OpenAI and OpenRouter added to generate code with AI (Bring Your Own Key)\n\n![Demo Video](./demo.gif)\n\n## 1. Usage\n\nCaptain Stack provides Code Search (from Github Gist, StackOverflow), and AI Code Generation (with OpenAI and OpenRouter). With multiple options can be enabled at the same time.\n\nTo generate/search code, use `// find {what you need}.`. For example:\n\n```js\n// find binary search in JavaScript.\n\n// generate binary search function in Python.\n```\n\nNote:\n- Make sure there is a dot at the end of `{what you need}` search phrase\n- You can use either `// find` or `// generate` to trigger Captain Stack code completion. Both are the same.\n\n\n## 2. Settings\n\nTo configure setting options for Captain Stack, open the settings page by using hotkey `Meta + ,`, or:\n\n1. Click on the Cog icon in the bottom left\n2. Choose **Settings**\n3. In the **Search settings** search box, enter \"Captain Stack\"\n\n### Settings options\n\nTick the checkbox of the following provider to enable\n- Github Gist\n- Stackoverflow\n- Open AI\n- Open Router\n\nFor Code Search (from Github Gist, StackOverflow)\n-  `Max results`: the max number of search results return\n\nFor Code Generator\n\n- `Open AI: Api Key`: OpenAI API Key, see [how to get OpenAI API Key](https://gasbyai.com/docs/setup-openai). Required when using OpenAI provider\n- `Open AI: Model`: Model used to generate code. Model list is available at https://platform.openai.com/docs/models\n- `Open Router: Api Key`: OpenRouter API Key, see [how to get OpenRouter API Key](https://gasbyai.com/docs/setup-openrouter). Required when using OpenRouter provider\n- `Open Router: Model`: Model used to generate code. Model list is available at https://platform.openai.com/docs/models\n- `Ai: N`: Number of generated code outputs. Default is `1`\n- `Ai: Temperature`: Code output creativeness, higher value will make the output more random (value between 0.0-1.0). Default is `0.5`\n\nPlease note when using OpenRouter, `X-Title` and `HTTP-Referer` will be set as GasbyAI\n\n## 3. Contributors\n\nThe plugin is available, thanks to:\n\n- [Kekschen](https://github.com/Kek5chen)\n- [Charlie Lin](https://github.com/clin1234)\n- [Hieu Nguyen](https://twitter.com/hieuSSR/)\n\n**Feel free to open a thread for feedback or discussion. And have fun!**\n\n---\n\nLove Captain Stack? Check out other things I do:\n\n\u003ca href=\"https://gasbyai.com?ref=csgithub\"\u003e\n\u003cimg src=\"https://gasbyai.com/banner.png\" alt=\"GasbyAI - Chat with your fancy AI personal assistant - Fancy ChatGPT alternative\" height=\"100\" width=\"360\" /\u003e\n\u003c/a\u003e\n\n- [GasbyAI - Fancy ChatGPT alternative](https://gasbyai.com?ref=csgithub)\n- [Rebit Nocode Site Builder](https://rebit.co/?ref=github)\n- [...more at theGums](https://thegums.co)\n\n\u003cimg alt=\"Gum Pixels\" src=\"https://lsn.gumanalytics.com/images/XOsbYS_va/gp.png\" width=\"33\" height=\"10\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhieunc229%2Fcopilot-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhieunc229%2Fcopilot-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhieunc229%2Fcopilot-clone/lists"}