Loading…
Loading…
PledgeJS is a multi-framework web platform with file-based routing, SSR/SSG/ISR, server components, edge runtime, and a Rust+Zig bundler for native-grade performance.
$ npx create-pledge-app@latest my-app
✔ Select framework React
✔ Use TypeScript? Yes
✔ Use Tailwind CSS? Yes
Success! Created your PledgeJS appSupports the UI libraries you already use
A complete full-stack platform with native-grade performance, from dev server to production edge.
Build with React, Vue, Solid, or Svelte via pluggable renderer adapters. The core runtime is framework-agnostic.
PledgePack uses Oxc for transforms, Lightning CSS for styles, and a Zig C ABI for hot-path file I/O and SIMD scanning.
Full RSC support with flight payload generation, streaming, and client manifests. React-only; other frameworks use SSR with hydration.
page.tsx, layout.*, route.ts, loading.*, error.*, not-found.*, template.*, head.*, opengraph-image.* — with dynamic segments, catch-all, and parallel routes.
Server-side rendering with layout chains, static site generation with generateStaticParams, and incremental static regeneration with tag-based revalidation.
Static shell prerendered at build time, dynamic holes streamed at request time. Rust-based PPR with JS fallback.
route.ts with GET/POST/PUT/DELETE/PATCH handlers. Middleware with redirect, rewrite, headers, and matcher config. CSRF validation built in.
Auto-applied CSP, CORS, X-Frame-Options, X-Content-Type-Options, HSTS, Referrer-Policy, and Permissions-Policy. Configurable per-route.
Multi-region edge caching, edge runtime support, and SSRF protection. Server-side fetch validates URLs against private address ranges.
Metadata API with layout inheritance, viewport API, OpenGraph/Twitter cards, JSON-LD, robots.txt, sitemap.xml, RSS feeds, and OG image generation.
Rust NAPI addons for compression, search, rate limiting, JIT templates, and hydration. JS fallbacks exist for every addon.
HMR with Fast Refresh, error overlay with telemetry, dev toolbar, component inspector, cache inspector, and bundle analyzer.
Scaffold a new PledgeJS project with create-pledge-app, or add PledgeJS to an existing project. Deploy anywhere — Node.js, Docker, or the edge.