{"id":21755442,"url":"https://github.com/shreshthgoyal/cmdx","last_synced_at":"2026-04-07T09:31:07.656Z","repository":{"id":245252800,"uuid":"817702707","full_name":"shreshthgoyal/cmdX","owner":"shreshthgoyal","description":"This project that transforms natural language tasks into executable Linux shell commands. This tool bridges the gap between user-friendly language and the powerful capabilities of the command line, making it easier for users of all skill levels to leverage the full potential of Terminal.","archived":false,"fork":false,"pushed_at":"2024-06-20T14:09:47.000Z","size":472,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T13:55:46.663Z","etag":null,"topics":["ai","langchain","python","shell","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shreshthgoyal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-20T09:08:46.000Z","updated_at":"2025-01-23T20:52:12.000Z","dependencies_parsed_at":"2024-06-20T23:06:35.143Z","dependency_job_id":"a297ceca-0177-4fa8-9e96-79cbc6ed226e","html_url":"https://github.com/shreshthgoyal/cmdX","commit_stats":null,"previous_names":["shreshthgoyal/cmdx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shreshthgoyal/cmdX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreshthgoyal%2FcmdX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreshthgoyal%2FcmdX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreshthgoyal%2FcmdX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreshthgoyal%2FcmdX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shreshthgoyal","download_url":"https://codeload.github.com/shreshthgoyal/cmdX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreshthgoyal%2FcmdX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31507911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","langchain","python","shell","terminal"],"created_at":"2024-11-26T09:18:03.068Z","updated_at":"2026-04-07T09:31:07.628Z","avatar_url":"https://github.com/shreshthgoyal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmdX\n\nAn AI tool that converts natural language instructions into shell commands for the command line interface (CLI).\n\n\nhttps://github.com/shreshthgoyal/cmdX/assets/73751013/c7738fa6-d6fc-46ae-a3d1-5eadb4f7cf88\n\n\nThis is a CLI tool to provide commands based on the task in the cli itself. This is works on RAG with a custom knowledge base.\n\n## Install and Run\n```\n# In the project repository after setting up the env\n$ python -m venv venv\n$ source venv/bin/activate\n$ pip install -r requirements.txt\n$ python api.py  #to start the server\n$ python cli.py \"task\" or python cli.py #to query\n```\n\n## Usage\n\nSimply run  the app  followed by your query in natural language:\n\n    python cli.py \"find all txt files in the current directory\"\nor\n\n    python cli.py\n\nIt will interpret your command and offer a shell command suggestion with its explaination, which you can:\n\n-   **Edit**  to make adjustments\n-   **Run**  the command.\n-   **Exit**  if it's not what you were looking for\n\n## Features\n\n-   **Natural Language Understanding**: Easily convert your English sentences into shell commands.\n -  **Command Editing**: Directly edit the suggested command before execution, giving you full control.\n-   **Cross-Platform Support**: Whether you're on Linux, macOS, or Windows, NaturalShell works seamlessly.\n\n## Workflow\n\n![Sequence Diagram](https://i.ibb.co/dkw3gpW/Screenshot-2024-06-20-at-3-57-20-PM.jpg)\n\n## Contributing\n\nWe welcome contributions to cmdX! Whether it's adding new features, improving documentation, or reporting bugs, please feel free to make a pull request or open an issue.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreshthgoyal%2Fcmdx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshreshthgoyal%2Fcmdx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreshthgoyal%2Fcmdx/lists"}