# ChatGPT CLI Client
## Installation
### Manual Installation
git clone https://github.com/hansololz/rubberduck-ai.git
cd rubberduck-ai
python setup.py install
### Installation (pip)
pip install rubberduck-ai
## Authentication
### Authentication Token
The CLI tool requires Open AI authentication token. Token can be obtained
by going to https://platform.openai.com/account/api-keys.
### Authentication Methods
Choose one of these options to authenticate the CLI tool:
- Set the environment variable: `OPENAI_API_KEY=<AUTHENTICATION_TOKEN>`.
- Use a command argument: `rda --openai-api-key=<AUTHENTICATION_TOKEN>`.
- Enter the API key when prompted while running the CLI tool.
## Usage
### Evaluation Loop
Run the application:
rda
#### Supported Commands
- .n .new: Create new session
- .p .print: Print current session
- .s .sessions: Change chat session
- cd clear ls: Session supported bash commands
- cd cls dir: Session supported cmd commands
### Single Prompt
Process a single prompt with:
rda <SINGLE_PROMPT> --openai-api-key=<AUTHENTICATION_TOKEN>
Raw data
{
"_id": null,
"home_page": "https://github.com/hansololz/rubberduck-ai",
"name": "open-coder",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "rda,openai,ChatGPT,chat",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/24/1e/df107029b8e77f5d27aa9b2f3da8dcfc8fbcecf2d4151473a38aaf31b7a5/open-coder-0.5.8.tar.gz",
"platform": null,
"description": "# ChatGPT CLI Client\n\n## Installation\n\n### Manual Installation\n\n git clone https://github.com/hansololz/rubberduck-ai.git\n cd rubberduck-ai\n python setup.py install\n\n### Installation (pip)\n\n pip install rubberduck-ai\n\n## Authentication\n\n### Authentication Token\nThe CLI tool requires Open AI authentication token. Token can be obtained \nby going to https://platform.openai.com/account/api-keys.\n\n### Authentication Methods\nChoose one of these options to authenticate the CLI tool:\n- Set the environment variable: `OPENAI_API_KEY=<AUTHENTICATION_TOKEN>`.\n- Use a command argument: `rda --openai-api-key=<AUTHENTICATION_TOKEN>`.\n- Enter the API key when prompted while running the CLI tool.\n\n## Usage\n\n### Evaluation Loop\nRun the application:\n \n rda\n\n#### Supported Commands\n- .n .new: Create new session\n- .p .print: Print current session \n- .s .sessions: Change chat session\n- cd clear ls: Session supported bash commands\n- cd cls dir: Session supported cmd commands\n\n### Single Prompt\nProcess a single prompt with:\n\n rda <SINGLE_PROMPT> --openai-api-key=<AUTHENTICATION_TOKEN>\n",
"bugtrack_url": null,
"license": "GPL",
"summary": "A CLI tool for ChatGPT.",
"version": "0.5.8",
"split_keywords": [
"rda",
"openai",
"chatgpt",
"chat"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "01657045a3ccb31ec00d84f424ae83ffe7ee635743e2d58741858cd1c814590c",
"md5": "0845fc391df5c360c1670255b3bac014",
"sha256": "a478a5239c70993d2c7e7fc83084fcc1e9ba88625335902a0244d80375c51431"
},
"downloads": -1,
"filename": "open_coder-0.5.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0845fc391df5c360c1670255b3bac014",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 26223,
"upload_time": "2023-04-04T07:23:19",
"upload_time_iso_8601": "2023-04-04T07:23:19.679015Z",
"url": "https://files.pythonhosted.org/packages/01/65/7045a3ccb31ec00d84f424ae83ffe7ee635743e2d58741858cd1c814590c/open_coder-0.5.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "241edf107029b8e77f5d27aa9b2f3da8dcfc8fbcecf2d4151473a38aaf31b7a5",
"md5": "90a79f5ccfe3fe7d8cbb695be77bff9a",
"sha256": "b073af156000f00b0cc273556c7b14ac01e4f64048054d9cdce40eaafe0b975d"
},
"downloads": -1,
"filename": "open-coder-0.5.8.tar.gz",
"has_sig": false,
"md5_digest": "90a79f5ccfe3fe7d8cbb695be77bff9a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 22988,
"upload_time": "2023-04-04T07:23:22",
"upload_time_iso_8601": "2023-04-04T07:23:22.014334Z",
"url": "https://files.pythonhosted.org/packages/24/1e/df107029b8e77f5d27aa9b2f3da8dcfc8fbcecf2d4151473a38aaf31b7a5/open-coder-0.5.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-04 07:23:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansololz",
"github_project": "rubberduck-ai",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "open-coder"
}