Skip to content

Instantly share code, notes, and snippets.

View GhostTypes's full-sized avatar
🎯

GhostTypes

🎯
View GitHub Profile
@YuriyGuts
YuriyGuts / link-ollama-models-to-lm-studio.py
Last active December 11, 2025 16:01
Expose Ollama models to LM Studio by symlinking its model files. Just run `python3 link-ollama-models-to-lm-studio.py`. On Windows, run it as admin.
# Source: https://superuser.com/a/1201549
function force-mkdir($path) {
if (!(Test-Path $path)) {
#Write-Host "-- Creating full path to: " $path -ForegroundColor White -BackgroundColor DarkGreen
New-Item -ItemType Directory -Force -Path $path
}}
function Takeown-Registry($key) {