Add README and .gitignore

This commit is contained in:
Daniel Krause
2026-05-21 00:48:58 +02:00
parent 890fe81170
commit c584e61ac3
2 changed files with 36 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Config mit API-Key
opencode.jsonc
# Ausnahmen erzwingen
!importantopencode.jsonc
+31
View File
@@ -0,0 +1,31 @@
# OpenCode Config Sync
Gemeinsame opencode-Konfiguration für BSN-Team.
## Nutzung
1. **Repo clonen:**
```bash
git clone http://185.162.249.159:3000/danielkrause/openwebui-config.git ~/.config/opencode
```
2. **API-Key einsetzen:**
- Kopiere `opencode.jsonc.template` zu `opencode.jsonc`
- Ersetze `DEIN_API_KEY_HIER_EINFUEGEN` mit deinem OpenWebUI API-Key
- Den Key findest du in OpenWebUI unter **Profil → Settings → Account → API Keys**
3. **Config aktualisieren:**
```bash
cd ~/.config/opencode
# Bearbeite die config
git add -A && git commit -m "update" && git push
```
4. **Auf anderen Geräten:**
```bash
git pull
```
## Hinweis
Der API-Key sollte NICHT in das Repository commit werden. Die `.gitignore` ist bereits eingerichtet.