681 B

Generative Playground

This Nix environment starts a tmux session with:

  • ComfyUI
  • Ollama
  • Open-webui

It uses a shell script to launch these services on NixOS.

Installation

mkdir -p /opt/playground
cp -v opt/playground/{Makefile,run-playground.sh, shell.nix} /opt/playground/
cd /opt/playground
make install

Configuration

Sample .env file:

export LITELLM_MASTER_KEY= ...
export ANTHROPIC_API_KEY=...
export GOOGLE_API_KEY=...

Update

cd /opt/playground
make update

Running

cd /opt/playground
nix-shell

Copypasta

rsync -tv opt/playground/{run-playground.sh,shell.nix,Makefile} roar:/opt/playground/