48 lines
893 B
Markdown
48 lines
893 B
Markdown
|
|
# Ollama Tray Rewriter (Windows, Python)
|
||
|
|
|
||
|
|
Kleine Tray-App für Windows:
|
||
|
|
- wartet auf globale Hotkey-Kombi
|
||
|
|
- kopiert Text aus aktuellem Eingabefeld (`Ctrl+A`, `Ctrl+C`)
|
||
|
|
- zeigt Quelle/Ziel im Fenster
|
||
|
|
- mehrere Prompts speicherbar
|
||
|
|
- Bearbeitung über Ollama (URL + Modell konfigurierbar)
|
||
|
|
- Buttons: **Einfügen** (zurück + `Ctrl+V`) und **Ins Clipboard**
|
||
|
|
|
||
|
|
## Voraussetzungen
|
||
|
|
|
||
|
|
- Windows 10/11
|
||
|
|
- Python 3.10+
|
||
|
|
|
||
|
|
## Installation
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
pip install -r requirements.txt
|
||
|
|
```
|
||
|
|
|
||
|
|
## Start
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
python app.py
|
||
|
|
```
|
||
|
|
|
||
|
|
## Hotkey
|
||
|
|
|
||
|
|
Default: `Ctrl+Shift+Space`.
|
||
|
|
Kann im Fenster geändert und gespeichert werden.
|
||
|
|
|
||
|
|
## Konfiguration
|
||
|
|
|
||
|
|
Wird gespeichert in:
|
||
|
|
|
||
|
|
`%USERPROFILE%\\.ollama_tray_rewriter\\config.json`
|
||
|
|
|
||
|
|
Dort liegen:
|
||
|
|
- `hotkey`
|
||
|
|
- `ollama_url`
|
||
|
|
- `model`
|
||
|
|
- `prompts[]`
|
||
|
|
|
||
|
|
## Hinweis
|
||
|
|
|
||
|
|
Die App nutzt globale Tastatur-Hooks (`keyboard`). Je nach Windows-Setup kann Start als Administrator nötig sein.
|