A Typescript Express.js App
Google Search Integration for ChatGPT is a plugin that allows you to seamlessly perform Google searches and retrieve information from search results directly within the ChatGPT environment. This enhances your ChatGPT experience by providing relevant information at your fingertips.
A comprehensive guide to creating chatGPT plugin using Nodejs
Requirements:
- Access to ChatGPT plugins
- A ChatGPT Plus account
- Google search API key
Dependencies:
{
"axios": "^1.3.6",
"cheerio": "^1.0.0-rc.12",
"dotenv": "^16.0.3",
"express": "^4.18.2"
}
- Perform Google searches right from ChatGPT
- Retrieve top search results
- Clone this repository:
git clone https://github.com/kevinamiri/chatgpt-plugin-googlesearch.git
- Navigate to the project directory:
cd chatgpt-plugin-googlesearch
- Install dependencies:
npm install
- Start the Express server:
cd src
npx ts-node index.ts
This project depends on OpenAI plugins and Google Search API. To set up your plugin correctly, please follow these steps:
-
Read the documentation for both dependencies:
-
Ensure you have proper authentication in place, as this example does not provide it.
-
Verify that your plugin meets all the requirements specified in the OpenAI and Google Search API documentation.
- Fork the repository on GitHub
- Create a new branch with a descriptive name, e.g.,
git checkout -b my-new-feature
- Make changes to the code, ensuring that it follows the existing style and conventions
- Commit your changes, using clear and informative commit messages
- Push your changes to your forked repository
- Open a pull request against the main repository, describing your changes and how they improve the project
- Wait for a review and respond to any feedback or requested changes
This project is licensed under the MIT License - see the LICENSE file for details.