From ee86860699aeffd3b0125c6f716d8bd682bd063a Mon Sep 17 00:00:00 2001 From: Mathew Guest Date: Fri, 7 Jun 2024 17:42:08 -0600 Subject: [PATCH] build: first working version includes ChatGPT search and icon --- LICENSE.txt | 81 +++++++++++++++++++++++++++++++++++++++++ README.md | 14 +++++++ build-extension-zip.sh | 7 ++++ icons/favicon.png | Bin 0 -> 2011 bytes manifest.json | 31 ++++++++++++++++ 5 files changed, 133 insertions(+) create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100755 build-extension-zip.sh create mode 100644 icons/favicon.png create mode 100644 manifest.json 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 0000000000000000000000000000000000000000..38a98de2adfc036511c9721cff590193a62af8f7 GIT binary patch literal 2011 zcmV<12PF83P)EX>4Tx04R}tkv&MmKpe$iQ?()$2MdZgWT;MdQ4w*fRVYG*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YT)U zlBAc<^E`LPhnoe#vMdKhjxP&zsXmvP51De7Wll?)oCZyvy%vBW)mN5fi)#Dm&*c`O zVhBF`Z?4{00QzXK^-!Ml*CmNV++dIf%{23PJhoETTaMS)*IxQNkM(*DDZh%_tJP{+ z8Z?8K%QsC65JEUb(ijWSTDRf@=iK=Wb~Vb^3cLU?dA3V$+h%x<=GOvX0%-<4mrIxn zwjOZ-U|Zs(xqw~B=%XnYSKk8wpMZT;I&A0lpY|q{sv!6aZ7SO&$a6 zyjuw2)Z}Beyp-}nU1I?-Ep4bWeRT}jZnvGOY8O|#{M=O{8v{UH*MnK>qyU(HueEk| zg3b6~*ZR&qLzku)1AytCL5vdufVtYPyt~W1<2Y{k`A||63V>3oaX;VH4+g;O{PuNY z>>NL&=n+bTb~id?^@9O0qwG-bZN>+mQn-s@?CYBVD5YAuB%~obx-k;kh!|>cbd|yv zi$!nwJ2YjU3;?^r({5M0ZsIDfnc89O7~LGT zqy3Noa+Sh;J4Uwuca_k`jL{n;&P@%wLKDX^q?CAidIA7^e0<<=IAFKiwVD=E%2xBk zHQwIdkfv$S=8L;*kmzfZ_q~Sbu&XK^B5`l(0-?2f-whP@uv_tCBmEEnlU=baOIokj zt?g~De4#I9xEO*lc8g7v`X(DCL)4)V;<9LBpgWDCD1uz&+ATCbj|3u8 zbmx)hdG9{rsW{#zy@}}aAkq3;j%_%$&*AaT)zj1uN!sqdMbz(Z__!st1BNq7Ugp>dP002ovPDHLkV1lW*x~TvF literal 0 HcmV?d00001 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": [""] + } + ] +}