Skip to content

talwrii/llmkey

Repository files navigation

LLM Key

LLM Key makes it easy to use an LLM, like chatgpt or grok, throughout your desktop by adding shortcuts that run everywhere.

The most basic use case is form asking an LLM questions when they come to mind. LLM Key will call the LLM in the background and popup a window when it is done. It also copies the answer to the clipboard to be pasted straight away.

You can also copy text to the clipboard and use it in LLM queries.

How to use LLM Key

Installation

LLM Key is hosted on pypi

In a terminal run:

sudo apt-get install pipx
pipx install llmkey
llm-key

Usage

  • Ctrl-Alt-O -- propmts you for a query and runs it.
  • Ctrl-Alt-C -- runs a query on the clipboard
  • Ctrl-Alt-M -- displays a menu of options
  • You can click on the L icon in the system tray for settings

Menu

  • Ctrl-Alt-M S -- Open settings
  • Ctrl-Alt-M P -- Peak at the results so far
  • Ctrl-Alt-M D -- Close the last result window
  • Ctrl-Alt-M W -- Open a previous window

Features

  • Run llm query on the clipboard
  • Switch between backends
    • Chatgpt, Ollama, xAI
  • Multiple query results open at the same time
  • Quick keyboard bindings for most functions. "Keyboard first"
    • Running queries
    • Poping up results windows
    • Closing result windows

Change list

7 - Add support for switching between windows

Me

If you like this is you can

About

Run LLMs (like openai, chatgpt, grok, anthropic) from your desktop with a shortcut key.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors