Skip to content

Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.

fix(install): point urllib at certifi bundle for uv-installed Python (#16)

mrbizarrof59a43c020e2
diff --git a/start.js b/start.js
index dde33cf..e34f809 100644
--- a/start.js
+++ b/start.js
@@ -28,7 +28,18 @@ module.exports = {
// ENVIRONMENT file already sets HF_HOME=./cache/HF_HOME, but
// shell.run replaces the env wholesale — we have to declare
// it here for the panel to inherit it.
- HF_HOME: "{{cwd}}/cache/HF_HOME"
+ HF_HOME: "{{cwd}}/cache/HF_HOME",
+ // 2026-05-28 — SSL cert chain for the uv-installed Python (issue #15).
+ // Pinokio installs Python via uv into its own cache. That Python
+ // does NOT inherit macOS system certificates, so urllib's default
+ // SSL context fails with `CERTIFICATE_VERIFY_FAILED` the first time
+ // any code path hits HTTPS through stdlib — e.g. the CivitAI LoRA
+ // browser in the Image LoRA panel. `certifi` is installed and
+ // current in the venv, but stdlib only consults it when these env
+ // vars point it at certifi's bundle. Diagnosis + fix by
+ // @PiotrAstroCamp in #15 — thanks.
+ SSL_CERT_FILE: "{{cwd}}/ltx-2-mlx/env/lib/python3.11/site-packages/certifi/cacert.pem",
+ REQUESTS_CA_BUNDLE: "{{cwd}}/ltx-2-mlx/env/lib/python3.11/site-packages/certifi/cacert.pem"
},
message: ["python mlx_ltx_panel.py"],
// SHIP-BLOCKER history: we used to have extra `/errno/i` and `/error:/i`