Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

Colored ASCII via powershell Write-Host calls from CMD

PurpleDoubleDc18ea006beb0
diff --git a/setup.bat b/setup.bat
index 97bbc5d6..fd73d86f 100644
--- a/setup.bat
+++ b/setup.bat
@@ -1,69 +1,86 @@
@echo off
title Locally Uncensored - Setup
echo.
-echo LOCALLY UNCENSORED - Setup
-echo ===========================
+echo.
+powershell -NoProfile -Command "Write-Host ' ## ####### ###### ### ## ## ## ##' -F Magenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ## ## ## ## ## ##' -F Magenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ## ## ## ####' -F DarkMagenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ## ## ## ##' -F DarkMagenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ######### ## ## ##' -F DarkMagenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ## ## ## ## ##' -F Magenta"
+powershell -NoProfile -Command "Write-Host ' ######## ####### ###### ## ## ######## ######## ##' -F Magenta"
+echo.
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ###### ######## ## ## ###### ####### ######## ######## ########' -F Magenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ### ## ## ## ## ### ## ## ## ## ## ## ## ## ## ##' -F Magenta"
+powershell -NoProfile -Command "Write-Host ' ## ## #### ## ## #### ## ## ## ## ## ## ## ##' -F DarkMagenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ###### ## ## ###### ## ## ######## ###### ## ##' -F DarkMagenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##' -F DarkMagenta"
+powershell -NoProfile -Command "Write-Host ' ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##' -F Magenta"
+powershell -NoProfile -Command "Write-Host ' #### ## ## ###### ######## ## ## ###### ####### ## ## ######## ########' -F Magenta"
+echo.
+powershell -NoProfile -Command "Write-Host ' Private, local AI. No cloud. No censorship.' -F DarkGray"
+powershell -NoProfile -Command "Write-Host ' =================================================' -F Magenta"
echo.
where node >nul 2>nul
if %errorlevel% neq 0 (
- echo Installing Node.js...
+ powershell -NoProfile -Command "Write-Host ' [1/5] Installing Node.js...' -F Yellow"
winget install OpenJS.NodeJS.LTS --accept-package-agreements --accept-source-agreements
- echo Node.js installed. Please close and run setup.bat again.
+ powershell -NoProfile -Command "Write-Host ' [+] Node.js installed. Please close and run setup.bat again.' -F Green"
pause
exit /b 0
)
-echo [OK] Node.js found
+powershell -NoProfile -Command "Write-Host ' [+] Node.js' -F Green"
where git >nul 2>nul
if %errorlevel% neq 0 (
- echo Installing Git...
+ powershell -NoProfile -Command "Write-Host ' [2/5] Installing Git...' -F Yellow"
winget install Git.Git --accept-package-agreements --accept-source-agreements
- echo Git installed. Please close and run setup.bat again.
+ powershell -NoProfile -Command "Write-Host ' [+] Git installed. Please close and run setup.bat again.' -F Green"
pause
exit /b 0
)
-echo [OK] Git found
+powershell -NoProfile -Command "Write-Host ' [+] Git' -F Green"
where ollama >nul 2>nul
if %errorlevel% neq 0 (
- echo Installing Ollama...
+ powershell -NoProfile -Command "Write-Host ' [3/5] Installing Ollama...' -F Yellow"
winget install Ollama.Ollama --accept-package-agreements --accept-source-agreements
- echo [OK] Ollama installed
+ powershell -NoProfile -Command "Write-Host ' [+] Ollama installed' -F Green"
) else (
- echo [OK] Ollama found
+ powershell -NoProfile -Command "Write-Host ' [+] Ollama' -F Green"
)
echo.
-echo Starting Ollama...
tasklist /FI "IMAGENAME eq ollama.exe" 2>NUL | find /I "ollama.exe" >NUL
if %errorlevel% neq 0 (
start "" ollama serve
timeout /t 3 /nobreak >nul
)
-echo Installing dependencies...
+powershell -NoProfile -Command "Write-Host ' [4/5] Installing dependencies...' -F Yellow"
cd /d "%~dp0"
-call npm install
-echo [OK] Dependencies installed
+call npm install --loglevel=error
+powershell -NoProfile -Command "Write-Host ' [+] Dependencies installed' -F Green"
echo.
ollama list 2>nul | findstr /v "NAME" | findstr "." >nul 2>nul
if %errorlevel% neq 0 (
- echo No AI model found. Downloading recommended model...
- echo This downloads about 5.7 GB. Please wait.
+ powershell -NoProfile -Command "Write-Host ' [5/5] No AI model found.' -F Yellow"
+ powershell -NoProfile -Command "Write-Host ' Downloading Llama 3.1 8B Uncensored (~5.7 GB)...' -F Yellow"
+ powershell -NoProfile -Command "Write-Host ' This is a one-time download. Grab a coffee.' -F DarkGray"
+ echo.
ollama pull mannix/llama3.1-8b-abliterated:q5_K_M
- echo [OK] Model installed
+ echo.
+ powershell -NoProfile -Command "Write-Host ' [+] AI model installed' -F Green"
) else (
- echo [OK] AI models found
+ powershell -NoProfile -Command "Write-Host ' [+] AI models found' -F Green"
)
echo.
-echo ===========================
-echo Setup complete!
-echo ===========================
-echo.
-echo Starting app on http://localhost:5173
+powershell -NoProfile -Command "Write-Host ' =================================================' -F Green"
+powershell -NoProfile -Command "Write-Host ' Setup complete! Starting app...' -F White"
+powershell -NoProfile -Command "Write-Host ' =================================================' -F Green"
echo.
start http://localhost:5173