A TypeScript-free Progressive Web Application framework. All frontend logic is written in ReScript and compiled to WebAssembly.
| Status | License | Accessibility | Runtime |
|---|---|---|---|
Specification |
PMPL-1.0 OR PMPL-1.0+ |
WCAG 2.3 AAA |
Deno + WASM |
|
Important
|
This repository is currently at the specification stage. The project infrastructure, governance, and vision are in place. Implementation will follow the phases outlined in ROADMAP.adoc. |
Bridge is a next-generation PWA framework built on three core principles:
All application code is written in ReScript, providing:
-
Sound type system with complete inference
-
Zero-cost JavaScript interop where needed
-
Compilation to optimized WebAssembly
-
WCAG 2.3 AAA compliance as the baseline, not an afterthought
-
Sign Language support (BSL/GSL) built into the resource system
-
Semantic structure enforced at the type level
A security boundary that validates all resources before they enter the application context. Resources are integrity-checked against known hashes, ensuring what you ship is what runs.
Assets load in a defined, predictable order:
-
Critical path resources (verified)
-
Progressive enhancement layers
-
Deferred non-essential resources
This enables:
-
Predictable performance characteristics
-
Debuggable load sequences
-
Guaranteed resource availability at each stage
| Layer | Technology | Purpose |
|---|---|---|
Frontend |
ReScript |
Type-safe application logic |
Compilation Target |
WebAssembly |
Performance, sandboxing |
Runtime |
Deno |
Package management, tooling |
Build |
Rust toolchain |
WASM compilation, CLI tools |
Mobile |
Tauri 2.0+ / Dioxus |
Native mobile deployment |
Backend (optional) |
Gleam |
BEAM or JS compilation target |
Configuration |
Nickel |
Type-safe configuration |
See CLAUDE.md for the complete Hyperpolymath language policy.
bridge-web-rescript/
├── .claude/ # AI assistant configuration
│ └── CLAUDE.md # Hyperpolymath language policy
├── .github/
│ ├── ISSUE_TEMPLATE/ # Bug, feature, docs, question templates
│ ├── workflows/ # CI/CD (CodeQL, security, sync)
│ ├── CODEOWNERS # Review requirements
│ ├── FUNDING.yml # Sponsorship configuration
│ └── dependabot.yml # Dependency updates
├── CODE_OF_CONDUCT.md # Community standards
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE.txt # PMPL-1.0 OR PMPL-1.0+ (dual license)
├── README.adoc # This file
├── ROADMAP.adoc # Development phases
└── SECURITY.md # Security policybridge-web-rescript/
├── src/ # ReScript source
│ ├── core/ # Framework core
│ ├── loader/ # Linear Loader implementation
│ ├── webframe/ # Ephapax WebFrame
│ └── a11y/ # Accessibility primitives
├── lib/ # Shared libraries
├── wasm/ # Rust/WASM components
├── examples/ # Example applications
├── tests/ # Test suite
├── docs/ # Documentation
│ └── architecture/ # ADRs
├── deno.json # Deno configuration
├── flake.nix # Nix flake
└── guix.scm # Guix package definition|
Note
|
Implementation has not yet begun. This section will be updated when the first development milestone is reached. |
-
Deno 2.0+
-
Rust toolchain (for WASM compilation)
-
Nix or Guix (for reproducible builds)
Contributions are welcome once implementation begins. See CONTRIBUTING.md for guidelines.
The project uses a perimeter-based contribution model:
-
Perimeter 1: Security-critical (maintainer only)
-
Perimeter 2: Core features (reviewed contributions)
-
Perimeter 3: Community sandbox (open contributions)
See SECURITY.md for:
-
Vulnerability reporting process
-
Supported versions
-
Security update policy
Dual-licensed under your choice of:
-
Palimpsest-MPL License v1.0 (PMPL-1.0) - Maximum flexibility
-
PMPL-1.0-or-later - Copyleft for network services
See LICENSE.txt for full terms.
This project encourages (non-binding) adherence to the Palimpsest License principles for consent-based digital interaction.
Part of the Hyperpolymath ecosystem.