Skip to content

A minimalistic and easy-to-use web GUI, built with FastAPI and Vue.js, that allows you to quickly and easily chat with local AI models through Ollama.

License

Notifications You must be signed in to change notification settings

wilmerm/ollama-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama WebUI

Ollama WebUI es una interfaz gráfica web minimalista y fácil de usar, desarrollada con FastAPI y Vue.js, que permite interactuar con modelos de IA locales a través de Ollama.

image

Características

  • Interfaz intuitiva y amigable
  • Backend rápido con FastAPI
  • Interfaz interactiva creada con Vue.js
  • Soporte para múltiples modelos de IA locales

Instalación

  1. Clona el repositorio:

    git clone https://github.com/wilmerm/ollama-webui.git
    cd ollama-webui
  2. Instala las dependencias del backend:

    pip install -r requirements.txt
  3. Instala las dependencias del frontend:

    cd frontend/vue-app
    npm install

Configuración (.env)

Configura las siguientes variables en tu archivo .env:

OLLAMA_BASE_URL=http://localhost:11434
DEFAULT_MODEL=llama3.2:3b

Variables opcionales:

DEBUG=True
ALLOWED_HOSTS=*

DEFAULT_TIMEOUT=30
DEFAULT_TEMPERATURE=0.5

GUNICORN_PORT=8000
GUNICORN_WORKERS=1

Uso

  1. Inicia el servidor backend:

    uvicorn backend.main:app --reload
  2. Inicia el servidor frontend:

    cd frontend/vue-app
    npm run dev

Para producción con Gunicorn:

gunicorn -w 4 -k uvicorn.workers.UvicornWorker backend.main:app --bind 0.0.0.0:8000

o simplemente ejecuta el archivo start.sh:

./start.sh

Contribuciones

¡Contribuciones son bienvenidas! Abre un issue o envía un pull request.

Licencia

Este proyecto está licenciado bajo la Licencia MIT.

About

A minimalistic and easy-to-use web GUI, built with FastAPI and Vue.js, that allows you to quickly and easily chat with local AI models through Ollama.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published