https://github.com/icarito/gtk-llm-chat
A GTK graphical interface for chatting with large language models (LLMs)
https://github.com/icarito/gtk-llm-chat
chat chatbot gtk ia llm
Last synced: about 2 months ago
JSON representation
A GTK graphical interface for chatting with large language models (LLMs)
- Host: GitHub
- URL: https://github.com/icarito/gtk-llm-chat
- Owner: icarito
- License: gpl-3.0
- Created: 2025-02-20T22:09:39.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-30T17:04:54.000Z (about 2 months ago)
- Last Synced: 2025-03-30T18:20:35.862Z (about 2 months ago)
- Topics: chat, chatbot, gtk, ia, llm
- Language: Python
- Homepage:
- Size: 544 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GTK LLM Chat
Una interfaz gráfica GTK para chatear con modelos de lenguaje (LLMs).

## Características
- Interfaz gráfica simple y fácil de usar construida con GTK
- Soporte para múltiples conversaciones en ventanas independientes
- Integración con python-llm para chat con diversos modelos de LLM
- Interfaz moderna usando libadwaita
- Soporte para streaming de respuestas en tiempo real
- Historial de mensajes con desplazamiento automático
- Atajos de teclado (Enter para enviar, Shift+Enter para nueva línea)## Instalación
```
pipx install llm # required by gtk-llm-chat
llm install gtk-chat
```### Requisitos del Sistema
- [llm](https://llm.datasette.io/en/stable/)
- Python 3.8 o superior
- GTK 4.0
- libadwaita
- libayatana-appindicatorEn sistemas basados en Debian/Ubuntu:
```
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 libadwaita-1-0 libayatana-appindicator3-1
```## Uso
Ejecutar la aplicación:
```
llm gtk-applet
```o para un chat individual:
```
llm gtk-chat
```Con argumentos opcionales:
```
llm gtk-chat --cid ID_CONVERSACION # Continuar una conversación específica
llm gtk-chat -s "Prompt del sistema" # Establecer prompt del sistema
llm gtk-chat -m nombre_modelo # Seleccionar modelo específico
llm gtk-chat -c # Continuar última conversación
```## Desarrollo
Para configurar el entorno de desarrollo:
```
git clone https://github.com/icarito/gtk-llm-chat.git
cd gtk-llm-chat
python -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
```## Licencia
GPLv3 License - Ver archivo LICENSE para más detalles.