{"id":23153344,"url":"https://github.com/msoup/cli-assistant","last_synced_at":"2026-04-13T12:01:47.416Z","repository":{"id":213366937,"uuid":"729356782","full_name":"MSoup/cli-assistant","owner":"MSoup","description":"A CLI tool: send a prompt to a model of your choice. Currently supports GPT 3.5 turbo and 4 turbo. Support for other LLMs coming","archived":false,"fork":false,"pushed_at":"2024-09-06T14:04:34.000Z","size":417,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T08:38:05.566Z","etag":null,"topics":["bash","cli","generative-ai","openai","openai-api","python3"],"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/MSoup.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-12-09T01:40:14.000Z","updated_at":"2024-09-06T14:04:34.000Z","dependencies_parsed_at":"2023-12-20T17:06:16.962Z","dependency_job_id":"2de9d663-519c-4582-8fcf-ba98bf9bbfa3","html_url":"https://github.com/MSoup/cli-assistant","commit_stats":null,"previous_names":["msoup/cli-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MSoup/cli-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSoup%2Fcli-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSoup%2Fcli-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSoup%2Fcli-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSoup%2Fcli-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MSoup","download_url":"https://codeload.github.com/MSoup/cli-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MSoup%2Fcli-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bash","cli","generative-ai","openai","openai-api","python3"],"created_at":"2024-12-17T19:33:15.572Z","updated_at":"2026-04-13T12:01:47.373Z","avatar_url":"https://github.com/MSoup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPT CLI\n\nThis command-line interface (CLI) tool enables the use of LLM models directly from your terminal. It is designed to be cost-effective by utilizing the latest \"turbo\" versions of the GPT models, including GPT 4 turbo, and Anthropic Claude as well.\n\nEdit Dec 2023: I made a terrible mistake; the original way to invoke this cli tool was `gpt \u003cprompt\u003e`, but it never occured to me that `gpt` is an existing tool--[GUID partition table maintenance utulity](https://www.unix.com/man-page/OSX/8/gpt/). Silly me.\n\n## Table of Contents\n\n- [Usage](#usage)\n- [Prerequisites](#prerequisites)\n- [Configuration](#configuration)\n- [Installation](#installation)\n\n## Usage\n\n```bash\n% prompt \"Hello, GPT3.5-turbo!\"\nHello! How can I assist you today?\n==================================\nModel: gpt-3.5-turbo-1106 | Token usage: 27 | Cost: 0.0001 USD\n\n% prompt -v 4 \"Hello, GPT4-turbo!\"\nHello! How can I assist you today?\n==================================\nModel: gpt-4-1106-preview | Token usage: 27 | Cost: 0.0011 USD\n```\n\n### Images speak louder than words.\n\n![prompt](./preview_images/image3.png)\n\n## Prerequisites\n\n- Python 3.9 or higher (needed to create a virtual environment)\n- Python Pip\n\n## Installation\n\n```bash\ncd install_scripts\nchmod +x install.sh\nsource ./install.sh .bashrc (or .zshrc)\n```\n\n## Changing the invocation alias\n\nTo change the alias, go to `invoke_gpt.sh` and locate the function:\n\n```bash\nprompt() {\n    source $GPT_APP_PATH/venv/bin/activate\n    python3 $GPT_APP_PATH/src/app.py \"$@\"\n    deactivate\n}\n```\n\nChange this function name (`prompt`) to whatever you'd like.\n\nLastly, re-`source` your `.zshrc` or `.bashrc` to activate the invocation alias\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsoup%2Fcli-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsoup%2Fcli-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsoup%2Fcli-assistant/lists"}