Module template

Module template 

Source
Expand description

HTML template system for x402 paywall

This module provides HTML template generation for the x402 paywall, similar to the Python implementation but using Rust’s type system.

Modules§

config
Configuration utilities for paywall templates
paywall
Paywall HTML template

Structs§

BrandingConfig
Branding configuration for the paywall
PaywallConfig
Template configuration for paywall customization
ThemeConfig
Theme configuration for the paywall

Functions§

generate_paywall_html
Generate paywall HTML with injected configuration
is_browser_request
Check if request is from a browser