feat: initial LibreOffice Writer Ollama sidebar extension scaffold
This commit is contained in:
42
README.md
Normal file
42
README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# LibreOffice Writer Ollama Sidebar
|
||||
|
||||
LibreOffice Writer Extension (`.oxt`) mit Sidebar-Panel:
|
||||
- Prompt direkt in der Seitenleiste
|
||||
- Auswahl/Absatz an Ollama senden
|
||||
- Ergebnis zurück in Writer einfügen oder Auswahl ersetzen
|
||||
|
||||
## Status
|
||||
|
||||
MVP-Gerüst mit Sidebar-Panel + Python UNO-Komponente.
|
||||
|
||||
## Struktur
|
||||
|
||||
- `description.xml`
|
||||
- `Addons.xcu`
|
||||
- `Sidebar.xcu`
|
||||
- `src/ollama_sidebar.py`
|
||||
- `META-INF/manifest.xml`
|
||||
|
||||
## Build (.oxt)
|
||||
|
||||
```bash
|
||||
cd libreoffice-writer-ollama-sidebar
|
||||
zip -r ollama-sidebar.oxt description.xml Addons.xcu Sidebar.xcu META-INF src resources
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
- LibreOffice -> Extras -> Erweiterungsmanager -> Hinzufügen -> `ollama-sidebar.oxt`
|
||||
- Writer öffnen
|
||||
- Seitenleiste -> Deck/Panel `Ollama Rewrite`
|
||||
|
||||
## Konfiguration
|
||||
|
||||
In der Sidebar:
|
||||
- Ollama URL (z. B. `http://127.0.0.1:11434`)
|
||||
- Modell (z. B. `llama3.1:8b`)
|
||||
- Prompt
|
||||
|
||||
## Hinweis
|
||||
|
||||
LibreOffice UNO-Sidebar APIs variieren je Version. Dieses Repo enthält ein solides Startgerüst; bei Bedarf passe ich es auf deine konkrete LO-Version nach.
|
||||
Reference in New Issue
Block a user