What is it
TANSHIP Template is a TanStack Start SaaS boilerplate tailored for Cloudflare Workers. It delivers a complete, deployable codebase that includes core SaaS systems already wired in: authentication, payments, database, email, and AI workflows. Built to ship quickly for indie developers and small teams, TANSHIP Template goes beyond a UI skin by providing a production-ready foundation with a perpetual license. It integrates with Cloudflare D1 (Drizzle ORM), R2 storage, Stripe/Creem/PayPal for payments, Resend for bilingual email, and a suite of AI workflows that run on Workers AI with in-app credit metering. The result is a ready-to-customize product surface with robust localization, theming, and content capabilities, designed to help you ship a real SaaS faster.
Features
- Core SaaS systems wired out of the box
- Auth: Better Auth with email/password, Google OAuth, email verification, and session management.
- Payments: One adapter that supports Creem, Stripe, and PayPal with subscriptions, one-time purchases, and webhook-verified status.
- Database: Drizzle ORM on Cloudflare D1 with migrations and local development workflow.
- Email: Resend-powered bilingual transactional emails and opt-in flows.
- AI workflows that actually run
- Eight AI modules include summarization, translation, tagline generation, text-to-speech, image description, two image-generation views, and image editing.
- Live workflows run on Cloudflare Workers AI with in-app credit metering; interfaces are designed for easy substitution with your own model provider.
- A complete credit system handles metering, rate limits, and per-plan quotas, configurable per your ship strategy.
- Theming and i18n that feel finished
- 34 theme presets plus a visual customizer; URL-driven EN/ZH routes; bilingual strings for all UI and accessibility labels.
- Per-user custom themes persist and re-apply on reload; EN/ZH routing via URLs (no locale cookies or browser sniffing).
- Content system and developer-facing docs
- Built-in content capabilities with a Changelog page and 36 bilingual guides delivered inside the codebase.
- Changelog to announce releases; guides cover authentication, payments, database, email, AI, and deployment.
- Cloudflare-native architecture
- No Vercel dependency; native deployment at the edge with direct D1 and R2 bindings and a native Workers AI binding.
- Turnstile-protected forms, service-bound AI interfaces, and a pattern designed to swap in your own providers with minimal changes.
- Data and storage
- 18 pre-made tables (users, sessions, subscriptions, orders, newsletter subscriptions, and more) with type-safe queries.
- User uploads stored in Cloudflare R2 with local development simulators for storage paths.
- Licensing and delivery
- Perpetual, one-time purchase license with access to the private repository, source code, migrations, deployment scripts, bilingual docs, and ongoing updates.
- Focused on core systems without multi-tenancy RBAC or admin panels, ideal for indie developers and small teams.
How to Use
- Purchase and access
- Buy TANSHIP Template (one-time) to receive a private repository invitation containing the full source code, migrations, deployment scripts, environment files, bilingual docs, and built-in Changelog and Guides.
- Setup and configuration
- Link a GitHub account to access the private repo, configure environment keys (auth providers, payment providers, AI providers), and set PAYMENT_PROVIDER to your chosen gateway (Creem, Stripe, or PayPal).
- Run migrations locally with Drizzle on D1 and prepare your Cloudflare deployment targets.
- Replace or extend AI providers by following the module patterns; the eight AI modules are designed for easy provider swap-in with your credentials.
- Deployment
- Deploy to Cloudflare Workers at the edge; rely on Cloudflare bindings for D1 (database) and R2 (storage).
- Verify bilingual content and routing (EN/ZH) via the URL-driven language system; no cookies or browser sniffing needed.
- What you get at launch
- A complete codebase with auth, payments, database, email, and AI usage metering already wired.
- 36 bilingual guides and a changelog to track code evolution and deployments.
- Optional enhancements
- Customize theming and i18n further via the visual customizer.
- Integrate your preferred model provider using the established service boundary and extension points.
- Add or replace content pages, marketing copy, and SEO metadata using the bilingual translation files.
Pricing
- TANSHIP Template (Complete source code)
- One-time purchase: $199
- Perpetual license to the version purchased; deploy to unlimited environments; no TANSHIP branding in your product.
- Private repository invitation, source code access, migrations, deployment scripts, environment sync, bilingual docs, built-in Changelog, and Guides.
- Client projects welcome; updates and support are covered by the sales terms. No included vendor fees (Cloudflare, Resend, or payment provider fees are separate).
- Start-from-scratch option
- $0/month to start from scratch and wire up auth, payments, database, and email yourself (significantly longer path to a finished product).
- No included AI workflows, theming, or bilingual content in this baseline approach; you build from ground up.
- Focused, enterprise-scale multi-tenant templates are not included; TANSHIP Template is designed for indie developers and small teams who want core systems wired and ready to customize.
Tips
- Leverage the 34 themes and the visual customizer to quickly preview and tailor branding, ensuring a consistent, production-ready look for your SaaS.
- Use EN/ZH routing from the URL to deliver a bilingual experience that’s complete, not cosmetic. Translate strings and SEO metadata via translation files for accessibility and discoverability.
- Take advantage of the built-in AI workflows to demonstrate real behavior on day one: generate taglines, translate text, create voice content, and apply image editing within your app.
- Swap AI providers by following the modular pattern: replace a provider call inside the module while keeping the UI, crediting, and rendering intact.
- Test payments with sandbox keys and webhooks before going live; use the per-provider adapters to ensure consistent billing states and user access controls.
- Use the included Changelog and Guides as your internal documentation hub—this reduces onboarding time for new team members and accelerates product iteration.
Frequently Asked Questions
- Is there a live demo?
- Yes. TANSHIP Template ships with a live, interactive demonstration of the core AI modules, language routing, and the core SaaS workflows embedded in the codebase.
- What license do I get?
- A perpetual, single-purchase license to the version you buy, with access to the private repository and ongoing updates under the stated terms. Client projects are allowed under the license.
- How do I deploy to Cloudflare?
- After purchase, connect your GitHub account to the private repository, configure environment variables (auth, payments, AI, and storage), and deploy the Workers project to Cloudflare. The included scripts simplify local testing and remote deployment.
- What does TANSHIP Template include?
- A complete TanStack Start SaaS boilerplate with auth, payments, database, email, AI workflows (eight modules), theming and i18n, content system (Changelog and bilingual guides), Cloudflare-native bindings (D1 and R2), and a private repository; 34 themes, bilingual routing, and 750+ automated checks.
- Which payment providers are supported?
- Creem, Stripe, and PayPal, all behind a single provider switch. You can choose the provider, then flip the switch to switch payments without rewriting the flow.
- Which kinds of projects is this template best for?
- Indie developers and small teams building SaaS products who want a production-ready foundation with core systems wired, bilingual content, AI capabilities, and edge deployment.
- How do I receive the source code after purchase?
- You’ll receive a read-only invitation to a private GitHub repository containing the complete source code, migrations, deployment scripts, environment sync, bilingual docs, the Changelog, and Guides.
This TANSHIP Template offers a practical, production-focused path from idea to shipped SaaS. It combines a robust TanStack Start SaaS foundation with Cloudflare-native architecture, ready-to-extend AI workflows, bilingual content, and a perpetual license, enabling indie developers and small teams to launch quickly, scale confidently, and ship features that matter—without building the fundamentals from scratch.