Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andaroth/chatgpt-electron
Desktop ChatGPT for Debian XFCE
https://github.com/andaroth/chatgpt-electron
app chatgpt chatgpt-app debian desktop electronjs linux linux-desktop nodejs
Last synced: 3 months ago
JSON representation
Desktop ChatGPT for Debian XFCE
- Host: GitHub
- URL: https://github.com/andaroth/chatgpt-electron
- Owner: Andaroth
- License: mit
- Created: 2024-10-23T12:19:39.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-23T14:00:01.000Z (4 months ago)
- Last Synced: 2024-10-23T15:30:25.787Z (4 months ago)
- Topics: app, chatgpt, chatgpt-app, debian, desktop, electronjs, linux, linux-desktop, nodejs
- Language: JavaScript
- Homepage: https://anda.ninja
- Size: 227 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChatGPT Electron
![sample](sample.png)
## Requirements
- [NodeJS](https://nodejs.org) v20 or +
## Development
Start project:
```sh
npm i
npm run dev
```## Installation
### Generate package
```sh
npm i
npm run package
```
This will create a folder (ie: `out/chatgpt-electron-linux-x64`) which contains the executable file for Debian.You can directly run `out/chatgpt-electron-linux-x64/chatgpt-electron` or you may want to use it in a "widget":
### Use on Windows
1. Move the executable folder `out/chatgpt-electron-win32-x64` anywhere you like it
2. Run `chatgpt-electron.exe` and enjoy!
### Use on MacOS
1. Move the executable folder `out/chatgpt-electron-darwin-arm64` anywhere you like it
2. Run `chatgpt-electron.app` and enjoy!
### Use on Linux
1. Move the executable folder `out/chatgpt-electron-linux-x64` anywhere you like it
2. run `chatgpt-electron-linux-x64/open_chatgpt` and enjoy!
### Panel shortcut in XFCE
#### Requirements
- xdotool `apt install xdotool`
- wmctrl `apt install wmctrl`To make a shortcut to open a controlled window from your XFCE panel, you need to call your `./open_chatgpt.sh`.
The goal of `./open_chatgpt.sh` is to find the Electron window then resize it at will.
It works with a `package` output and I did NOT tested it with deb and rpm.
1. Right click on your XFCE Panel > "Panel" > "Add new items..."
2. Double-click on "Launcher":
![step2](shortcut1.png)
3. In the "Launcher" window, press the "+" button.
4. In the "Edit Launcher" window, configure the Launcher so the command will open your `open_chatgpt.sh` from its path:
![step4](shortcut2.png)
5. Optional: Name the shortcut and select an Icon (you can copy it from `GPT.svg`)
6. Save, Close, Enjoy!
## Credits
This was made by [Axel Andaroth (aka Pirate)](https://anda.ninja) for personal use with Debian 12 XFCE.
Source is open because sharing is caring but I don't plan to spend time to maintain nor to update this project.
Thanks for your support!