diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e6cfc2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +chatgpt-search-engine-extension.zip + diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d76f7d7 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version). + +## [1.0.0]) (2024-06-08) + +First release of software. Had to split Google Chrome and Mozilla Firefox extensions. Will see if can migrate to be compatible with both in future. + + * favicon - Wanted to use the OpenAI ChatGPT icon but worried about copyright. Until granted permission, have to roll with this icon. (Powered by OpenAI!) + * Extension works with Chrome, adds ChatGPT as non-default search engine. Queryable by "gpt " in user's URL bar. Can configure through browser settings. + * Tested with Google Chrome on Windows. + \ No newline at end of file diff --git a/build-extension-zip.sh b/build-extension-zip.sh index 7cce1fa..88b8b4d 100755 --- a/build-extension-zip.sh +++ b/build-extension-zip.sh @@ -1,6 +1,6 @@ #!/bin/bash -zip -r chatgpt-search-engine-extension.zip \ +zip -r chatgpt-search-extension-chrome.zip \ LICENSE.txt \ manifest.json \ icons/favicon.png diff --git a/hello.html b/hello.html new file mode 100644 index 0000000..f3c646f --- /dev/null +++ b/hello.html @@ -0,0 +1,4 @@ + + +ChatGPT4tw + diff --git a/images/powered-by-openai-icon-128x128.png b/images/powered-by-openai-icon-128x128.png new file mode 100644 index 0000000..8dce6a4 Binary files /dev/null and b/images/powered-by-openai-icon-128x128.png differ diff --git a/images/powered-by-openai-icon-16x16.png b/images/powered-by-openai-icon-16x16.png new file mode 100644 index 0000000..5b38afc Binary files /dev/null and b/images/powered-by-openai-icon-16x16.png differ diff --git a/images/powered-by-openai-icon-32x32.png b/images/powered-by-openai-icon-32x32.png new file mode 100644 index 0000000..c27f2dd Binary files /dev/null and b/images/powered-by-openai-icon-32x32.png differ diff --git a/images/powered-by-openai-icon-48x48.png b/images/powered-by-openai-icon-48x48.png new file mode 100644 index 0000000..ebc29fd Binary files /dev/null and b/images/powered-by-openai-icon-48x48.png differ diff --git a/manifest.json b/manifest.json index f35c235..cce3a0a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,15 +1,15 @@ { - "name": "Search with ChatGPT", + "name": "Search with ChatGPT powered by OpenAI", "description": "Search using ChatGPT query.", "version": "1.0", "manifest_version": 3, "permissions": [ "activeTab" ], - "action": { - "default_icon": { - "48": "icons/favicon.png" - } + "icons": { + "128": "images/powered-by-openai-icon-128x128.png", + "48": "images/powered-by-openai-icon-48x48.png", + "16": "images/powered-by-openai-icon-16x16.png" }, "chrome_settings_overrides": { "search_provider": { @@ -17,8 +17,16 @@ "keyword": "gpt", "search_url": "https://chatgpt.com?q={searchTerms}", "favicon_url": "https://chatgpt.com/favicon.png", - "is_default": true, + "is_default": false, "encoding": "UTF-8" } + }, + "action": { + "default_popup": "hello.html", + "default_icon": { + "128": "images/powered-by-openai-icon-128x128.png", + "48": "images/powered-by-openai-icon-48x48.png", + "16": "images/powered-by-openai-icon-16x16.png" + } } } \ No newline at end of file