This Electron app provides a simple interface for accessing the OpenAI chat.
It loads the chat at https://chat.openai.com/chat in a browser window, and allows the user to toggle the visibility of the window using the global shortcut specified in the SHORTCUT environment variable.
- Node.js
- Electron
- dotenv
- Clone the repository and navigate to the project directory.
- Install the required dependencies by running
npm install. - Set the
SHORTCUTenvironment variable to the desired global shortcut. - Start the app by running
npm start. - Press the
SHORTCUTkey to toggle the visibility of the chatbot window.
- Create .env file in the same folder as the executable
For example, the default SHORTCUT is :
SHORTCUT=Control+Alt+,
- Open your system's startup manager. This is usually located in the System Settings or Preferences menu.
- Add a new startup item and specify the path to the executable file for the program that you want to run at startup.
- Save your changes and restart your computer to see if the program is running at startup.
- Press the Windows key + R to open the Run dialog.
- Type "shell:startup" and press Enter to open the startup folder.
- Right-click on the startup folder and select "New" and then "Shortcut" from the context menu.
- In the "Create Shortcut" dialog, type the path to the executable file for the program that you want to run at startup.
- Click "Next" and give the shortcut a name.
- Click "Finish" to create the shortcut and add it to the startup folder.
- Restart your computer to see if the program is running at startup.
- Open the System Preferences and go to the Users & Groups section.
- Select your user account and go to the Login Items tab.
- Click the "+" button and select the "Other..." option.
- In the "Select Application" dialog, navigate to the executable file for the program that you want to run at startup.
- Select the executable file and click "Add" to add it to the list of login items.
- Save your changes and restart your computer to see if the program is running at startup.
This project is licensed under the MIT License. See the LICENSE file for details.
