Show HN: An open-source Spotlight tool connecting to ChatGPT

by gusyeon 11/26/2023, 7:39 AMwith 3 comments

by gusyeon 11/26/2023, 7:48 AM

I really enjoy using some launch tools, like Spotlight, Alfred, and so on. I love the feeling of being able to switch applications without having to leave the keyboard. Recently, I've been looking for a way to directly chat with ChatGPT in a Spotlight-like app, but I haven't found any open-source solutions. I have an OpenAI API key, and I just want something that I can use by simply entering the key and cover my own cost. So I spent a few days using Electron to create a simple cross-platform version. Its functionality is very simple, just a shortcut key to invoke Spotlight, where you can input your question and automatically copy the answer. Pressing the shortcut key again will bring you back to where you were working before. I really like the feeling of quick access, and this little tool has also saved me some time. It also can save customized prompts.

by arshxyzon 11/26/2023, 8:35 AM

As you mentioned you like Alfred, why did you choose to build a standalone app as opposed to an Alfred extension? Since you use Electron: spinning up a browser every time I need a quick-launch bar seems a little overkill.

Anyway, the UI looks very neat! Starred the repo and will try playing with it.