{"id":13603188,"url":"https://github.com/rsaryev/auto-copilot-cli","last_synced_at":"2025-04-14T18:58:16.108Z","repository":{"id":159479719,"uuid":"634675322","full_name":"rsaryev/auto-copilot-cli","owner":"rsaryev","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-29T19:45:17.000Z","size":17857,"stargazers_count":371,"open_issues_count":8,"forks_count":17,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-07T16:16:11.576Z","etag":null,"topics":["chatgpt","cli","javascript","nodejs","npm","openai","tools","typescript"],"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/rsaryev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/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,"publiccode":null,"codemeta":null},"funding":{"github":[]}},"created_at":"2023-04-30T22:04:58.000Z","updated_at":"2025-04-04T07:11:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"74790cd6-5dd0-4c75-9086-914dddb141fc","html_url":"https://github.com/rsaryev/auto-copilot-cli","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsaryev%2Fauto-copilot-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsaryev%2Fauto-copilot-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsaryev%2Fauto-copilot-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsaryev%2Fauto-copilot-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsaryev","download_url":"https://codeload.github.com/rsaryev/auto-copilot-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248942498,"owners_count":21186949,"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":["chatgpt","cli","javascript","nodejs","npm","openai","tools","typescript"],"created_at":"2024-08-01T18:01:56.055Z","updated_at":"2025-04-14T18:58:16.086Z","avatar_url":"https://github.com/rsaryev.png","language":"TypeScript","funding_links":[],"categories":["CLIs","cli"],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/auto-copilot-cli)](https://www.npmjs.com/package/auto-copilot-cli)\n[![Node.js Package](https://github.com/rsaryev/auto-copilot-cli/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/rsaryev/auto-copilot-cli/actions/workflows/npm-publish.yml)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/transitive-bullshit/chatgpt-api/blob/main/license)\n[![auto-copilot-cli npm downloads](https://img.shields.io/npm/dt/auto-copilot-cli)](https://www.npmjs.com/package/auto-copilot-cli)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rsaryev/auto-copilot-cli/assets/70219513/8deb1865-6ec6-4dc8-a631-344627dabb83\" width=\"800\" alt=\"chat\"\u003e\n\u003c/p\u003e\n\n## Description\n\n`auto-copilot-cli` is a versatile tool that offers several functionalities, including:\n\n- AI chat help you quickly find and improve codebase and answer questions about codebase\n- Code review\n- Pre-commit for generating commit messages\n- Code refactoring and linting structure of a folder or a file\n- Test generation\n- Shell command generation and execution\n- Natural language to SQL translation\n\n\n## Setup\n\n1. Install `auto-copilot-cli` globally:\n    ```bash\n   # using npm\n    npm install -g auto-copilot-cli\n   \n   # using install script\n   curl -s https://raw.githubusercontent.com/rsaryev/auto-copilot-cli/main/deployment/deploy.bash | bash\n    ```\n2. Get an API key from [OpenAI](https://platform.openai.com/account/api-keys).\n3. Refer to the [CLI usage](https://github.com/rsaryev/auto-copilot-cli/tree/main/docs) guide to learn how to use\n   the tool.\n\n### Commands\n\n- `code-chat \u003cpath\u003e` - AI chat with codebase [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/code-chat.md)\n    - Options:\n        - `-p, --prompt \u003cprompt\u003e` - Prompt for AI\n- `code-review` - Perform code review [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/code-review.md) - Perform code review\n- `test \u003cfile\u003e` - Generate test [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/test.md)\n    - Options:\n        - `-p, --prompt \u003cprompt\u003e` - Prompt for AI\n        - `-o, --output \u003cfile\u003e` - Output file\n- `refactor \u003cfile\u003e` - Refactor code [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/refactor.md)\n    - Options:\n        - `-p, --prompt \u003cprompt\u003e` - Prompt for AI\n        - `-o, --output \u003cfile\u003e` - Output file\n- `sql-translator \u003cquery\u003e` - Translate natural language to SQL [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/sql-translator.md)\n    - Options:\n        - `-o, --output \u003coutput\u003e` - Output sql file\n        - `-s, --schema-path \u003cschemaPath\u003e` - Path to schema file (sql, prisma, any format)\n- `chat \u003cchat\u003e` - Chat with AI [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/chat.md)\n    - Options:\n        - `-p, --prompt \u003cprompt\u003e` - Prompt for AI\n- `shell \u003cgoal\u003e` - Generate and execute a shell command [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/shell.md)\n- `pre-commit` - Analyze git diff and generate a commit message [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/pre-commit.md)\n    - Options:\n        - `-y, --yes` - Skip confirmation\n- `config \u003ckey\u003e \u003cvalue\u003e` - Set configuration [usage](https://github.com/rsaryev/auto-copilot-cli/blob/main/docs/config.md)\n- `get-config` - Print configuration\n\n### Options\n\n- `-h, --help` - Display help for command\n- `-V, --version` - Output the version number\n\n\n## Contributing\n\nContributions are always welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsaryev%2Fauto-copilot-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsaryev%2Fauto-copilot-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsaryev%2Fauto-copilot-cli/lists"}