Skip to the content.

๐Ÿ—๏ธ Architecture Diagrams

System Architecture - ๅ…จไฝ“ๆง‹ๆˆ

graph TB
    subgraph "Human Layer"
        Human[๐Ÿ‘ค Developer]
        Issue[๐Ÿ“ GitHub Issue]
    end
    
    subgraph "Automation Layer - GitHub"
        Actions[โš™๏ธ GitHub Actions<br/>sync-issues.yml]
        Pages[๐Ÿ“„ GitHub Pages<br/>Jekyll + Docs]
        Project[๐Ÿ“Š GitHub Project #6<br/>9 Issues Management]
    end
    
    subgraph "Data Layer - Supabase"
        DB[(๐Ÿ—„๏ธ PostgreSQL<br/>github_issues<br/>ai_responses<br/>ai_agent_state)]
        Realtime[โšก Realtime<br/>WebSocket Sync]
        RLS[๐Ÿ” RLS<br/>17 Policies]
    end
    
    subgraph "AI Layer - VS Code"
        Bridge[๐Ÿ Python Bridge<br/>SupabaseCopilotBridge.py]
        Copilot[๐Ÿค– VS Code Copilot<br/>AI Implementation]
        pyautogui[๐Ÿ–ฑ๏ธ pyautogui<br/>Automation]
    end
    
    subgraph "AI OS Layer - noVNC"
        Gateway[๐Ÿ–ฅ๏ธ noVNC Gateway<br/>AI Virtual Desktop]
        VNC[๐Ÿ“บ VNC Server<br/>Remote Display]
        Desktop[๐Ÿ’ป Linux Desktop<br/>VS Code + Terminal + Browser]
    end
    
    subgraph "Workflow Layer - n8n"
        n8n[๐Ÿ”„ n8n<br/>59 Workflows]
        External[๐ŸŒ External Services<br/>HuggingFace, Lambda, etc.]
    end
    
    Human -->|Create| Issue
    Issue -->|Webhook| Actions
    Actions -->|REST API| DB
    DB -->|Subscribe| Realtime
    Realtime -->|Notify| Bridge
    Bridge -->|Inject Command| Copilot
    Copilot -->|Response| Bridge
    Bridge -->|Write Back| DB
    
    Copilot -->|Control| pyautogui
    pyautogui -->|Automate| Gateway
    Gateway -->|VNC Protocol| VNC
    VNC -->|Render| Desktop
    
    DB -->|Trigger| n8n
    n8n -->|Integrate| External
    
    Pages -.->|Publish| Human
    Project -.->|Track| Issue
    RLS -.->|Secure| DB
    
    style Human fill:#e1f5ff
    style Issue fill:#fff3cd
    style Actions fill:#d4edda
    style DB fill:#f8d7da
    style Realtime fill:#f8d7da
    style Copilot fill:#d1ecf1
    style Gateway fill:#e7e8ea
    style n8n fill:#cce5ff

Data Flow - Issue ใ‹ใ‚‰ๅฎŒๆˆใพใง

sequenceDiagram
    participant H as ๐Ÿ‘ค Human
    participant GH as GitHub
    participant GA as GitHub Actions
    participant SB as Supabase
    participant RT as Realtime
    participant BR as Python Bridge
    participant CP as VS Code Copilot
    participant NV as noVNC Gateway
    
    H->>GH: Create Issue #10
    GH->>GA: Trigger webhook (on: issues)
    GA->>SB: POST /rest/v1/github_issues
    SB->>RT: Broadcast INSERT event
    RT->>BR: Notify new issue
    
    BR->>CP: Inject to Chat
    Note over CP: AI analyzes Issue
    CP->>BR: Generate response
    BR->>SB: POST /rest/v1/ai_responses
    
    CP->>NV: Execute commands (pyautogui)
    NV->>NV: Open VS Code, run tests, commit code
    
    NV->>SB: Update agent_state
    SB->>RT: Broadcast UPDATE
    RT->>H: Show realtime progress
    
    Note over H,NV: System running 24/7

noVNC Gateway Architecture - AI ็”จ OS

graph TB
    subgraph "Browser Layer"
        Browser[๐ŸŒ Web Browser<br/>Chrome, Firefox, etc.]
        noVNCClient[๐Ÿ“ฑ noVNC Client<br/>JavaScript VNC Viewer]
    end
    
    subgraph "Gateway Layer"
        Gateway[๐Ÿšช noVNC Gateway<br/>WebSocket โ†” VNC Bridge]
        Auth[๐Ÿ” Authentication<br/>Token / Session]
    end
    
    subgraph "VNC Server Layer"
        VNCServer[๐Ÿ“บ VNC Server<br/>TightVNC / TigerVNC]
        Xvfb[๐Ÿ–ผ๏ธ Xvfb<br/>Virtual Framebuffer]
    end
    
    subgraph "Desktop Environment"
        DE[๐Ÿ–ฅ๏ธ Linux Desktop<br/>XFCE / LXDE]
        VSCode[๐Ÿ’ป VS Code]
        Terminal[โŒจ๏ธ Terminal]
        BrowserApp[๐ŸŒ Browser<br/>Chrome / Firefox]
    end
    
    subgraph "AI Control Layer"
        pyauto[๐Ÿ pyautogui<br/>Mouse & Keyboard Control]
        Bridge2[๐Ÿ”— Supabase Bridge<br/>Command Listener]
    end
    
    Browser -->|HTTPS/WSS| noVNCClient
    noVNCClient -->|WebSocket| Gateway
    Gateway -->|VNC Protocol| VNCServer
    VNCServer -->|Display| Xvfb
    Xvfb -->|Render| DE
    DE --> VSCode
    DE --> Terminal
    DE --> BrowserApp
    
    Bridge2 -->|Listen Realtime| Gateway
    pyauto -->|Automate| DE
    
    Auth -.->|Verify| Gateway
    
    style Browser fill:#e1f5ff
    style Gateway fill:#d4edda
    style VNCServer fill:#fff3cd
    style DE fill:#f8d7da
    style pyauto fill:#d1ecf1

่ชฌๆ˜Ž:


Evolution Timeline - VirtualOffice ใ‹ใ‚‰ noVNC Gateway ใธ

timeline
    title bpmchat.com ใ‹ใ‚‰ AI Automation Platform ใธใฎ้€ฒๅŒ–
    2013-2015 : VirtualOffice (ไบบ้–“็”จ)
              : Google Meet + ็”ป้ขๅ…ฑๆœ‰
              : ใƒ“ใƒ‡ใ‚ชไผš่ญฐใƒปใƒใƒฃใƒƒใƒˆ
    2016-2020 : BPMS ็ตฑๅˆ
              : ProcessMaker + GAS + Lambda
              : SpreadSheet + JIRA
              : RPA (UiPath)
    2021-2023 : AI ๅฎŸ้จ“
              : ChatGPT + Copilot
              : ๅฏพ่ฉฑ็š„้–‹็™บใฎ่Œ่Šฝ
              : ็ตฑๅˆๅœฐ็„
    2024-2025 : AUTOCREATE
              : Supabase Realtime
              : SupabaseCopilotBridge.py
              : noVNC Gateway ็™บ่ฆ‹ ๐Ÿ’ก
    2026 : AI Automation Platform
         : GitHub Issue ้ง†ๅ‹•
         : noVNC = AI ๅฐ‚็”จ OS
         : AI ใŒใƒชใƒขใƒผใƒˆใƒฏใƒผใ‚ซใƒผใซ

Tech Stack Overview

Layer Technology Purpose
Frontend GitHub Pages (Jekyll) Documentation
Issue Tracking GitHub Issues + Project #6 Task Management
Pipeline GitHub Actions Automation
Database Supabase PostgreSQL Data Storage
Realtime Supabase Realtime WebSocket Sync
Security Row Level Security (RLS) Access Control
AI Interface VS Code Copilot AI Implementation
Bridge Python (pyautogui) Automation
AI OS noVNC Gateway Virtual Desktop
Workflow n8n External Integration
Visualization dhtmlx, Mermaid BPMN Diagrams

โ† Back to Docs