Skip to content

wranngle/wranngle_com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

212 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wranngle Systems

Wranngle Systems is an AI and automation consultancy. This project is the official website and landing page, featuring a console-themed UI and an integrated ElevenLabs Conversational AI agent.

Demo

Tech Stack

  • Runtime: Bun (local dev), Cloudflare Workers (production)
  • Frontend: React, Tailwind CSS, Framer Motion, Radix UI
  • Backend: Cloudflare Pages Functions (serverless)
  • Validation: ArkType
  • AI Integration: ElevenLabs Conversational AI
  • Hosting: Cloudflare Pages (free tier)

Getting Started

Prerequisites

  • Bun installed on your machine.

Installation

bun install

Development

Start the development server (Vite dev server with hot reload):

bun run dev

The application will be available at http://localhost:5173.

Build & Production

To build the project for production:

bun run build

To preview the production build locally with Cloudflare Pages Functions:

bun run preview

To deploy to Cloudflare Pages:

bun run deploy

For fast production updates after a local change, build locally and upload directly to the live Cloudflare Pages project:

bun run deploy:live

If dist/ is already freshly built, upload it without rebuilding:

bun run deploy:upload

Project Structure

  • client/: React frontend source code.
  • functions/: Cloudflare Pages Functions (serverless API endpoints).
  • shared/: Shared TypeScript schemas and utilities (ArkType).
  • script/: Build and utility scripts.
  • email-templates/: Production-ready email template system with master inheritance.
  • openspec/: Project specifications and change proposals.
  • docs/: Project documentation and architecture guides.

Architecture

This is a static site with serverless API functions:

  • Frontend: React SPA built with Vite, served globally via Cloudflare Pages CDN
  • API: Cloudflare Pages Functions handle /api/* routes (e.g., /api/leads)
  • Lead Capture: Form submissions are validated with ArkType and forwarded to an n8n webhook
  • Checkout: /api/checkout creates Stripe Checkout Sessions with native consent collection when STRIPE_SECRET_KEY is configured
  • Fulfillment: /api/stripe-webhook verifies Stripe Checkout events and forwards paid sessions into the n8n lead flow
  • Email System: Production-ready transactional email templates with master inheritance
  • Environment Variables: Set N8N_WEBHOOK_URL and optional STRIPE_SECRET_KEY / STRIPE_WEBHOOK_SECRET / SITE_URL in Cloudflare Pages dashboard

Email Templates

This project includes an email template system. See email-templates/README.md for full documentation.

Quick Start

# Preview all email templates
bun run email:preview:all
open email-templates/preview/index.html

# Build a specific template
bun run email:build welcome

# Run validation tests
bun run email:test

Available Templates:

  • Welcome email (onboarding)
  • Invoice/Receipt (billing)
  • Notification (real-time alerts)
  • Password reset (security)

Key Features:

  • Cross-client compatible (Gmail, Outlook, Apple Mail, etc.)
  • Mobile responsive
  • Brand-consistent design
  • Master template inheritance

License

This project is licensed under the MIT License - see the LICENSE file for details.

Releases

No releases published

Packages

 
 
 

Contributors