Open source · Developers
Developer-led tools, opened from production
Encapsa open-sources the tools behind its platform through encapsa-ai and opensite-ai. Every library was taken out of production use, not built as a demo.
npm crates.io RubyGems GitHub Releases ~/encapsa — zsh package.jsonHow we build
Production constraints shape the libraries
The repository set reflects the contracts Encapsa and OpenSite AI rely on while building and operating their own systems.
prod-first
Extracted from production, not demos
Every library was taken out of production use. The opensite-ai set was chosen from 50+ internal platform applications and modules based on how much each library helped in real use.
perf-contract
Performance budgets as contracts
The @opensite/ui targets are explicit: LCP ≤ 2.5s, INP ≤ 200ms, and CLS ≤ 0.1.
typed-core
Tree-shakable and typed by default
The foundational @opensite/ui library is tree-shakable and runs in TypeScript strict mode.
local-first
Local-first and privacy-respecting
dep-sync makes no network calls and includes no telemetry. Brain has no built-in fetching, telemetry, storage, API keys, or AI calls.
polyglot
Polyglot where it matters
The public toolchain spans TypeScript, Rust, Ruby, and Python.
permissive
Permissive licenses
The stated licenses are BSD-3-Clause, MIT, and Apache-2.0.
agent-ready
Agent-ready tooling
opensite-skills provides one source of truth for agent skills, while dep-sync exports a Markdown context file for AI coding agents.
README.mdEcosystem architecture
A layered runtime for semantic sites
Semantic components sit above a registry-driven runtime, focused application primitives, and shared React foundations.
Layer 1 · Semantic UI
@opensite/ui ui-libraryLayer 2 · Runtime
@page-speed/blocks @page-speed/skinsLayer 3 · Primitives
@page-speed/img @page-speed/video @page-speed/pressable @page-speed/router @page-speed/icon @page-speed/formsAttached nodes
@page-speed/media-immersive
@page-speed/markdown-to-jsx
@page-speed/social-share
icons.opensite.ai
Layer 4 · Foundations
@page-speed/hooks @opensite/hooksDependency map for the verified package relationships listed below.
Verified edges
- @page-speed/blocks connects to @opensite/ui, @page-speed/img, @page-speed/video, @page-speed/pressable, and @page-speed/router.
- @page-speed/img uses useOptimizedImage from @page-speed/hooks.
- @page-speed/media-immersive is built on @page-speed/img and @page-speed/video.
- @page-speed/markdown-to-jsx is preconfigured for @page-speed/img and @page-speed/pressable.
- @page-speed/social-share connects to @opensite/hooks.
- @page-speed/icon fetches icons from icons.opensite.ai.
Semantic UI engine
326 blocks, one semantic rendering path
@opensite/ui defines the component surface. ui-library documents it, while page-speed-blocks and page-speed-skins render and skin semantic block data.
ui.opensite.dev/categories registry hero 78 contact 40 features 26 about 23 testimonials 23 footer 19 navbar 19 faq 17 gallery 17 blog 14 carousel 13 stats 12 process 9 article 7 link-page 5 advanced 3 integrations 1 Total 326 blocks App.tsxopensite-ui
@opensite/ui
The foundational component library for the OpenSite Semantic Site Builder. It is tree-shakable, TypeScript strict, shadcn/ui compatible, and built for Tailwind CSS v4.
npm install @opensite/uiui-library
The official showcase, documentation, and API for the Semantic UI engine at ui.opensite.dev.
page-speed-blocks
@page-speed/blocks
The rendering runtime for @opensite/ui, with pre-compiled Tailwind CSS, registry-based rendering, RouterProvider integration, and dynamic data feeds.
pnpm add @page-speed/blockspage-speed-skins
@page-speed/skins
A JSON-first skin system delivered through jsDelivr. It uses Tailwind classes and CSS variables with no runtime JavaScript overhead.
Rendering and media
Media primitives with explicit fallbacks
Composable packages cover responsive images, adaptive video, immersive feeds, lightboxes, PDFs, maps, and area-proportional diagrams.
page-speed-img
@page-speed/img
A React image component that computes pixel-perfect src values and DPR-aware sizes through useOptimizedImage. It is a drop-in alternative to next/image outside Next.js.
pnpm add @page-speed/imgpage-speed-video
@page-speed/video
HLS adaptive streaming with hls.js, native HLS on Safari and iOS starting on the highest rendition, progressive MP4 fallback, and optimized posters.
page-speed-media-immersive
@page-speed/media-immersive
A vertical video feed using a portal, CSS isolation, a pointer-driven spring pager, HLS with MP4 fallback, and an iOS-safe body scroll lock.
page-speed-lightbox
@page-speed/lightbox
A responsive, keyboard-friendly lightbox for images, videos, PDFs, and custom React components, with lazy loading for heavy dependencies.
page-speed-pdf-viewer
@page-speed/pdf-viewer
A linearized PDF viewer with sub-1-second page rendering, progressive loading, full-text search, zoom, download, and print.
page-speed-maps
@page-speed/maps
MapLibre primitives for React.
pnpm add @page-speed/maps maplibre-gl react-map-glpage-speed-venn-diagram
@page-speed/venn-diagram
Area-proportional Venn and Euler diagrams with hover and click events plus keyboard navigation.
Interaction and application
Small primitives for routing, forms, and content
These packages handle navigation, normalized actions, reactive forms, performance signals, browser state, icons, sharing, and safe markdown rendering.
page-speed-router
@page-speed/router
SSR-compatible native browser routing with zero dependencies and under 3KB minified and gzipped.
pressable
@page-speed/pressable
A universal link and button component that normalizes internal, external, mailto, and tel links. Internal links remain anchors for SEO.
<Pressable href="/about">About Us</Pressable>page-speed-forms
@page-speed/forms
Type-safe forms with field-level reactivity, a declarative FormEngine, built-in inputs, sync and async validation, a Valibot adapter, and file uploads.
page-speed-hooks
@page-speed/hooks
Core Web Vitals and performance hooks implementing web.dev guidance, at about 2–3 KB per hook.
const vitals = useWebVitals({ reportAllChanges: true })opensite-hooks
@opensite/hooks
Zero-dependency, SSR-safe React hooks for state, storage, media queries, timing, resize observation, and previous values.
page-speed-icon
@page-speed/icon
A dynamic icon loader that fetches from icons.opensite.ai and accepts prefix/name and prefix:name formats.
page-speed-social-share
@page-speed/social-share
Inline share buttons and a scroll-aware sticky sidebar, with native Web Share API support on capable devices.
markdown-to-jsx
@page-speed/markdown-to-jsx
A tree-shakable, SSR-compatible markdown renderer at about 8KB gzipped, with XSS protection, URL sanitization, and overrides for image and Pressable primitives.
encapsa-ai
Developer tools from Encapsa workflows
Desktop dependency tooling, shared graph visualization, and evidence-based AI skill analysis are maintained in the encapsa-ai organization.
dep-syncUpdate order (Kahn's algorithm)
- @yourco/hooks
- @yourco/forms
- @yourco/ui
- app
- "^0.2.1" + "^0.2.2"
No network. No telemetry.
dep-sync
dep-sync scans local dependencies, devDependencies, and peerDependencies, then filters to configured internal packages. Rust's semver::VersionReq detects drift; cycle detection and Kahn's algorithm produce a stable dependency-first order. It previews exact package.json edits while preserving key order, indentation, trailing newlines, and range style, with no commits, publishes, telemetry, or network calls.
macOS .dmg Linux .AppImage .deb Windows .exe MITbrain
Brain is a React and TypeScript visualization library for knowledge graphs, AI context, documentation networks, and application dashboards. Its 3D, 2D, and keyboard-accessible list views share one selection and inspection model, with WebGL opt-in. It has no built-in fetching, telemetry, storage, API keys, or AI calls, and requires neither Next.js nor Tailwind.
npm install @encapsa-dev/brain knowledge graph 3D · 2D · ListSelected node
documentation
Relationships
- context
- source
- dashboard
skill.zip — analysis
✓ Prompt injection evidence attached ✓ Credential exposure evidence attached ✓ Risky scripts evidence attached ✓ Hidden threats evidence attachedskill-guard
Skill Guard inspects AI skill ZIP files for prompt injection, credential exposure, risky scripts, and hidden threats. It produces evidence-based security reports.
Agents and polyglot utilities
Agent skills, Rust cleanup, and Ruby parsing
The repository set extends beyond React with shared agent skills, a Rust markdown cleanup CLI, and a Ruby URL parser.
opensite-skills
A single source of truth for 50+ AI coding-agent skills following the Agent Skills open standard, with a persistent memory system.
~/opensite-skills
├─ ~/.claude/skills
├─ ~/.codex/skills
├─ .cursor/skills
├─ ~/.copilot/skills
└─ ~/.agents/skills
markdown-ai-cite-remove
A Rust CLI that removes inline citations, reference links, and bibliography sections from AI-generated markdown. The binary is mdcr.
before / after
- Rust is fast[1][2].
+ Rust is fast.
$ echo "Text[1]" | mdcr
100+ MB/s Apache-2.0domain_extractor
A Ruby URL and domain parser with multi-part TLD support, URI-compatible accessors, authentication extraction, and Rails integration.
irb
~5k–6k URLs/sec · Ruby 3.4 · Apple Silicon BSD-3-ClauseAll repositories
Developer FAQ
Answers grounded in the published repository contracts and package metadata.
How are the two GitHub organizations divided?
encapsa-ai contains developer tooling, AI utilities, agent components, and desktop apps. opensite-ai contains the website and UI libraries used by the OpenSite Semantic Site Builder, including React hooks, Semantic UI components, and Ruby and Rust utilities.
Which licenses are used?
BSD-3-Clause covers most opensite-ai packages and Encapsa Brain. MIT applies to dep-sync and page-speed-humanizer. Apache-2.0 applies to markdown-ai-cite-remove. A license is not inferred for repositories where no exact license is stated.
How are the packages and applications installed?
Published JavaScript packages use npm-compatible registries. markdown-ai-cite-remove installs through cargo, domain_extractor through gem, and dep-sync provides prebuilt release binaries for macOS, Linux, and Windows.
Are these demo projects?
No. Every library was taken out of production use. The opensite-ai selection came from 50+ internal platform applications and modules based on how much each library helped in real use.
Are the React libraries tree-shakable and typed?
The verified core contract is specific: @opensite/ui is tree-shakable and uses TypeScript strict mode. @page-speed/forms is type-safe, and other repositories document their package-level TypeScript contracts individually.
Do dep-sync or Brain send project data?
dep-sync is local-first, makes no network calls, and includes no telemetry. Brain has no built-in fetching, telemetry, storage, API keys, or AI calls.
Clone the code and take part
Clone a repository, star the work you use, open an issue, or contribute where your experience can help.
get started