build: first working version includes ChatGPT search and icon

This commit is contained in:
Mathew Guest 2024-06-07 17:42:08 -06:00
commit ee86860699
5 changed files with 133 additions and 0 deletions

81
LICENSE.txt Normal file

@ -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

14
README.md Normal file

@ -0,0 +1,14 @@
ChatGPT Search Engine Extension
===============================
Extensions adds ChatGPT as a search engine configurable option
in the browser. Default prefix is "gpt <query term>" 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

7
build-extension-zip.sh Executable file

@ -0,0 +1,7 @@
#!/bin/bash
zip -r chatgpt-search-engine-extension.zip \
LICENSE.txt \
manifest.json \
icons/favicon.png

BIN
icons/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

31
manifest.json Normal file

@ -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",
"<all_urls>"
],
"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": ["<all_urls>"]
}
]
}