{"id":13594412,"url":"https://github.com/yasyf/gpt-do","last_synced_at":"2026-01-19T11:07:31.738Z","repository":{"id":65037048,"uuid":"581104226","full_name":"yasyf/gpt-do","owner":"yasyf","description":"GPT-powered bash commands.","archived":false,"fork":false,"pushed_at":"2024-01-17T03:31:50.000Z","size":85,"stargazers_count":216,"open_issues_count":2,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-09-23T14:41:32.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/gpt-do/","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/yasyf.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}},"created_at":"2022-12-22T09:33:33.000Z","updated_at":"2024-08-29T07:20:11.000Z","dependencies_parsed_at":"2024-04-20T16:00:08.516Z","dependency_job_id":null,"html_url":"https://github.com/yasyf/gpt-do","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"95d64680a9b891624c22705768c799725da90d48"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasyf%2Fgpt-do","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasyf%2Fgpt-do/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasyf%2Fgpt-do/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasyf%2Fgpt-do/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yasyf","download_url":"https://codeload.github.com/yasyf/gpt-do/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223375324,"owners_count":17135351,"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":[],"created_at":"2024-08-01T16:01:33.104Z","updated_at":"2026-01-19T11:07:31.732Z","avatar_url":"https://github.com/yasyf.png","language":"Python","funding_links":[],"categories":["Python","\u003ca name=\"copilot\"\u003e\u003c/a\u003eCo-pilot"],"sub_categories":[],"readme":"# `gpt-do`\n\nThis is a handy-dandy CLI for when you don't know wtf to do.\n\nInstead of furiously grepping through man pages, simply use `do` (or `ddo` if on `bash`/`zsh`), and have GPT-3 do all the magic for you.\n\nCheck out the blog post [here](https://musings.yasyf.com/never-write-a-bash-command-again-with-gpt-3/).\n\n## Demo\n\nClick to play:\n\n[![asciicast](https://asciinema.org/a/oXRkVfVsxvUFq4SFjrstgsZck.png)](https://asciinema.org/a/oXRkVfVsxvUFq4SFjrstgsZck?i=0.5\u0026autoplay=1)\n\n## Installation\n\nWe recommend using [`pipx`](https://pypa.github.io/pipx/):\n\n```console\n$ pipx install gpt-do\n$ which do\n~/.local/bin/do\n```\n\nHowever you can also use `brew`:\n\n```console\n$ brew install yasyf/do/do\n$ which do\n/opt/homebrew/bin/do\n```\n\nOr `pip`:\n\n```console\n$ pip install gpt-do\n$ which do\n~/.asdf/installs/python/3.11.0/bin/do\n```\n\n## Usage\n\n**n.b.** If you're on `bash` or `zsh`, `do` is a reserved keyword, so you'll have to use the alias `ddo`.\n\n**n.b.** The default model used is **GPT-3**. Please ensure you have sufficient credits in your OpenAI account to use it.\n\n```console\n$ export OPENAI_API_KEY=xxx # stick this in your bash_profile\n$ do amend the message of my last commit to \"It works!\"\nThis command will amend the message of the last commit to 'It works!'.\ngit commit --amend -m 'It works!'\nDo you want to continue? [y/N]: y\n[main 3e6a2f6] It works!!\n Date: Thu Dec 22 01:15:40 2022 -0800\n 5 files changed, 1088 insertions(+)\n create mode 100644 .gitignore\n create mode 100644 .gitmodules\n create mode 100644 README.md\n create mode 100644 poetry.lock\n create mode 100644 pyproject.toml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasyf%2Fgpt-do","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasyf%2Fgpt-do","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasyf%2Fgpt-do/lists"}