Chek Signature Service
This service generates email signatures for Chek Creative team members, with options for ad-hoc generation and previewing. It is designed to be deployed as a Cloudflare Worker.
Usage
Endpoints
/signature/:slug
Returns email-safe HTML for the signature (photo shown by default)./signature/:slug/preview
Returns a human-friendly preview page for the signature./signature/:slug/nophoto
Returns the signature HTML without the headshot photo./signature/:slug/nophoto/preview
Preview page for the signature without the headshot photo./signature?full_name=...
Ad-hoc signature generation using query parameters (see below).
Optional Query Parameters
full_name,title,company,email,phone_office,phone_mobile,address,website,headshot_url
Override or provide these fields for ad-hoc signature generation.facebook,instagram,linkedin,github
Add social links to the signature.- Branding
logo_url,logo_alt,logo_width
Customize the footer logo image, its accessible description, and display width in pixels.color_text,color_accent,color_link
Adjust the primary text, divider, and link colors.facebook_icon,instagram_icon,linkedin_icon,github_icon
Provide custom image URLs for each social icon (24px square recommended).facebook_icon_alt,instagram_icon_alt,linkedin_icon_alt,github_icon_alt
Override the accessible descriptions for the social icons.
Example
To generate a signature for John Doe with a custom title and company, you can use the following URL:
/signature?full_name=John Doe&title=CEO&company=Chek Creative
This will return the signature HTML with the custom title and company, and the headshot photo hidden.
Deployment
To deploy this service, you can use the following command:
wrangler deploy
This will deploy the service to the Cloudflare Workers platform.