Skip to content
/ ai Public

Collection of scripts for running various AI tools locally. Tested on Ubuntu.

Notifications You must be signed in to change notification settings

vlazic/ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Tools and Helper Scripts

Collection of installation scripts for running various AI tools locally, along with helper scripts for common AI-related tasks. Tested on Ubuntu.

Installation Scripts

All installation scripts are located in the install-scripts/ directory.

ComfyUI (install-scripts/comfyui-docker.sh)

Stable Diffusion UI running on port 8188

./install-scripts/comfyui-docker.sh

Ollama (install-scripts/ollama.sh)

Local LLMs installation with external access enabled

./install-scripts/ollama.sh

Open WebUI (install-scripts/openwebui-docker.sh)

Web interface for Ollama on port 47586

./install-scripts/openwebui-docker.sh

Helper Scripts

Helper scripts for common AI-related tasks are located in the helper-scripts/ directory.

Available Helper Scripts

  • file-to-transcript.sh - Transcribe audio files using OpenAI or Groq
  • image-ocr.sh - Extract text from images using OpenAI GPT-4 Vision
  • translate-audio.sh - Record and translate audio using OpenAI/Groq

Prerequisites

  • Docker with NVIDIA Container Toolkit
  • NVIDIA GPU
  • Ubuntu (or similar Linux)

Quick Start

git clone git@github.com:vlazic/ai.git
cd ai

# Run what you need
./install-scripts/ollama.sh            # Install Ollama
./install-scripts/openwebui-docker.sh  # Setup Ollama web UI

Notes

  • ./install-scripts/storage/ and ./install-scripts/safetensors-models/ are gitignored (except .gitkeep)
  • All Docker containers use NVIDIA GPU
  • Sample FRP client configuration is provided in frpc.ini.sample for remote access. Put it in /etc/frp/frpc.ini and run sudo systemctl restart frpc to apply changes.

TODO

About

Collection of scripts for running various AI tools locally. Tested on Ubuntu.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages