Download the PHP package mattwiebe/ai-connector-for-local-ai without Composer
On this page you can find all versions of the php package mattwiebe/ai-connector-for-local-ai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mattwiebe/ai-connector-for-local-ai
More information about mattwiebe/ai-connector-for-local-ai
Files in mattwiebe/ai-connector-for-local-ai
Package ai-connector-for-local-ai
Short Description WordPress AI provider plugin for self-hosted inference through a user-controlled proxy.
License GPL-2.0-or-later
Homepage https://github.com/mattwiebe/ai-connector-for-local-ai
Informations about the package ai-connector-for-local-ai
MW Local AI Connector
MW Local AI Connector is a WordPress AI provider plugin for connecting WordPress to local, OpenAI-compatible inference providers through a proxy you control.
It is built for WordPress 7.0+ and the new Connectors primitives. The WordPress plugin runs on the site. The recommended local proxy helper is SLOProxy, a separate npm package.
This is an independent project by Matt Wiebe. It is not affiliated with, endorsed by, or sponsored by Actual Computer, Tailscale, Ollama, LM Studio, or any other third-party service it can be configured to talk to.
What It Does
- Registers a
mwlaiAI provider with the WordPress AI Client. - Adds a Settings screen for entering the proxy URL, optional API key, and selected model.
- Loads model choices from the configured
/v1/modelsendpoint. - Restricts the provider to the selected model so WordPress auto-discovery consistently uses it.
Repository Layout
mw-local-ai-connector.php: WordPress plugin bootstrap, settings UI, connector registration.src/: provider, model, and metadata directory classes.assets/: admin UI assets.tests/phpunit/: WordPress PHPUnit coverage.
Requirements
- WordPress
7.0+ - PHP
7.4+ - A user-controlled OpenAI-compatible proxy endpoint. SLOProxy is recommended for local providers.
WordPress Plugin Setup
- Copy this plugin into
wp-content/plugins/mwlai-connector. - Activate the plugin in WordPress.
- Open
Settings > Connectorsor the dedicated Local AI settings page. - Enter:
- the proxy endpoint URL,
- the shared API key, when using a tunneled proxy,
- the model to expose to WordPress.
Recommended Proxy Helper
Install SLOProxy on the machine that can reach your local model providers:
For macOS background service management:
SLOProxy stores its persistent config in ~/.config/sloproxy/.env and can expose local providers locally only, through Tailscale Funnel, or through Cloudflare Tunnel.
Development
Developer docs, release notes, packaging details, and reference material live in docs/developing.md.