Skip to content

teslasolar/ACGP2P

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

44 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βš’ ACG P2P Β· guild mesh

AI Craftspeople Guild Β· peer-to-peer, serverless, SCADA-instrumented chat plant.

chat sandbox web-llm log health scada

Pages Last commit Issues License


πŸ“‘ Live plant readout

Badges below read controls/db/tags.json on every render. Edit that file (or use one of the issue forms below) and the HMI updates.

πŸ’¬ chat

peers room msgsIn msgsOut

πŸ“‘ tracker Β· signalling

tracker announces offersIn answersOut

πŸ”‘ identity Β· βŒ– version

signedIn sha rateLimited

⚠ errors Β· πŸ§ͺ sandbox

errors err-ERROR err-WARN sandbox


πŸŽ› Controls

Every button below is a pre-filled GitHub issue form β€” filing it writes to the DB. The sync workflow (.github/workflows/sync-db.yml) picks each one up and commits the merged JSON back to main.

Write a tag Log incident Control action

Open issue templates directly
  • tag-update.yml β€” 🏷️ <path> = <value>, quality, type, note
  • log-entry.yml β€” ⚠ [<LEVEL>] <msg> with optional stack / meta
  • control-action.yml β€” clear-log Β· rotate-tracker Β· join-room Β· pin/unpin-tag Β· force-reannounce Β· toggle-monitor Β· custom

🧬 Architecture

flowchart LR
  subgraph browser [browser]
    CHAT[πŸ’¬ chat]
    AUTH[πŸ”‘ auth]
    VER[βŒ– version]
    ERR[⚠ errors]
    SCADA[πŸ–₯️ SCADA]
    SBX[πŸ§ͺ sandbox]
  end
  BUS((πŸ›°οΈ acg-mesh))
  DB[(πŸ—„οΈ db / tags.json)]
  BADGES[shields.io badges]
  FORMS[issue forms]

  CHAT --> SCADA
  AUTH --> SCADA
  VER --> SCADA
  ERR --> SCADA
  SBX --> BUS
  BUS --> SCADA
  SCADA -.-> DB
  DB --> BADGES
  FORMS -.-> DB
Loading

πŸ“ Repo layout

βš’ ACGP2P/
β”œβ”€ index.html            🏠  operator dashboard / landing
β”œβ”€ controls/             πŸŽ›  control-plane subsystems
β”‚   β”œβ”€ scada/              πŸ–₯️  owns sys.* version.* + dense manifests (Β§0β€”Β§4)
β”‚   β”‚   β”œβ”€ 00-legend.json  …  04-sandbox.json       declarative specs
β”‚   β”‚   β”œβ”€ programs/           per-module dense-glyph specs
β”‚   β”‚   β”œβ”€ errors/         ⚠  owns errors.*  (gateway-log area)
β”‚   β”‚   └─ gateway/        πŸ›°  SCADA gateway host
β”‚   β”‚       β”œβ”€ styles/         theme.css Β· style.css Β· section.css   (HMI consistency)
β”‚   β”‚       β”œβ”€ scripts/        runtime ES modules (main Β· ui Β· config Β· p2p Β· peers Β· chat Β· auth Β· version Β· errors Β· sandbox-bridge Β· scada/*)
β”‚   β”‚       β”œβ”€ providers/      registry.json β€” canonical tag-provider registry
β”‚   β”‚       └─ auth/       πŸ”‘  identity module Β· owns auth.* (webrtc/webtorrent/discord/github/google)
β”‚   β”œβ”€ hmi/                πŸ–Ό  ISA-101 operator interface (layers, palette, faceplates)
β”‚   β”‚   └─ chat/             πŸ’¬  P2P chat HMI screen Β· owns chat.* room.* tracker.* peers.* signal.*
β”‚   β”œβ”€ plc/                πŸ”§  GitPLC universal PLC namespace (git/ UDT templates)
β”‚   β”œβ”€ sandbox/            πŸ§ͺ  browser-only tools Β· owns sandbox.*
β”‚   β”‚   └─ web-llm/          🧠 voice-powered in-browser LLM
β”‚   β”œβ”€ db/                 πŸ—„οΈ  tags.json (HMI source) Β· README.md
β”‚   └─ docs/standards/     πŸ“  Konomi meta-standard + GitPLC standard
β”œβ”€ .github/
β”‚   β”œβ”€ ISSUE_TEMPLATE/   tag-update Β· log-entry Β· control-action
β”‚   └─ workflows/        sync-db.yml

🌐 Glyphs · type shorthand

See controls/scada/00-legend.json for the full decompressor. Every manifest in this repo uses the same grammar:

glyph meaning glyph meaning
πŸ—οΈ UDT πŸ“‹ provider
πŸ“¦ instance 🏷️ tag
πŸ”Œ channel πŸ–₯️ HMI
πŸ’¬ chat πŸ§ͺ sandbox
πŸ‘₯ peer 🧠 LLM
πŸ“‘ tracker 🎀 voice
πŸ”€ commit πŸ’œ emotion
πŸ“ file πŸ›°οΈ mesh bridge
πŸ”‘ identity βš™οΈ config
🟒 🟑 πŸ”΄ tag quality ε’Œ resonant / complete

πŸ—οΈ Quick start

# serve locally (no build)
python3 -m http.server 8000
open http://localhost:8000/

Or just visit https://teslasolar.github.io/ACGP2P/ and the mesh finds its peers.


πŸ“„ License

MIT Β· Β© AI Craftspeople Guild

About

ACG Peer to Peer, Client to Client, Serverless Communications Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors