{"id":13497005,"url":"https://github.com/rupeshs/shortgpt","last_synced_at":"2025-07-10T12:31:14.655Z","repository":{"id":162590658,"uuid":"637113640","full_name":"rupeshs/shortgpt","owner":"rupeshs","description":"Ask shortgpt for instant and concise answers","archived":false,"fork":false,"pushed_at":"2023-05-07T15:46:33.000Z","size":140,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-31T13:34:07.958Z","etag":null,"topics":["artificial-intelligence","assistant","chatgpt","console-application","gpt","gpt3","gpt4","linux","llm","openai","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rupeshs.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-05-06T14:50:16.000Z","updated_at":"2024-10-12T15:35:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"27e5f2cc-5b97-4960-8fb6-fbea5ece5303","html_url":"https://github.com/rupeshs/shortgpt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshs%2Fshortgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshs%2Fshortgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshs%2Fshortgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshs%2Fshortgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rupeshs","download_url":"https://codeload.github.com/rupeshs/shortgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225637111,"owners_count":17500365,"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":["artificial-intelligence","assistant","chatgpt","console-application","gpt","gpt3","gpt4","linux","llm","openai","windows"],"created_at":"2024-07-31T20:00:20.746Z","updated_at":"2024-11-20T22:14:09.883Z","avatar_url":"https://github.com/rupeshs.png","language":"Rust","funding_links":[],"categories":["Projects","Applications"],"sub_categories":[],"readme":"# shortgpt \n\nshortgpt is an AI assistant console app for Windows/Linux/MacOS we can run it as command . It answers questions with less than 50 words,use GPT 3/4 from the terminal.\n\n![shortgot](https://raw.githubusercontent.com/rupeshs/shortgpt/main/images/shortgpt.png)\n\n## Features \n - Ask shortgpt for instant and concise answers\n - Add shortgpt to PATH environment and use it as command\n - You can use any one of the GPT model (gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314, gpt-3.5-turbo, gpt-3.5-turbo-0301)\n - Default model is gpt-3.5-turbo\n - Cost effective\n - Use -l to enable long text mode\n\n## Screenshots\n#### Windows\n![shortgot windows](https://raw.githubusercontent.com/rupeshs/shortgpt/main/images/shortgpt-win.PNG)\n#### Linux \n\n![shortgot linux](https://raw.githubusercontent.com/rupeshs/shortgpt/main/images/shortgpt_demo.PNG)\n\n## Usage and Options\n```\nUsage: shortgpt.exe [OPTIONS] \u003cquestion\u003e\n\nArguments:\n  \u003cquestion\u003e\n\nOptions:\n  -m, --model \u003cmodel\u003e              GPT model (gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314, gpt-3.5-turbo, gpt-3.5-turbo-0301) [default: gpt-3.5-turbo]\n  -t, --temperature \u003ctemperature\u003e  Sampling temperature to use, between 0 and 2 [default: 0.7]\n  -l, --long                       Turn on long text mode (50 words output limit off)\n  -h, --help                       Print help\n  -V, --version                    Print version\n```\n\n## Set OPENAI_API_KEY \nTo set OpenAI API key run the following command.\n### Windows\n To set OPENAI_API_KEY environment variable for the current `cmd` shell\n `set OPENAI_API_KEY=\u003cyourkey\u003e`\n\n To set OPENAI_API_KEY environment variable permanently\n\n`setx OPENAI_API_KEY “\u003cyourkey\u003e”`\n\n## Linux / MacOS\n\n`export OPENAI_API_KEY=yourkey`\n\nOr set it permanently on .bashrc or .zshrc file\n```\necho \"export OPENAI_API_KEY='yourkey'\" \u003e\u003e ~/.zshrc\nsource ~/.zshrc\necho $OPENAI_API_KEY\n```\n\n## Development\n\nTo run in the development mode run the following command :\n\n`cargo run -- \"hello\"`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frupeshs%2Fshortgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frupeshs%2Fshortgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frupeshs%2Fshortgpt/lists"}