{"id":29806341,"url":"https://github.com/ducan-ne/opencoder","last_synced_at":"2025-12-30T00:04:44.477Z","repository":{"id":286256383,"uuid":"960876322","full_name":"ducan-ne/opencoder","owner":"ducan-ne","description":"The Claude Code alternative","archived":false,"fork":false,"pushed_at":"2025-04-23T13:46:01.000Z","size":1930,"stargazers_count":198,"open_issues_count":2,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-26T04:45:38.939Z","etag":null,"topics":["ai-tui","boltnew","chatgpt","claude-code","cli","loveable","replit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ducan-ne.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":"2025-04-05T08:56:56.000Z","updated_at":"2025-06-25T17:20:49.000Z","dependencies_parsed_at":"2025-04-05T09:39:51.877Z","dependency_job_id":null,"html_url":"https://github.com/ducan-ne/opencoder","commit_stats":null,"previous_names":["ducan-ne/opencoder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ducan-ne/opencoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducan-ne%2Fopencoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducan-ne%2Fopencoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducan-ne%2Fopencoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducan-ne%2Fopencoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ducan-ne","download_url":"https://codeload.github.com/ducan-ne/opencoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ducan-ne%2Fopencoder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai-tui","boltnew","chatgpt","claude-code","cli","loveable","replit"],"created_at":"2025-07-28T14:05:57.991Z","updated_at":"2025-12-30T00:04:44.439Z","avatar_url":"https://github.com/ducan-ne.png","language":"TypeScript","readme":"# OpenCoder: the open source version of Claude Code\n\nTry it out:\n\n```bash\nnpx opencoder@latest\n```\n\n```bash\nbunx opencoder@latest\n```\n\nOr try the beta channel:\n```bash\nnpx opencoder@next\n```\n\n## Overview\n\n- Complete Claude Code replacement with similar UI and UX\n- Built on top of the Vercel AI SDK. Fully compatible with the AI SDK model.\n- Supports any LLM providers that the AI SDK supports (OpenAI, Anthropic, Google, etc.)\n- Cross-platform shell: which means supports Windows, Linux, and MacOS.\n- High performance: 60 FPS UI rendering, powered by React concurrent rendering, React Compiler\n- Add custom tools to OpenCoder in 1 step (with custom UI)\n\n## Demo\n\n#### Youtube clone\nhttps://github.com/user-attachments/assets/67c52f00-7c54-404d-b1e2-244312f0094a\n\n\n\n## Features\n\n#### 1. Built on top of the Vercel AI SDK\nOpenCoder is built on top of the Vercel AI SDK. It is fully compatible with the AI SDK model, any official or community model supported by the AI SDK will work with OpenCoder:\n```typescript\nimport { ollama } from 'ollama-ai-provider'; // read more: https://sdk.vercel.ai/providers/community-providers/ollama\nimport type { Config } from 'opencoder';\n\nexport default {\n  model: ollama('qwq'),\n} satisfies Config\n```\n\n#### 2. MCP makes it easy\nIntegrate powerful MCP capabilities into your workflow in 1 step. OpenCoder provides ready-to-use MCP tools that can be implemented with just a few lines of code:\n```typescript\nimport { playwright } from 'opencoder/mcp';\n\nexport default {\n  mcp: [playwright()],\n} satisfies Config\n```\n\nMore examples:\n- [Create MCP tools](./examples/mcp-create-mcp)\n- [Playwright example](./examples/mcp)\n\n#### 3. Cross-platform shell\nOpenCoder has a cross-platform shell that supports Windows, Linux, and MacOS. Powered by [Deno shell](https://github.com/denoland/deno_task_shell)\n\n## Available tools\n- Read file\n- Write file\n- Edit file\n- Think\n- Memory edit\n- Memory read\n- Planning\n- Grep: powered by @vscode/ripgrep\n- Check diagnostics (currently only Typescript is supported)\n\n\n## Available MCP tools\n- Playwright\n- Web search\n\n## Roadmap\n\n- [ ] More commands (/checkpoint, /revert, /commit, /mcp, /cost)\n- [ ] Documentation\n- [ ] Add auto-import MCP tools from `.vscode/mcp.json` or `.cursorrules/mcp.json`\n- [ ] Proper release process (changeset + changelog)\n- [x] Command history\n- [x] Persistent chat history\n- [x] Add more tests\n- [x] Add more examples\n- [x] Tool confirmation dialog\n- [x] Prebuilt MCP tools (`import { playwright } from \"opencoder/mcp\"`)\n- [x] Add MCP support\n- [x] Support custom tools\n\nContributions are welcome!\n","funding_links":[],"categories":["其他工具与实用程序","TypeScript","Alternatives to Claude Code"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducan-ne%2Fopencoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fducan-ne%2Fopencoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fducan-ne%2Fopencoder/lists"}