Ecosystem architecture
Adapters
Framework-native and runtime-native webhook entrypoints with signature verification and typed events.
Themes
Official editor themes that carry Rewrite Night and Rewrite Day into Zed, VS Code, and Neovim.
Contracts
Shared enums, route builders, and payload contracts for consistent integrations.
Validation
Official runtime validation for REST payloads, reusable resources, and webhooks.
Transport
Low-level HTTP control with retries, hooks, and Rewrite route helpers.
Product layer
SDKs build on top for higher-level, language-native workflows.
Adapter catalog
Adapters overview
Start here to compare framework-aware adapters for webhook consumers.
@rewritetoday/edge
For standard
Request and Response runtimes such as workers and edge functions.@rewritetoday/elysia
For Elysia applications that want a native webhook route with typed callbacks.
@rewritetoday/express
For Express apps that need raw-body handling and signature verification out of the box.
@rewritetoday/fastify
For Fastify services that prefer plugin-based webhook registration.
@rewritetoday/hono
For Hono apps running on edge or Node-compatible runtimes with minimal glue code.
Theme catalog
Themes overview
Start here to compare Rewrite Night and Rewrite Day across every supported editor.
Zed
Marketplace install for Zed with both Rewrite theme variants in one extension.
VS Code
Marketplace install for Visual Studio Code with Rewrite Night and Rewrite Day.
Neovim
GitHub-based plugin setup with auto, dark, and light colorscheme variants.
Package catalog
@rewritetoday/rest
For explicit request control, retries, timeouts, hooks, and custom runtime behavior.
@rewritetoday/types
For shared API contracts, route definitions, enums, and safer compile-time checks.
@rewritetoday/zod
For official Zod schemas, versioned runtime validation, and safer webhook handling.
@rewritetoday/typebox
For official TypeBox schemas, versioned validation, and runtime-safe parsing with
@sinclair/typebox.Which piece should I use?
I need to receive Rewrite webhooks in my framework
I need to receive Rewrite webhooks in my framework
Start with an adapter. Adapters are the fastest way to mount a verified, typed webhook endpoint inside Express, Fastify, Elysia, Hono, or a standard edge runtime.
I want fast integration with less boilerplate
I want fast integration with less boilerplate
Start with the official SDKs. They provide higher-level APIs and are usually the fastest path for product teams.
I want the Rewrite look inside my editor
I want the Rewrite look inside my editor
Use Themes when you want Rewrite Night or Rewrite Day in Zed, VS Code, or Neovim without recreating the palette yourself.
I need full HTTP/runtime control
I need full HTTP/runtime control
Use
@rewritetoday/rest, optionally combined with @rewritetoday/types for typed routes and payloads.I only need contracts and route builders
I only need contracts and route builders
Use
@rewritetoday/types by itself when you already have your own HTTP client or framework abstraction.I need runtime validation for external input or webhooks
I need runtime validation for external input or webhooks
Use
@rewritetoday/zod or @rewritetoday/typebox to parse payloads at the boundary before your business logic runs, depending on your validation stack.I need webhook docs and event semantics
I need webhook docs and event semantics
Use the Webhooks docs together with an adapter page. The Webhooks section explains delivery format, signatures, retry behavior, and event families.
Design principles
Composable
Each package has a clear role. Adopt only what your architecture needs.
Consistent
Shared route names and models reduce integration drift between services.
Production-ready
Built for retries, rate limits, and operational safety in real workloads.
Open source
Public repositories with transparent evolution and release history.
Repositories and references
Adapters repository
Source code, package directories, examples, and release history for Rewrite adapters.
Themes repository
Source code, editor-specific packages, and release history for Rewrite themes.
Webhook docs
Delivery format, signature validation, retries, and event-specific payload guides.
REST repository
Source code, releases, changelog, and issue tracker for
@rewritetoday/rest.Types repository
Source code, contracts, and type utilities for
@rewritetoday/types.Zod repository
Source code and official runtime schemas for
@rewritetoday/zod.TypeBox repository
Source code and official runtime schemas for
@rewritetoday/typebox.API reference
Full endpoint reference, auth model, limits, and request semantics.
SDK docs
Higher-level client libraries for multiple languages.