Add <ufo-intel-widget> embeddable UAP intelligence Web Component#5
Merged
Conversation
…, friendly empty-source UX
Copilot created this pull request from a session on behalf of
DaScient
May 27, 2026 10:26
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transform the minimalist UFO-release dashboard concept into a plug-and-play, fully client-side Web Component — live feed, deep analytics, and a BYO-key agentic assistant — that any analyst can drop into an intranet portal with zero backend.
Lives at
services/web-dashboard/public/widget/and ships through the existing Pages workflow tohttps://dascient.github.io/UACP/widget/.Changes
ufo-intel-widget.js— single-file ES module, ~1 600 LOC, no runtime deps. Shadow-DOM style isolation; observed attributesdata-source,refresh-interval,theme,llm-provider,llm-model,api-key./summarize /compare /report /risk /timeline /find. Client-side TF-IDF RAG keeps retrieval in-browser; only top-K snippets are sent to the LLM. Graceful credentials prompt when no key.localStorage(XOR + base64 obfuscation viaTextEncoder/TextDecoder); ASCII-control-character strip before injection intoAuthorization/x-api-keyheaders; no telemetry, no external CDN, all output HTML-escaped.prefers-reduced-motion, keyboard shortcuts (Rrefresh,/open assistant,Escclose modal), focusable feed items.index.htmldemo — usage docs, configurable source/refresh controls, bundled offline sample fixture (ODNI, AARO, USN public releases) so the widget exercises every code path without network access.README.md— embed snippet, attribute table, privacy notes, schema documentation.Usage
Schema
Loader normalises any of
{ pdfs, images, videos },{ items }, a top-level array, or RSS/Atom into:Deployment
No workflow change needed —
static_deploy.ymlalready copiesservices/web-dashboard/public/through the Next.js export into the Pages root.