{"id":15175599,"url":"https://github.com/alexoarga/co-bash","last_synced_at":"2026-02-28T00:38:24.053Z","repository":{"id":65222812,"uuid":"588551834","full_name":"alexOarga/co-bash","owner":"alexOarga","description":"A CLI tool that transforms natural language into bash commands","archived":false,"fork":false,"pushed_at":"2023-01-13T13:26:34.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-02T22:45:47.540Z","etag":null,"topics":["bash","cli","cohere","language-model","machine-learning","natural-language-processing"],"latest_commit_sha":null,"homepage":"","language":"Python","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/alexOarga.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}},"created_at":"2023-01-13T11:56:52.000Z","updated_at":"2023-01-15T14:42:05.000Z","dependencies_parsed_at":"2023-01-15T16:15:26.303Z","dependency_job_id":null,"html_url":"https://github.com/alexOarga/co-bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexOarga%2Fco-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexOarga%2Fco-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexOarga%2Fco-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexOarga%2Fco-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexOarga","download_url":"https://codeload.github.com/alexOarga/co-bash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240139114,"owners_count":19754050,"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":["bash","cli","cohere","language-model","machine-learning","natural-language-processing"],"created_at":"2024-09-27T12:39:38.619Z","updated_at":"2026-02-28T00:38:24.001Z","avatar_url":"https://github.com/alexOarga.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# _co:bash_ - Cohere powered bash commands\n\n![pypi](https://img.shields.io/pypi/v/co-bash)\n\n_co:bash_ is a CLI tool for converting natural language into\nbash commands. It is powered by [Cohere](https://cohere.ai).\n\n![screenshot example](docs/screen.png)\n\n# Install\n\n_co:bash_ can be installed via `pip`:\n\n    pip install co-bash\n\n# Setup\n\nTo use _co:bash_ you will need your own Cohere API key. You can get one at [cohere.ai](https://cohere.ai). \nYou can set your API key in the environment variable `COHERE_API_KEY`. I suggest adding this to your `.bashrc` file.\n\n```bash\nexport COHERE_API_KEY=XXXXXXXXXX\n```\n\nOptional: You can also set the Cohere model you want to use\nwith the environment variable `COHERE_MODEL`:\n\n```bash\nexport COHERE_MODEL=xlarge\n```\n\n# Usage\n\nJust use the `co` command to run _co:bash_:\n\n```console\n$ co \u003carguments\u003e\n```\n\n# Example\n\n```console\n$ co create a git commit with message 'initial commit'\nSuggested command:\n    git commit -m 'initial commit'\nExecute? [y/N]: y\n[master (commit-raíz) d55572b] initial commit\n 19 files changed, 561 insertions(+)\n create mode 100644 LICENSE\n create mode 100644 README.md\n create mode 100644 co/__init__.py\n create mode 100644 co/cohere.py\n create mode 100644 co/constants.py\n create mode 100644 co/entrypoint.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexoarga%2Fco-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexoarga%2Fco-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexoarga%2Fco-bash/lists"}