{"id":14959673,"url":"https://github.com/mcdallas/gptask","last_synced_at":"2025-10-24T18:30:21.773Z","repository":{"id":109687788,"uuid":"609360439","full_name":"mcdallas/gptask","owner":"mcdallas","description":"Command line client for ChatGPT","archived":false,"fork":false,"pushed_at":"2023-03-07T22:59:45.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T03:33:58.419Z","etag":null,"topics":["chatgpt","cli","gpt-3","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/mcdallas.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":"2023-03-04T00:25:25.000Z","updated_at":"2023-07-21T12:22:41.000Z","dependencies_parsed_at":"2023-03-11T16:16:03.991Z","dependency_job_id":null,"html_url":"https://github.com/mcdallas/gptask","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"74f6929ce1dd4b48f9aabb0c75006ce81c76ccb9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcdallas%2Fgptask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcdallas%2Fgptask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcdallas%2Fgptask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcdallas%2Fgptask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcdallas","download_url":"https://codeload.github.com/mcdallas/gptask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238016199,"owners_count":19402530,"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","gpt-3","rust","rust-lang"],"created_at":"2024-09-24T13:20:34.587Z","updated_at":"2025-10-24T18:30:21.376Z","avatar_url":"https://github.com/mcdallas.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gptask\n\na CLI tool to interact with chatGPT\n\n## Installation \n``` bash\ncargo install gptask\nexport OPENAI_API_KEY=sk-WEz... # from https://platform.openai.com/account/api-keys\n```\n\n## Usage\nYou will need an OpenAI API key, and to set the environment variable `OPENAI_API_KEY`.\n\n``` bash\n\u003e\u003e\u003e gptask Who won the world series of poker in 1989?\nThe winner of the World Series of Poker in 1989 was Phil Hellmuth.\n\n\u003e\u003e\u003e gptask and who did he play against?\nIn the final heads-up match of the 1989 World Series of Poker Main\nEvent, Phil Hellmuth played against the legendary poker player\nJohnny Chan. The two players battled for several hours before Phil \nHellmuth was able to defeat Chan to win the championship.\n```\n\nThe context of the conversation will be remembered for 15 minutes, so you can continue an existing chat. Set the environment variable `GPTASK_TTL_SECONDS` to 0 to disable this.\n\n\n\nCombine with mdcat to format markdown and code snippets:\n\n``` bash\nask() { gptask \"$@\" | mdcat }\n```\n![image](https://user-images.githubusercontent.com/15388116/223573359-f24046a3-1b23-422a-9cb2-b226d43611a3.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcdallas%2Fgptask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcdallas%2Fgptask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcdallas%2Fgptask/lists"}