<p align="center">
<a href="https://github.com/nilbasora/GPTDriver"><img src="https://github.com/nilbasora/GPTDriver/assets/32940624/4c97f7da-f44a-401e-bdc0-1a36ab400834" alt="GPTDriver"></a>
</p>
<p align="center">
<em>Take control of ChatGPT effortlessly with GPTDriver: Simplified interaction, no API key required.</em>
</p>
<p align="center">
<a href="https://github.com/nilbasora/GPTDriver/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
<img src="https://github.com/nilbasora/GPTDriver/workflows/Test/badge.svg?event=push&branch=master" alt="Test">
</a>
<a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/nilbasora/GPTDriver" target="_blank">
<img src="https://coverage-badge.samuelcolvin.workers.dev/nilbasora/GPTDriver.svg" alt="Coverage">
</a>
<a href="https://pypi.org/project/GPTDriver" target="_blank">
<img src="https://img.shields.io/pypi/v/GPTDriver?color=%2334D058&label=pypi%20package" alt="Package version">
</a>
</p>
<div style="display: flex; justify-content: center;">
<p align="center">
<img src="https://img.shields.io/github/downloads/ShaanCoding/ReadME-Generator/total" alt="Downloads">
<img src="https://img.shields.io/github/contributors/ShaanCoding/ReadME-Generator?color=dark-green" alt="Contributors">
<img src="https://img.shields.io/github/issues/ShaanCoding/ReadME-Generator" alt="Issues">
</p>
</div>
---
**Documentation**: Coming Soon!
**Source Code**: <a href="https://github.com/nilbasora/GPTDriver" target="_blank">https://github.com/nilbasora/GPTDriver</a>
---
## About The Project
GPTDriver is a Python library developed to simplify the process of interacting with OpenAI's ChatGPT model. With GPTDriver, you can control ChatGPT through command lines, allowing for easy integration and seamless communication with the language model.
ChatGPT, powered by OpenAI, is a state-of-the-art language model capable of generating human-like text based on prompts provided to it. However, interacting with the ChatGPT user interface manually can be cumbersome and time-consuming. GPTDriver aims to streamline this process by leveraging Selenium, a web automation framework, to emulate human navigation through the ChatGPT website.
Rather than relying on the OpenAI API key for direct access to ChatGPT, GPTDriver automates the browser interactions required to communicate with the model. This approach provides a more convenient way to interact with ChatGPT and eliminates the need for handling HTTP requests or managing API keys.
By using Selenium, GPTDriver mimics human behavior while navigating the ChatGPT website. It can log in to your OpenAI account, create new chat sessions, send prompts, and retrieve responses, all through command lines. This approach provides a natural and intuitive way to control ChatGPT and integrate it into your Python projects.
Key features of GPTDriver include:
* Simple command line interface for controlling ChatGPT.
* Emulation of human navigation through the ChatGPT website using Selenium.
* Automated login process for OpenAI account authentication.
* Ability to create new chats and maintain multiple chat sessions.
* Seamless sending of prompts to ChatGPT and retrieving responses.
* ~~Support for customization, including chat history and system messages.~~
GPTDriver aims to empower developers and researchers by providing a user-friendly and efficient way to leverage the capabilities of ChatGPT. With GPTDriver, you can harness the power of ChatGPT's natural language processing by emulating human interactions with the ChatGPT user interface.
## Getting Started
This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.
### Requirements
Python 3.6+
ChatGPT account (free or plus)
Chromedriver (+Chrome)
### Installation
<div class="termy">
```console
$ pip install GPTDriver
---> 100%
```
</div>
## Usage
Coming Soon!
## Roadmap
See the [open issues](https://github.com/nilbasora/GPTDriver/issues) for a list of proposed features (and known issues).
- [x] Create the basic structure to post/get prompts
- [ ] Models selector
- [x] GPT 3.5
- [ ] GPT 4
- [ ] GPT 4 with browser
- [ ] Authentification methods
- [x] Email
- [x] Google
- [ ] Microsoft
- [ ] Apple
- [ ] Follow old conversations
- [x] Automatic "plus" user detection
- [ ] Add Tests
## Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
- If you have suggestions for adding or removing projects, feel free to [open an issue](https://github.com/nilbasora/GPTDriver/issues/new) to discuss it, or directly create a pull request after you edit the _README.md_ file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Please also read through the [Code Of Conduct](https://github.com/nilbasora/GPTDriver/CODE_OF_CONDUCT.md) before posting your first idea as well.
### Creating A Pull Request
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## License
Distributed under the MIT License. See [LICENSE](https://github.com/nilbasora/GPTDriver/LICENSE) for more information.
## Authors
- **[Nil Basora](https://github.com/nilbasora/)** - _Data Scientist_
## Contributors
Raw data
{
"_id": null,
"home_page": "https://github.com/nilbasora/GPTDriver",
"name": "GPTDriver",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "GPT,OpenAI,ChatGPT,Selenium,Driver",
"author": "Nil Basora",
"author_email": "nilbasora@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6a/d7/50f10f2e98a917c011c2f5cad648ce23be158e4d4480869596954783b3ee/GPTDriver-0.1.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/nilbasora/GPTDriver\"><img src=\"https://github.com/nilbasora/GPTDriver/assets/32940624/4c97f7da-f44a-401e-bdc0-1a36ab400834\" alt=\"GPTDriver\"></a>\n</p>\n<p align=\"center\">\n <em>Take control of ChatGPT effortlessly with GPTDriver: Simplified interaction, no API key required.</em>\n</p>\n<p align=\"center\">\n<a href=\"https://github.com/nilbasora/GPTDriver/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster\" target=\"_blank\">\n <img src=\"https://github.com/nilbasora/GPTDriver/workflows/Test/badge.svg?event=push&branch=master\" alt=\"Test\">\n</a>\n<a href=\"https://coverage-badge.samuelcolvin.workers.dev/redirect/nilbasora/GPTDriver\" target=\"_blank\">\n <img src=\"https://coverage-badge.samuelcolvin.workers.dev/nilbasora/GPTDriver.svg\" alt=\"Coverage\">\n</a>\n<a href=\"https://pypi.org/project/GPTDriver\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/v/GPTDriver?color=%2334D058&label=pypi%20package\" alt=\"Package version\">\n</a>\n</p>\n\n<div style=\"display: flex; justify-content: center;\">\n <p align=\"center\">\n <img src=\"https://img.shields.io/github/downloads/ShaanCoding/ReadME-Generator/total\" alt=\"Downloads\">\n <img src=\"https://img.shields.io/github/contributors/ShaanCoding/ReadME-Generator?color=dark-green\" alt=\"Contributors\">\n <img src=\"https://img.shields.io/github/issues/ShaanCoding/ReadME-Generator\" alt=\"Issues\">\n </p>\n</div>\n\n---\n\n**Documentation**: Coming Soon!\n\n**Source Code**: <a href=\"https://github.com/nilbasora/GPTDriver\" target=\"_blank\">https://github.com/nilbasora/GPTDriver</a>\n\n---\n\n## About The Project\n\nGPTDriver is a Python library developed to simplify the process of interacting with OpenAI's ChatGPT model. With GPTDriver, you can control ChatGPT through command lines, allowing for easy integration and seamless communication with the language model.\n\nChatGPT, powered by OpenAI, is a state-of-the-art language model capable of generating human-like text based on prompts provided to it. However, interacting with the ChatGPT user interface manually can be cumbersome and time-consuming. GPTDriver aims to streamline this process by leveraging Selenium, a web automation framework, to emulate human navigation through the ChatGPT website.\n\nRather than relying on the OpenAI API key for direct access to ChatGPT, GPTDriver automates the browser interactions required to communicate with the model. This approach provides a more convenient way to interact with ChatGPT and eliminates the need for handling HTTP requests or managing API keys.\n\nBy using Selenium, GPTDriver mimics human behavior while navigating the ChatGPT website. It can log in to your OpenAI account, create new chat sessions, send prompts, and retrieve responses, all through command lines. This approach provides a natural and intuitive way to control ChatGPT and integrate it into your Python projects.\n\nKey features of GPTDriver include:\n\n* Simple command line interface for controlling ChatGPT.\n* Emulation of human navigation through the ChatGPT website using Selenium.\n* Automated login process for OpenAI account authentication.\n* Ability to create new chats and maintain multiple chat sessions.\n* Seamless sending of prompts to ChatGPT and retrieving responses.\n* ~~Support for customization, including chat history and system messages.~~\n\nGPTDriver aims to empower developers and researchers by providing a user-friendly and efficient way to leverage the capabilities of ChatGPT. With GPTDriver, you can harness the power of ChatGPT's natural language processing by emulating human interactions with the ChatGPT user interface.\n\n## Getting Started\n\nThis is an example of how you may give instructions on setting up your project locally.\nTo get a local copy up and running follow these simple example steps.\n\n### Requirements\n\nPython 3.6+\n\nChatGPT account (free or plus)\n\nChromedriver (+Chrome)\n\n### Installation\n\n<div class=\"termy\">\n\n```console\n$ pip install GPTDriver\n\n---> 100%\n```\n\n</div>\n\n## Usage\n\nComing Soon!\n\n## Roadmap\n\nSee the [open issues](https://github.com/nilbasora/GPTDriver/issues) for a list of proposed features (and known issues).\n\n- [x] Create the basic structure to post/get prompts\n- [ ] Models selector\n - [x] GPT 3.5\n - [ ] GPT 4\n - [ ] GPT 4 with browser\n- [ ] Authentification methods\n - [x] Email\n - [x] Google\n - [ ] Microsoft\n - [ ] Apple\n- [ ] Follow old conversations\n- [x] Automatic \"plus\" user detection\n- [ ] Add Tests\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n- If you have suggestions for adding or removing projects, feel free to [open an issue](https://github.com/nilbasora/GPTDriver/issues/new) to discuss it, or directly create a pull request after you edit the _README.md_ file with necessary changes.\n- Please make sure you check your spelling and grammar.\n- Create individual PR for each suggestion.\n- Please also read through the [Code Of Conduct](https://github.com/nilbasora/GPTDriver/CODE_OF_CONDUCT.md) before posting your first idea as well.\n\n### Creating A Pull Request\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nDistributed under the MIT License. See [LICENSE](https://github.com/nilbasora/GPTDriver/LICENSE) for more information.\n\n## Authors\n\n- **[Nil Basora](https://github.com/nilbasora/)** - _Data Scientist_\n\n## Contributors\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Selenium Driver to Control ChatGPT from Command Lines",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/nilbasora/GPTDriver"
},
"split_keywords": [
"gpt",
"openai",
"chatgpt",
"selenium",
"driver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b2e52e5383fd2885c6235faad987097025a587d9b70a20b17315d372e5796700",
"md5": "2cef0bc2ae40d62a7b7daca28ea26b7c",
"sha256": "b439be4f3be3a4f4c407553bc03401f4282758eec68c98d3930e2cd1d82ce921"
},
"downloads": -1,
"filename": "GPTDriver-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2cef0bc2ae40d62a7b7daca28ea26b7c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7196,
"upload_time": "2023-07-06T18:28:21",
"upload_time_iso_8601": "2023-07-06T18:28:21.195206Z",
"url": "https://files.pythonhosted.org/packages/b2/e5/2e5383fd2885c6235faad987097025a587d9b70a20b17315d372e5796700/GPTDriver-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6ad750f10f2e98a917c011c2f5cad648ce23be158e4d4480869596954783b3ee",
"md5": "4a54af0ec3dde04be3bf0e1e3f5071ee",
"sha256": "946d6d6bea7c384baad2d05fa252fd9a1d20cf2e94d606259044deefff93ee97"
},
"downloads": -1,
"filename": "GPTDriver-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "4a54af0ec3dde04be3bf0e1e3f5071ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7095,
"upload_time": "2023-07-06T18:28:22",
"upload_time_iso_8601": "2023-07-06T18:28:22.582865Z",
"url": "https://files.pythonhosted.org/packages/6a/d7/50f10f2e98a917c011c2f5cad648ce23be158e4d4480869596954783b3ee/GPTDriver-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-06 18:28:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nilbasora",
"github_project": "GPTDriver",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "gptdriver"
}