Screenshot Assistant
A Wayland screenshot assistant with LLM integration. Capture screenshots and analyze them using Ollama's LLaVA model.
Installation
pip install screenshot-assistant
Requirements
- Wayland compositor (Sway, Hyprland, or other wlroots-based)
- grim (screenshot utility)
- slurp (area selection)
- imv (image viewer)
- Ollama with LLaVA model installed
Usage
You can run the assistant in two ways:
- As a command:
screenshot-assistant
- Using the provided run script:
./run
Configuration
Create a .env file with the following options:
OLLAMA_URL=http://localhost:11434/api/generate
OLLAMA_MODEL=llava
WINDOW_TITLE=Screenshot Assistant
SCREENSHOT_MODE=active # Options: all, active, select
Development
To set up for development:
git clone https://github.com/tcsenpai/screenshot-assistant.git
cd screenshot-assistant
uv venv .venv
uv pip install -e .
Metadata
Release files for screenshot-assistant 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| screenshot_assistant-0.1.0.tar.gz | 26.3 kB | Without provenance | Details for screenshot_assistant-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| screenshot_assistant-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for screenshot_assistant-0.1.0-py3-none-any.whl |
Total release size: 28.0 kB
Release files / screenshot_assistant-0.1.0.tar.gz
| Download URL | screenshot_assistant-0.1.0.tar.gz |
|---|---|
| Size | 26.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce0d6e070853dc56085878c4fd90c53854d17abbe216938c7b064411423f1860
|
|
BLAKE2b-256 checksum How to use checksums |
a75f4d95d8e349165abc6312da96946fe639b98546c108ce222b806ee24c4a33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / screenshot_assistant-0.1.0-py3-none-any.whl
| Download URL | screenshot_assistant-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3d78fb890737bd56238409eb1b2b0157b5f61c6ff91bfdd20384de5f5e7ba3d
|
|
BLAKE2b-256 checksum How to use checksums |
32c8d999e3f7bb1a37c8573ef7618171504464a103e62d7214300d86f264f5a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for screenshot-assistant 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.