{"id":26315128,"url":"https://github.com/drivecore/mycoder","last_synced_at":"2025-03-15T12:04:21.789Z","repository":{"id":276380668,"uuid":"929118172","full_name":"drivecore/mycoder","owner":"drivecore","description":"Simple to install, powerful command-line based AI agent system for coding.","archived":false,"fork":false,"pushed_at":"2025-03-10T22:28:39.000Z","size":761,"stargazers_count":302,"open_issues_count":27,"forks_count":24,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T22:57:05.237Z","etag":null,"topics":["agent","agentic","ai","claude","coder","coding","software","swe","swe-agent","tool-use","tools"],"latest_commit_sha":null,"homepage":"https://mycoder.ai","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/drivecore.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-07T20:56:03.000Z","updated_at":"2025-03-10T22:28:43.000Z","dependencies_parsed_at":"2025-02-24T03:54:01.214Z","dependency_job_id":"b42f6460-f8ec-4739-9787-bee65c3be535","html_url":"https://github.com/drivecore/mycoder","commit_stats":null,"previous_names":["bhouston/mycoder","drivecore/mycoder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivecore%2Fmycoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivecore%2Fmycoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivecore%2Fmycoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivecore%2Fmycoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drivecore","download_url":"https://codeload.github.com/drivecore/mycoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243597822,"owners_count":20316843,"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":["agent","agentic","ai","claude","coder","coding","software","swe","swe-agent","tool-use","tools"],"created_at":"2025-03-15T12:04:16.280Z","updated_at":"2025-03-15T12:04:21.783Z","avatar_url":"https://github.com/drivecore.png","language":"TypeScript","readme":"# MyCoder\n\nCommand-line interface for AI-powered coding tasks. Full details available on the main [MyCoder.ai website](https://mycoder.ai) and the [Official MyCoder.Ai Docs website](https://docs.mycoder.ai).\n\n## Features\n\n- 🤖 **AI-Powered**: Leverages Anthropic's Claude, OpenAI models, and Ollama for intelligent coding assistance\n- 🛠️ **Extensible Tool System**: Modular architecture with various tool categories\n- 🔄 **Parallel Execution**: Ability to spawn sub-agents for concurrent task processing\n- 📝 **Self-Modification**: Can modify code, it was built and tested by writing itself\n- 🔍 **Smart Logging**: Hierarchical, color-coded logging system for clear output\n- 👤 **Human Compatible**: Uses README.md, project files and shell commands to build its own context\n- 🌐 **GitHub Integration**: GitHub mode for working with issues and PRs as part of workflow\n\nPlease join the MyCoder.ai discord for support: https://discord.gg/5K6TYrHGHt\n\n## Installation\n\n```bash\nnpm install -g mycoder\n```\n\nFor detailed installation instructions for macOS and Linux, including how to set up Node.js using NVM, [see our Getting Started guide](https://docs.mycoder.ai/docs/getting-started/).\n\n## Usage\n\n```bash\n# Interactive mode\nmycoder -i\n\n# Run with a prompt\nmycoder \"Implement a React component that displays a list of items\"\n\n# Run with a prompt from a file\nmycoder -f prompt.txt\n\n# Disable user prompts for fully automated sessions\nmycoder --userPrompt false \"Generate a basic Express.js server\"\n# or using the alias\nmycoder --userPrompt false \"Generate a basic Express.js server\"\n\n# Disable user consent warning and version upgrade check for automated environments\nmycoder --upgradeCheck false \"Generate a basic Express.js server\"\n\n# Enable GitHub mode via CLI option (overrides config file)\nmycoder --githubMode \"Work with GitHub issues and PRs\"\n```\n\n## Configuration\n\nMyCoder is configured using a configuration file in your project. MyCoder supports multiple configuration file locations and formats, similar to ESLint and other modern JavaScript tools.\n\n### Configuration File Locations\n\nMyCoder will look for configuration in the following locations (in order of precedence):\n\n1. `mycoder.config.js` in your project root\n2. `.mycoder.config.js` in your project root\n3. `.config/mycoder.js` in your project root\n4. `.mycoder.rc` in your project root\n5. `.mycoder.rc` in your home directory\n6. `mycoder` field in `package.json`\n7. `~/.config/mycoder/config.js` (XDG standard user configuration)\n\nMultiple file extensions are supported: `.js`, `.ts`, `.mjs`, `.cjs`, `.json`, `.jsonc`, `.json5`, `.yaml`, `.yml`, and `.toml`.\n\n### Creating a Configuration File\n\nCreate a configuration file in your preferred location:\n\n```js\n// mycoder.config.js\nexport default {\n  // GitHub integration\n  githubMode: true,\n\n  // Browser settings\n  headless: true,\n  userSession: false,\n  pageFilter: 'none', // 'simple', 'none', or 'readability'\n\n  // Model settings\n  provider: 'anthropic',\n  model: 'claude-3-7-sonnet-20250219',\n  maxTokens: 4096,\n  temperature: 0.7,\n\n  // Custom settings\n  // customPrompt can be a string or an array of strings for multiple lines\n  customPrompt: '',\n  // Example of multiple line custom prompts:\n  // customPrompt: [\n  //   'Custom instruction line 1',\n  //   'Custom instruction line 2',\n  //   'Custom instruction line 3',\n  // ],\n  profile: false,\n  tokenCache: true,\n\n  // Base URL configuration (for providers that need it)\n  baseUrl: 'http://localhost:11434', // Example for Ollama\n};\n```\n\nCLI arguments will override settings in your configuration file.\n\n### GitHub Comment Commands\n\nMyCoder can be triggered directly from GitHub issue comments using the flexible `/mycoder` command:\n\n```\n/mycoder [your instructions here]\n```\n\nExamples:\n\n- `/mycoder implement a PR for this issue`\n- `/mycoder create an implementation plan`\n- `/mycoder suggest test cases for this feature`\n\n[Learn more about GitHub comment commands](docs/github-comment-commands.md)\n\n## Packages\n\n- [mycoder](packages/cli) - Command-line interface for MyCoder\n- [mycoder-agent](packages/agent) - Agent module for MyCoder\n- [mycoder-docs](packages/docs) - Documentation website for MyCoder\n\n## Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/drivecore/mycoder.git\ncd mycoder\n\n# Install dependencies\npnpm install\n\n# Build all packages\npnpm build\n\n# Run tests\npnpm test\n\n# Create a commit with interactive prompt\npnpm commit\n```\n\n## Release Process\n\nMyCoder follows the [Conventional Commits](https://www.conventionalcommits.org/) specification for commit messages. Our release process is fully automated:\n\n1. Commit your changes following the conventional commits format\n2. Create a PR and get it reviewed and approved\n3. When merged to main, our CI/CD pipeline will:\n   - Determine the next version based on commit messages\n   - Generate a changelog\n   - Create a GitHub Release\n   - Tag the release\n   - Publish to NPM\n\nFor more details, see the [Contributing Guide](CONTRIBUTING.md).\n\n## Contributing\n\nPlease see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":["TypeScript","Development Toolkits","Command Line Tools","AI Tools","CLI Tools","命令行工具","Terminal \u0026 CLI Agents"],"sub_categories":["CLI Tools","👨‍💻 Developer Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrivecore%2Fmycoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrivecore%2Fmycoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrivecore%2Fmycoder/lists"}