Skip to main content

System Architecture

The Vania Novikau ecosystem consists of a WordPress frontend, a custom AI integration plugin, and a remote AI backend accessible via secure tunnels.

Component Diagram 1​

graph TD
User[Web User] -->|HTTPS| WP[WordPress Site<br>&lt;remote_host&gt;]

subgraph "WordPress Server"
WP
Plugin[posts-ai-chatboxes]
Docs[Documentation<br>/documentation/]
end

subgraph "Backbone Network (Tailscale)"
Tunnel[SSH Tunnel]
AI[AI Service<br>100.115.246.57]
DB[PostgreSQL DB]
end

Plugin -->|Port 5678| Tunnel
Tunnel -->|Forwarded| AI
Plugin -->|Port 5435| Tunnel
Tunnel -->|Forwarded| DB

Docs -.->|Restricted Access| User

Core Components​

1. WordPress Plugin (posts-ai-chatboxes)​

  • Role: Manages content generation and interactions.
  • Location: /wp-content/plugins/posts-ai-chatboxes
  • Configuration:
    • Uses class-pac-ai-ajax.php for handling AI requests.
    • Connects to http://100.115.246.57:5678/webhook/kant (Tailscale AI Endpoint).

2. Docusaurus Documentation​

  • Role: Knowledge Base for Humans and Agents.
  • Type: Static Site (React/MDX).
  • Access: Restricted to internal admin/dev networks.

3. SSH Tunnels​

  • Role: Secure bridge between Public Web Server and Private Backend.
  • Necessity: Ports 5678 and 5435 are not exposed to the public internet. They are only accessible via the tunnel interface or Tailscale.