commit ee86860699aeffd3b0125c6f716d8bd682bd063a Author: Mathew Guest Date: Fri Jun 7 17:42:08 2024 -0600 build: first working version includes ChatGPT search and icon diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..dc3d2e2 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,81 @@ +1. Grant of License + +This Zavage Software inc. License Agreement (the "Agreement") is a legal agreement between +you (either an individual or a single entity) and Zavage Software inc. ("Licensor") for the +use of the software product identified above, which includes computer software and may include +associated media, printed materials, and "online" or electronic documentation (the "Software"). + +By installing, copying, or otherwise using the Software, +you agree to be bound by the terms of this Agreement. If +you do not agree to the terms of this Agreement, do not +install or use the Software. + + +2. License + +The Software is licensed, not sold. Subject to the terms of this Agreement, +Licensor grants you a limited, non-exclusive, non-transferable, +non-sublicensable license to use the Software solely for your +internal business purposes. + +3. Restrictions + +You may not: + + Copy, modify, or create derivative works of the Software. + Distribute, sell, sublicense, lease, rent, or otherwise transfer the Software to any third party. + Reverse engineer, decompile, disassemble, or otherwise attempt to derive the source code of the Software, + except to the extent expressly permitted by applicable law. + Use the Software in any manner that could damage, disable, overburden, or impair the + Software or interfere with any other party's use of the Software. + +4. Ownership + +All right, title, and interest in and to the Software, including all intellectual +property rights, are and will remain the sole property of Licensor. This Agreement does +not grant you any rights in or to the Software other than the limited license granted above. + + +5. Termination + +This Agreement is effective until terminated. Licensor may terminate this Agreement +immediately if you breach any term of this Agreement. Upon termination, you must cease +all use of the Software and destroy all copies of the Software in your possession or control. + + +6. Disclaimer of Warranties + +The Software is provided "AS IS" and "AS AVAILABLE," without warranty of any kind. +Licensor disclaims all warranties, whether express, implied, statutory, or +otherwise, including but not limited to the implied warranties of merchantability, +fitness for a particular purpose, title, and non-infringement. + + +7. Limitation of Liability + +To the maximum extent permitted by applicable law, in no event will Licensor be liable +for any indirect, incidental, special, consequential, or punitive damages, or any loss of +profits or revenues, whether incurred directly or indirectly, or any loss of data, use, +goodwill, or other intangible losses, resulting from (a) your use of or inability to use +the Software; (b) any unauthorized access to or use of the Software; or (c) any other +matter relating to the Software. + + +8. Governing Law + +This Agreement will be governed by and construed in accordance with the laws of Denver, CO and the United States, +without regard to its conflict of law principles. + + +9. Entire Agreement + +This Agreement constitutes the entire agreement between you and Licensor regarding the use of the +Software and supersedes all prior and contemporaneous understandings, agreements, representations, +and warranties, both written and oral. + +10. Contact Information + +If you have any questions about this Agreement, please contact Zavage Software Inc. at: + + * email: public@zavage.net + * website: https://zavage-software.com diff --git a/README.md b/README.md new file mode 100644 index 0000000..85aed0f --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +ChatGPT Search Engine Extension +=============================== + +Extensions adds ChatGPT as a search engine configurable option +in the browser. Default prefix is "gpt " or can be set +in the settings. Does not require login, or API key, or use custom servers +or code. Simply queries your url bar into a new ChatGPT session. + +Unofficial - Provided by Zavage Software Inc. + +See LICENSE.txt. + + * https://zavage-software.com + * https://git-mirror.zavage.net/zavage-software/chatgpt-search-engine-extension \ No newline at end of file diff --git a/build-extension-zip.sh b/build-extension-zip.sh new file mode 100755 index 0000000..7cce1fa --- /dev/null +++ b/build-extension-zip.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +zip -r chatgpt-search-engine-extension.zip \ + LICENSE.txt \ + manifest.json \ + icons/favicon.png + diff --git a/icons/favicon.png b/icons/favicon.png new file mode 100644 index 0000000..38a98de Binary files /dev/null and b/icons/favicon.png differ diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..2592e38 --- /dev/null +++ b/manifest.json @@ -0,0 +1,31 @@ +{ + "manifest_version": 2, + "name": "Search with ChatGPT", + "version": "1.0", + "description": "A Firefox extension to search using ChatGPT.", + "permissions": [ + "activeTab", + "webRequest", + "webRequestBlocking", + "" + ], + "browser_action": { + "default_popup": "popup.html", + "default_icon": { + "48": "icons/favicon.png" + } + }, + "chrome_settings_overrides": { + "search_provider": { + "name": "ChatGPT Search", + "keyword": "gpt", + "search_url": "https://chatgpt.com?q={searchTerms}", + "favicon_url": "https://chatgpt.com/favicon.png" + } + }, + "content_scripts": [ + { + "matches": [""] + } + ] +}