Skip to content

Summon ChatGPT using a keyboard shortcut, just like a sorcerer!

License

Notifications You must be signed in to change notification settings

fayez-nazzal/SummonGPT

Repository files navigation

Logo

Summon the power of ChatGPT with a magical keyboard shortcut, just like a true sorcerer!

  • Set up an enchanting keyboard shortcut.
  • Call ChatGPT at any moment throughout your mystical journey!
  • Auto light/dark theme that aligns with your system's aura :D

SummonGPT App Show


Requirements


  • You will be prompted to enter an API Key for the OpenAI API, in order to obtain API keys, request access to OpenAI API and follow OpenAI's instructions here.

Usage (SpellBook)


  • Once you summon the chat, you can start typing your prompts, press enter to send, and the response from OpenAI will stream down.

  • If you type a prompt that begins with the ~ character, it will be considered a spell!

  • Spells don't go straight to OpenAI. instead, they perform special actions:

    Spell Action
    ~history Displays your previous chats. You can click on any chat to switch context.
    ~clear-history Clears all your chat history.
    ~avatar Changes your user avatar.
    ~export Exports your current chat as JSON.

Installation


An installer is not currently available, please consider building from source :D


Building from source


First make sure you have the following requirements:
  • Rust
  • Node.js
  • For macOS users, make sure you have Clang and macOS dev tools:
xcode-select --install

For Arch Linux

sudo pacman -Syu
sudo pacman -S --needed webkit2gtk base-devel curl wget openssl appmenu-gtk-module gtk3 libappindicator-gtk3 librsvg libvips

For Ubuntu or other debian-based distros

sudo apt update
sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev

Now to start the process of building from source, follow those steps:

  1. Clone this repo in a directory of your choice:
  git clone https://github.com/fayez-nazzal/SummonGPT/edit/master SummonGPT
  1. Enter the cloned directory:
  cd SummonGPT
  1. Run the following commands to start the build process:
npm i -g pnpm
pnpm install
pnpm tauri build
  1. You will find resulting binaries in SummonGPT/src-tauri/target/release/bundle.

Technologies used

This enchanted creation is done by using the power of the marvelous Tauri Toolkit. Crafted with the arcane arts of SolidJS & Rust .

About

Summon ChatGPT using a keyboard shortcut, just like a sorcerer!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published