Running ChatGPT queries on Postgres

Latest Version

Version
0.2.0
Update
February 5, 2023
Size
25.44KiB
Developer
Category
Users
21
Rating
1 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Tabs
Storage
Https://chat.openai.com/chat/*
See more

gpt2pg Extension

The extension works with the chatGPT website. When a ChatGPT user asks about SQL, ChatGPT will generate SQL code as a response. The extension looks for SQL code blocks generated in the in the HTML of a ChatGPT conversation and adds a \"Run SQL\" button element below it. The user can press the \"Run SQL\" to test the SQL generated by ChatGPT on a real database.

When a user presses the \"Run SQL\", the extension sends an HTTP request to the API, that will run the query, then send the result.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "gpt2pg", "version": "0.2.0", "description": "Running ChatGPT queries on Postgres", "permissions": ["tabs", "storage", "https://chat.openai.com/chat/*"], "host_permissions": ["https://chat.openai.com/chat/*"], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": ["https://chat.openai.com/chat/*"], "js": ["contentScript.js"] } ], "web_accessible_resources": [ { "resources": ["assets/elephant-icon.png"], "matches": ["https://*.openai.com/*"] } ], "action": { "default_icon": { "16": "assets/elephant-icon.png", "24": "assets/elephant-icon.png", "32": "assets/elephant-icon.png" }, "default_title": "Postgres for ChatGPT", "default_popup": "popup.html" }, "manifest_version": 3}
Read more

How to download and manually install gpt2pg extension for Chrome

Looking for a way to install gpt2pg extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install gpt2pg extensions manually, this article outlines two simple methods to effortlessly install gpt2pg extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download gpt2pg extension and manually install through Drag &Drop

If you ever need to manually install a gpt2pg extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the gpt2pg Extension by clicking the "Download CRX" button on the website.

Look for the gpt2pg extension you wish to install. Go to the website and download the gpt2pg extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for gpt2pg extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the gpt2pg extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download gpt2pg extension for Chrome and install in Developer Mode

This is another method to install gpt2pg extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the gpt2pg extension file

Select and download the gpt2pg extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the gpt2pg extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your gpt2pg extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the gpt2pg extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install gpt2pg extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

ChatGPT AutoContinuer Extension · Productivity 21 0 ★ 10.28KiB

icon

EXTENSION MANAGER PRO Extension · Productivity 21 0 ★ 3.93MiB

icon

Amazon Customer Service Helper Extension · Productivity 21 0 ★ 412KiB

icon

FC Extension Manager Extension · Developer Tools 21 3 ★ 128KiB

icon

ChatGPT Suffixes Extension · Productivity 21 2 ★ 11.81KiB

icon

SayData - Metabase ChatGPT Extension · Productivity 21 0 ★ 43.91KiB

icon

SQL Parser Extension · Developer Tools 21 1 ★ 21.58KiB

icon

Tilnote Saver (TILNOTE web clipper and side notes) Extension · Productivity 21 3 ★ 7.59MiB

icon

smartGPT Multi-Tab Extension Extension · Productivity 21 0 ★ 29.63KiB

icon

ChatGPT Prompts Extension · Productivity 21 1 ★ 1.07MiB

icon

Extension Manager Extension · Productivity 21 2 ★ 198KiB

icon

GPT Vokal Extension · Social & Communication 21 0 ★ 43.5KiB

icon

Automagic: auto-reload script for ChatGPT Extension · Productivity 21 0 ★ 149KiB

icon

Lane Exension Manager Extension · Productivity 21 0 ★ 170KiB

icon

Extension manager Extension · Productivity 21 9 ★ 171KiB

icon

AI Code Reviewer Extension · Developer Tools 21 1 ★ 84.8KiB

icon

ChatGPT Secure Extension · Productivity 21 7 ★ 17.64KiB

icon

Share ChatGPT Extension · Productivity 21 1 ★ 7.59KiB

icon

ChatGPT Prompt Wizard Extension · Productivity 21 1 ★ 285KiB

icon

ChatGPTCustomizer Extension · Productivity 21 0 ★ 73.41KiB

icon

Metabase Copilot Extension · Developer Tools 21 6 ★ 239KiB

icon

Enhancer for ChatGPT Extension · Productivity 21 1 ★ 8.85KiB

icon

chatGPT notification Extension · Accessibility 21 4 ★ 93.48KiB

icon

EverSQL integrations: MySQL/PG Monitoring Extension · Developer Tools 21 5 ★ 455KiB