Psst! Try ChatGPT with it, it's way cheaper, and it seems to work from initial testing!
SearchBot9k is a simple Electron-based application that spawns a web page and searches for answers to users' questions.
Please note that the application might sometimes get into loops, and not all errors are handled yet. A refactor is on the to-do list.
Contributions are welcome! Feel free to submit pull requests to help improve the project.
- You will need access to the GPT-4 or ChatGPT API.
- Node.js and npm installed on your system.
- Linux, Windows or MacOS - Tested on all 3. See note below for Windows
- Clone the repository:
git clone https://github.com/pale2hall/searchbot9k.git
- Navigate to the project folder:
cd searchbot9k
- Install the required dependencies:
npm install
- Copy the
sample.env
file and rename it to.env
:cp sample.env .env
- Add your GPT-4 or ChatGPT API key to the
.env
file.
To start the application, simply run the following command in your terminal:
npm start -- "search query here"
This will launch the Electron application and open a web page where you watch ChatGPT build your queries and search for answers.
Pull requests are welcome! If you have any ideas for improvements, bug fixes, or new features, feel free to submit a pull request. Please make sure to test your changes before submitting.
- The application might sometimes get into loops.
- Not all errors are handled yet, and the code could use a refactor.
- On Windows puppeteer needs an extra hand to get intially installed. I had to run
node node_modules/puppeteer/install.js
afternpm i
to get it fully installed.
I have not yet determined a license yet. I hold rights to the language of the actual prompt and the name SearchBot9k, but you can feel free to use the code here unless and until I figure out the legalities and pick a license, then you will have to follow that license from that point forward with future versions of the code / prompt.