{"id":13584975,"url":"https://github.com/TheLime1/aichat-cli","last_synced_at":"2025-04-07T06:32:08.584Z","repository":{"id":165542409,"uuid":"640682336","full_name":"TheLime1/aichat-cli","owner":"TheLime1","description":"a command-line interface chatbot. It allows you to have interactive conversations with different bots, including GPT4 FOR FREE","archived":true,"fork":false,"pushed_at":"2024-01-08T22:16:05.000Z","size":141,"stargazers_count":97,"open_issues_count":4,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T00:36:30.362Z","etag":null,"topics":["ai","bard","bing","chatgpt","claude-ai","cli","gpt4","poe"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/aichat-cli/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheLime1.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,"publiccode":null,"codemeta":null}},"created_at":"2023-05-14T22:01:29.000Z","updated_at":"2025-02-10T08:39:43.000Z","dependencies_parsed_at":"2024-01-08T23:28:17.607Z","dependency_job_id":null,"html_url":"https://github.com/TheLime1/aichat-cli","commit_stats":null,"previous_names":["thelime1/gpt-cli","thelime1/aichat-cli"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLime1%2Faichat-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLime1%2Faichat-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLime1%2Faichat-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLime1%2Faichat-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheLime1","download_url":"https://codeload.github.com/TheLime1/aichat-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247607223,"owners_count":20965941,"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","bard","bing","chatgpt","claude-ai","cli","gpt4","poe"],"created_at":"2024-08-01T15:04:38.312Z","updated_at":"2025-04-07T06:32:08.578Z","avatar_url":"https://github.com/TheLime1.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Ai Chat CLI\n\n[![PyPI version](https://img.shields.io/pypi/v/aichat-cli.svg)](https://pypi.org/project/aichat-cli/)\n\n\u003e [!WARNING]\n\u003e This project is no longer maintained.\n\u003e if you want to continue chatting with GPT4 in the Terminal ,  [you can use this](https://github.com/TheLime1/CheatoMate)\n\nA command-line interface chatbot. It allows you to have interactive conversations with different bots, including GPT4 FOR FREE\n\nCheck the web version [here](https://github.com/TheLime1/gptCensorFree) (WIP).\n\nThanks to [@Lomusire](https://github.com/Lomusire) for providing premium tokens ❤️.\n\nWe are in a race with poe.com devs baning our tokens, you can help by [generating tokens](https://drive.google.com/file/d/1D9oHx_com_cn_XzZfcQ7XLGyQ9xUtSAG/view?usp=sharing). \n\nUpdated poe.com token list [here](https://raw.githubusercontent.com/TheLime1/online-proxy-list/main/poe_token_check/poe_tokens.txt).\n\n## Features✨\n\n- Choose between different bots.\n- Input messages for the chatbot via command-line arguments or interactively.\n- Export the conversation to a .txt file for future reference.\n- Insert your clipboard for multiple-line messages.\n- Delete your messages to respect your privacy.\n- Updated tokens each day\n\n## Prerequisites📋\n\n- Python 3.7 or higher installed on your system.\n\n## Getting Started🚀\n\n1. Clone or download the CLI app repository to your local machine.\n\n2. Open a command-line interface (e.g., Command Prompt, Terminal) and navigate to the directory where you have saved the GPT CLI files.\n\n3. Install the required dependencies by running the following command:\n```\npip install -r requirements.txt\n```\n\n4. Run the CLI app:\n\n```\ncd aichat\npython chatcli.py\n```\n\n## OR download it using pip📥📦\n\n```\npip install aichat-cli --upgrade\n```\n\n\u003cdetails\u003e\n\u003csummary\u003e📦#####How to add pip package to PATH#####📦\u003c/summary\u003e\n\n1. Open the command prompt.\n2. Type `pip show aichat-cli` and press Enter. This will show you the location of the package.\n3. Copy the path of the package.\n4. Open the Start menu and search for “Environment Variables”.\n5. Click on “Edit the system environment variables”.\n6. Click on “Environment Variables” button.\n7. Under “System Variables”, scroll down and find “Path” and click on “Edit”.\n8. Click on “New” and paste the path of the package that you copied earlier.\n9.  Click on “OK” to save changes.\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003e🔐#####How To generate tokens manually#####🔐\u003c/summary\u003e\n\n---\n### poe token\n\nLog into [Poe](https://poe.com/) on any web browser, then open your browser's developer tools (also known as \"inspect\") and look for the value of the `p-b` cookie in the following menus:\n\nChromium: Devtools \u003e Application \u003e Cookies \u003e poe.com\n\nFirefox: Devtools \u003e Storage \u003e Cookies\n\nSafari: Devtools \u003e Storage \u003e Cookies\n\nthen save the token by creating `poe_token.txt` in `/aichat/tokens`\n\n---\n\n### Bard token\n\nLog into [Bard](https://bard.google.com/) on any web browser, then open your browser's developer tools (also known as \"inspect\") and look for the value of the `__Secure-1PSID` cookie in the following menus:\n(tip : copy the cookie name to the filter box)\n\nChromium: Devtools \u003e Application \u003e Cookies \u003e bard.google.com\n\nFirefox: Devtools \u003e Storage \u003e Cookies\n\nSafari: Devtools \u003e Storage \u003e Cookies\n\nthen save the token by creating `bard_token.txt` in `/aichat/tokens`\n\u003e :warning: **Warning:** Be careful using Bard tokens; they are Google account tokens.\n\n---\n\n### Bing token\n\nNot required.\n\n---\n\n\u003c/details\u003e\n\n## Usage📝\n\nThis CLI app supports the following command-line arguments:\n\n- `-b` or `--bot`: Choose the bot for the conversation. Valid options are provided by the application.\nExample: `python chatcli.py -b chatgpt`\n\n- `-m` or `--message`: Input a message for the chatbot.\nExample: `python chatcli.py -b sage -m \"Hello, how are you?\"`\n\n- For more info, use `-h` or `--help` to see the help message.\n\nIf you don't provide any command-line arguments, the app will prompt you to choose a bot and enter a message interactively.\n\nOnce the conversation starts, you can continue the interaction by typing your messages or selecting options from the menu. The menu options include changing the bot or exporting the conversation to a .txt file.\n\n## Notes📌\n\n- If the app cannot find the `token.txt` file or the file is empty, it will automatically generate a new token using the `token_gen.py` in `/aichat/token_gen` script provided.\n\n- The CLI app also supports the use of premium tokens , so you can be able to use GPT4.\n\n- The conversation history is stored within the app and is not persistent between sessions.\n\nFeel free to customize and enhance the GPT CLI app according to your needs. Happy **chatting**!\n\n![image](https://github.com/TheLime1/gpt-cli/assets/47940043/e5ee768c-097c-4e10-8299-238df348b882)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheLime1%2Faichat-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTheLime1%2Faichat-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheLime1%2Faichat-cli/lists"}