{"id":13643799,"url":"https://github.com/jucasoliveira/terminalgpt","last_synced_at":"2025-04-21T02:31:46.007Z","repository":{"id":65175036,"uuid":"585443901","full_name":"jucasoliveira/terminalGPT","owner":"jucasoliveira","description":"Get GPT like chatGPT on your terminal","archived":false,"fork":false,"pushed_at":"2023-11-22T21:40:43.000Z","size":728,"stargazers_count":983,"open_issues_count":5,"forks_count":181,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-05-22T11:31:44.829Z","etag":null,"topics":["ai","bash","chatgpt","chatgpt-api","cli","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jucasoliveira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-05T07:25:12.000Z","updated_at":"2024-05-22T04:22:15.000Z","dependencies_parsed_at":"2024-01-13T00:38:30.515Z","dependency_job_id":"ebbec02e-4c1c-4e3d-9141-0a237584ddd6","html_url":"https://github.com/jucasoliveira/terminalGPT","commit_stats":null,"previous_names":[],"tags_count":21,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jucasoliveira%2FterminalGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jucasoliveira%2FterminalGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jucasoliveira%2FterminalGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jucasoliveira%2FterminalGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jucasoliveira","download_url":"https://codeload.github.com/jucasoliveira/terminalGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223846510,"owners_count":17213200,"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":["ai","bash","chatgpt","chatgpt-api","cli","typescript"],"created_at":"2024-08-02T01:01:52.745Z","updated_at":"2024-11-09T15:32:03.889Z","avatar_url":"https://github.com/jucasoliveira.png","language":"TypeScript","funding_links":[],"categories":["CLIs"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"200\" alt=\"TerminalGPT logo\" src=\"https://github.com/jucasoliveira/terminalGPT/assets/11979969/f371e361-6c74-4a5b-9634-c537aa6db21d\"/\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n   \u003cimg width=\"80\" alt=\"TerminalGPT logo\" src=\"https://img.shields.io/github/actions/workflow/status/jucasoliveira/terminalGPT/pr.yml\"/\u003e\n   \u003cimg width=\"100\" alt=\"TerminalGPT logo\" src=\"https://img.shields.io/npm/dt/terminalgpt\"/\u003e\n   \u003cimg width=\"100\" alt=\"TerminalGPT logo\" src=\"https://img.shields.io/github/contributors/jucasoliveira/terminalGPT\"/\u003e\n   \u003cimg width=\"100\" alt=\"TerminalGPT logo\" src=\"https://img.shields.io/github/package-json/v/jucasoliveira/terminalGPT\"/\u003e\n\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nGet GPT-like chatGPT on your terminal\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003cimg alt=\"TerminalGPT logo\" src=\"https://github.com/jucasoliveira/terminalGPT/assets/11979969/3de20615-87ad-4157-99ad-33ba2687214b\"/\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.producthunt.com/posts/terminalgpt?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-terminalgpt\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=373888\u0026theme=light\" alt=\"terminalGPT - Use\u0026#0032;OpenAi\u0026#0032;like\u0026#0032;chatGPT\u0026#0044;\u0026#0032;on\u0026#0032;your\u0026#0032;terminal | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Stats\n\n\u003cp align=\"center\"\u003e\n   \u003cimg alt=\"TerminalGPT logo\" src=\"https://repobeats.axiom.co/api/embed/92b8c74cac77f3fbb0e843cc3f6a36b01e7bd152.svg\"/\u003e\n\u003c/p\u003e\n\n\n\n\n## Prerequisites\n\nYou'll need to have your own `OpenAi` apikey to operate this package.\n\n1. Go to \u003chttps://platform.openai.com\u003e\n2. Select your profile menu and go to `View API Keys`\n3. Select `+ Create new secret key`\n4. Copy generated key\n\n# Installation\n\nInstall terminalGPT globally:\n\n```bash\nnpm -g install terminalgpt\n```\n\nor\n\n```bash\nyarn global add terminalgpt\n```\n\n## Start chat\n\n```bash\ntgpt chat\n```\n\nPS: If it is your first time running it, it will ask for open AI key, **paste generated key from pre-requisite steps**.\n\n## Options\n\n### Change engine and temperature\n\n```bash\ntgpt chat --engine \"gpt-4\" --temperature 0.7\n```\n\nNote this library uses [Chat Completions API](https://platform.openai.com/docs/api-reference/chat).\nThe `engine` parameter is the same as the `model` parameter in the API. The default value is `gpt-3.5-turbo`.\n\n### Use markdown\n\n```bash\ntgpt chat --markdown\n```\n\n## Change or delete api key\n\nIt you are not satisfied or added a wrong api key, run\n\n```bash\ntgpt delete\n```\n\n## Using with npx\n\n```bash\nnpx terminalgpt\n```\n\n```bash\nnpx terminalgpt \u003ccommand\u003e\n```\n\nNote `npx terminalgpt` doesn't install the terminalgpt package, instead it downloads the package to your computer and directly executes it from the cache.\n\nYou can find the package using\n\n`ls ~/.npm/_npx/*/node_modules`\n\nTo delete the package, you can use\n\n`rm -r ~/.npm/_npx/*/node_modules/terminalgpt`\n\n## Contributing\n\nRefer to CONTRIBUTING.md 😎\n\n## ✨ Contributors\n\n\u003ca href=\"https://github.com/jucasoliveira/terminalGPT/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=jucasoliveira/terminalGPT\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjucasoliveira%2Fterminalgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjucasoliveira%2Fterminalgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjucasoliveira%2Fterminalgpt/lists"}