{"id":50821321,"url":"https://github.com/c-ehrlich/cjode","last_synced_at":"2026-06-13T14:05:02.409Z","repository":{"id":311265451,"uuid":"1043123113","full_name":"c-ehrlich/cjode","owner":"c-ehrlich","description":"coding agent with a wide range of capabilities","archived":false,"fork":false,"pushed_at":"2025-08-30T05:25:45.000Z","size":431,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T20:02:21.459Z","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/c-ehrlich.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,"zenodo":null}},"created_at":"2025-08-23T07:26:31.000Z","updated_at":"2025-08-30T05:25:34.000Z","dependencies_parsed_at":"2025-08-23T17:24:35.191Z","dependency_job_id":"b63bd0b1-6cb0-4067-a833-3d50590b4396","html_url":"https://github.com/c-ehrlich/cjode","commit_stats":null,"previous_names":["c-ehrlich/cjode"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/c-ehrlich/cjode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcjode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcjode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcjode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcjode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c-ehrlich","download_url":"https://codeload.github.com/c-ehrlich/cjode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcjode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34286997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2026-06-13T14:05:01.719Z","updated_at":"2026-06-13T14:05:02.404Z","avatar_url":"https://github.com/c-ehrlich.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cjode - (CJE Code Agent)\n\n\u003e **Note:** This package is published to npm as `@c-ehrlich/cjode`. After installing it, the command to run it is `cjode`.\n\n## For Users\n\n### Installation\n\nInstall globally via npm:\n```bash\nnpm install -g @c-ehrlich/cjode\n```\n\n### Setup\n\nSet up your API keys:\n```bash\ncjode env --setup\n```\n\nYou'll need:\n- **ANTHROPIC_API_KEY** (required) - Get from [Anthropic Console](https://console.anthropic.com/)\n- **OPENAI_API_KEY** (optional) - Get from [OpenAI Platform](https://platform.openai.com/api-keys)\n\n### Usage\n\nStart the server:\n```bash\ncjode server\n```\n\nIn another terminal, start chatting:\n```bash\ncjode chat\n```\n\n### Commands\n\n```bash\n# Server management\ncjode server              # Start server on default port (3001)\ncjode server --port 8080  # Start server on custom port\n\n# Chat interface\ncjode chat                        # Connect to default server\ncjode chat --server http://...:...  # Connect to custom server\n\n# Environment management\ncjode env                 # Show configuration status\ncjode env --setup         # Interactive setup\ncjode env --list          # List all variables\ncjode env --set KEY       # Set a variable\ncjode env --unset KEY     # Remove a variable\ncjode env --validate      # Validate configuration\n```\n\n## For Developers\n\n### Prerequisites\n\n- Node.js 20.9.0 or higher\n- pnpm package manager\n\n### Setup\n\n1. **Clone and install:**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd cjode\n   pnpm install\n   ```\n\n2. **Create local environment file:**\n   ```bash\n   cp .env.example .env\n   # Edit .env with your API keys\n   ```\n\n3. **Build the project:**\n   ```bash\n   pnpm build\n   ```\n\n### Development Commands\n\n```bash\n# Build all packages\npnpm build\n\n# Run linter\npnpm lint\n\n# Run type checker\npnpm typecheck\n\n# Run tests\npnpm test\n\n# Start development server (hot reload)\npnpm dev:server\n\n# Start development client (in another terminal)\npnpm dev:client\n\n# Clean build artifacts\npnpm clean\n\n# Format code\npnpm format\n```\n\n### Testing\n\n```bash\n# Validate environment setup\nnode packages/cli/bin/cjode.js env --validate\n\n# Start server manually\nnode packages/cli/bin/cjode.js server\n\n# Test chat interface\nnode packages/cli/bin/cjode.js chat\n\n# Run all tests\npnpm test\n\n# Run tests with coverage\npnpm test:coverage\n```\n\n### Environment Variables\n\nIn development, the system uses **only** the local `.env` file when `NODE_ENV=development` is set (automatically set by dev scripts).\n\nRequired variables:\n```bash\nANTHROPIC_API_KEY=your_key_here\nOPENAI_API_KEY=your_openai_key_here\nCJODE_DEFAULT_MODEL=claude-3-sonnet\nCJODE_SERVER_PORT=3001\nCJODE_SERVER_HOST=127.0.0.1\n```\n\n## License\n\nMIT License - see LICENSE file for details.\n\n\u003c!-- testy --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-ehrlich%2Fcjode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-ehrlich%2Fcjode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-ehrlich%2Fcjode/lists"}