WP Manifestindependent plugin directory
manifest / ai / wp-ai-chatbot-connector

AI Chatbot Connector (Ollama / Grok / OpenRouter) archived

WordPress plugin: Frontend AI chatbot shortcode connecting to local Ollama (exposed), xAI Grok, or OpenRouter via OpenAI-compatible API. Part of automated publishing pipeline setup.

by Sourov Deb (via Grok) · github.com/sourovdeb/wp-ai-chatbot-connector · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/sourovdeb/wp-ai-chatbot-connector/archive/refs/heads/main.zip

Readme

WP AI Chatbot Connector (Ollama / Grok / OpenRouter) v0.2

Multi-turn • Floating toggle widget • Save/Schedule posts from chat • Ties to your publishing pipeline

  • Floating widget + toggle: 💬 button always visible (bottom-right). Opens multi-turn chat window. Auto via settings (or shortcode [ai_chatbot] for embedded).
  • Multi-turn history: Full context sent each turn for coherent conversation.
  • Post/Schedule from chat (enable in settings): After every AI reply, buttons appear — "Save as Draft" or "Schedule +24h". Creates WP post (draft or future). Perfect tie-in to your fixer/publishing scripts, Google Sheets, Logseq, GitHub automation, ELT content flow.
  • Providers (Settings): Any OpenAI-compatible.
    • Local Ollama: Expose securely (ngrok/Cloudflare) → http://IP:11434/v1.
    • OpenRouter / xAI Grok: Their base URL + key (Grok models supported via OpenRouter).
  • Settings (WP Admin > Settings > AI Chatbot): Endpoint, key, model, system prompt, floating on/off, schedule/post enable.
  • Security & caps: Key server-side only. create_post requires edit_posts. Nonce protected.
  • Upload to your WP Admin (or auto-push):
    1. GitHub repo → green "Code" button → Download ZIP.
    2. WP Admin → Plugins → Add New → Upload Plugin → select the zip → Install & Activate.
    3. (Alternative) Unzip to wp-content/plugins/wp-ai-chatbot-connector via FTP/cPanel.
  • Future updates: Re-download zip or git pull if cloned to server then modify and push to wordpress. .
  • Defaults on activate: OpenRouter free tier, floating widget on, schedule off (toggle on in settings).
  • Pipeline integration (from your PDF): Generate content in chat → one-click draft/schedule → your remote publishing scripts (fixer, Python GUI, GitHub) handle SEO, tags, publish. Or extend further for direct REST triggers.

Limits (v0.2): No streaming, basic post parsing. For prod: Add login gate or rate limiting. Local Ollama needs public tunnel + firewall.

Created/extended via Grok for Sourov Deb (Saint-Denis/Pierrefonds context). Matches community patterns (ai-provider-for-ollama etc.).

Quick Start

  1. Download zip from repo → upload/activate in WP. or use credentials ro upload from distance.
  2. Settings > AI Chatbot → configure provider (test OpenRouter free first).
  3. Enable floating + schedule options.
  4. 💬 button appears everywhere. Chat multi-turn. Use post buttons to feed pipeline.
  5. Add shortcode to specific pages if preferred.

Repo: https://github.com/sourovdeb/wp-ai-chatbot-connector (updated & pushed).

**

Read the full README on GitHub →