promptmesh-cli
v0.1.0
Published
PromptMesh CLI (vendor-neutral LLM middleware) - runs without cloning via prebuilt bundles
Downloads
99
Maintainers
Readme
promptmesh-cli
Run PromptMesh without cloning the repo by downloading a prebuilt bundle.
How it works
- This Node CLI downloads a prebuilt zip bundle (that you host privately) on first run.
- It unpacks to
~/.promptmesh/promptmesh-cli/<version>/. - If the bundle contains
restart-binary.sh, the CLI will use it (recommended). - Otherwise it falls back to
restart.sh.
For true source protection, ship a PyInstaller-built binary inside the bundle (recommended).
Requirements (user machine)
- Node.js >= 18
- Python 3 (needed only if you ship a Python-based UI server; the API can be binary)
unzipavailable in PATH (macOS has it)
Usage
PROMPTMESH_BUNDLE_URL=https://your-private-host/promptmesh-darwin-arm64.zip \
npx promptmesh-cli start --offlineSmoke test:
PROMPTMESH_BUNDLE_URL=https://your-private-host/promptmesh-darwin-arm64.zip \
npx promptmesh-cli smoke --offlineBundle contents
Minimum:
stop.shsmoke-test-memory-contract.sh
Recommended for closed-source:
restart-binary.shdist/promptmesh-api/(PyInstaller output)ui/(static UI; optional).envor.env.example
Security note
A ZIP bundle that includes .py files is still readable by the user.
If you truly want to prevent source access, distribute a compiled binary (PyInstaller) or a private wheel.
Bugs / support
File issues here:
- https://github.com/akshithrthumma/PromptMesh/issues
