https://github.com/vlazic/ai
Collection of scripts for running various AI tools locally. Tested on Ubuntu.
https://github.com/vlazic/ai
ai comfyui docker frp llm local-ai nvidia-gpu ollama setup-scripts stable-diffusion ubuntu
Last synced: 3 months ago
JSON representation
Collection of scripts for running various AI tools locally. Tested on Ubuntu.
- Host: GitHub
- URL: https://github.com/vlazic/ai
- Owner: vlazic
- Created: 2024-11-14T09:02:39.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-01T15:37:48.000Z (5 months ago)
- Last Synced: 2025-02-25T14:11:39.612Z (3 months ago)
- Topics: ai, comfyui, docker, frp, llm, local-ai, nvidia-gpu, ollama, setup-scripts, stable-diffusion, ubuntu
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
./install-scripts/comfyui-docker.sh
```### Ollama (`install-scripts/ollama.sh`)
Local LLMs installation with external access enabled
```bash
./install-scripts/ollama.sh
```### Open WebUI (`install-scripts/openwebui-docker.sh`)
Web interface for Ollama on port 47586
```bash
./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
```bash
git clone [email protected]: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
- [ ] Add Ollama proxy server for remote access [ParisNeo/ollama_proxy_server](https://github.com/ParisNeo/ollama_proxy_server)