https://github.com/user-attachments/assets/b3ebcbc1-7010-4f44-bdaa-0c7998e655f6
The most easy way to run AI-Snip is by downloading the binary from the releases page and running it.
If you are python-savvy, you may instead:
pip install pyqt6 pyperclip keyboard openai
python aisnip.py
from the root of this repoThere is no uniform system tray in Linux. So in Linux you will only be able to do one snip each time you run this program.
There are no binaries provided for Linux.
sudo apt install libxcb-cursor0
.pip install pyqt6 pyperclip openai
.python aisnip.py
when you are ready to go snipping.You'll need an LLM backend to run AI-Snip. Currently available options are
If you choose OpenAI as your backend, you will need an OpenAI or AzureOpenAI API key to run AI-Snip
There are two methods to add you api key.
Follow the ollama site to get your ollama server up and running.
Then, copy the contents of config.yml.ollama
into a file named config.yml
saved in the same folder as your aisnip.exe
binary or aisnip.py
depending on if you run with the binary or the python interpreter.
Change the model_name and ollama_host depending on your setup/likings.
When you start AI-Snip, it will minize itself to the system tray.
To start snipping, you can
a) Left click on clippy in the system tray
b) Press CTRL+SHIFT+A
During snipping, you are by default in explaination mode. When you snip a region, clippy will pop up after a few seconds and explain whatever you snipped.
There are various hotkeys available while snipping:
If you want to use AI-Snip as an everyday tool, you may want to always have it in your system tray.
The easiest way to accomplish this is to donwload the binary, create a Shortcut for it, then go win + r
and type shell:startup
and press Enter. Then move your shortcut in the folder that opened.