{"id":28487350,"url":"https://github.com/live-codes/monaco-codeium-provider","last_synced_at":"2025-07-01T21:31:54.241Z","repository":{"id":221342654,"uuid":"754068685","full_name":"live-codes/monaco-codeium-provider","owner":"live-codes","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-14T08:50:17.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T04:42:41.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/live-codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","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},"funding":{"github":["live-codes","hatemhosny"],"ko_fi":"hatemhosny","custom":["https://paypal.me/hatemhosni"]}},"created_at":"2024-02-07T10:41:20.000Z","updated_at":"2024-02-07T10:49:37.000Z","dependencies_parsed_at":"2024-02-07T13:48:53.729Z","dependency_job_id":null,"html_url":"https://github.com/live-codes/monaco-codeium-provider","commit_stats":null,"previous_names":["live-codes/monaco-codeium-provider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/live-codes/monaco-codeium-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/live-codes%2Fmonaco-codeium-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/live-codes%2Fmonaco-codeium-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/live-codes%2Fmonaco-codeium-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/live-codes%2Fmonaco-codeium-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/live-codes","download_url":"https://codeload.github.com/live-codes/monaco-codeium-provider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/live-codes%2Fmonaco-codeium-provider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263039235,"owners_count":23404139,"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":[],"created_at":"2025-06-08T04:30:49.719Z","updated_at":"2025-07-01T21:31:54.208Z","avatar_url":"https://github.com/live-codes.png","language":"TypeScript","funding_links":["https://github.com/sponsors/live-codes","https://github.com/sponsors/hatemhosny","https://ko-fi.com/hatemhosny","https://paypal.me/hatemhosni"],"categories":[],"sub_categories":[],"readme":"# Monaco Codeium Provider\n\nAI auto-completion provider for Monaco editor powered by Codeium.\n\nAs used in [LiveCodes](https://livecodes.io).\n\nBased on https://github.com/Exafunction/codeium-react-code-editor ([MIT License](https://github.com/Exafunction/codeium-react-code-editor/blob/cf3f020b3bf518bd1683f0b31df578e50ef93407/LICENSE))\n\n## Installation\n\n```bash\nnpm install @live-codes/monaco-codeium-provider\n```\n\n## Usage\n\n```js\nimport { registerCodeiumProvider } from \"@live-codes/monaco-codeium-provider\";\n\nconst provider = registerCodeiumProvider(\n  monaco,\n  // optional config\n  {\n    languageServer: \"https://web-backend.codeium.com\",\n    apiKey: \"codeium-api-key\",\n    onAutocomplete: (acceptedText) =\u003e {\n      // runs on completion\n      console.log(acceptedText);\n    },\n    getEditors: () =\u003e {\n      // return an array of other monaco editors that you want their content to be used for AI context\n      // e.g. if the current editor is for JS, return HTML and CSS editors\n      return [];\n    },\n  }\n);\n\n// to dispose\nprovider.dispose();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flive-codes%2Fmonaco-codeium-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flive-codes%2Fmonaco-codeium-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flive-codes%2Fmonaco-codeium-provider/lists"}