Skip to content
View coenttb's full-sized avatar

Block or report coenttb

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
coenttb/README.md

Coen ten Thije Boonkkamp

Lawyer • Swift Developer • Founder

I see a future where no person again faces the unjust reality that economic differences significantly dictate legal outcomes. To reach that future, we need technology that makes legal services accessible and affordable.

Another reality is that the infrastructure to reach this, just isn't there yet.

That's why I build type-safe Swift web infrastructure—from PostgreSQL queries to HTML rendering, from payments infrastructure to email. 90+ open source packages working together in production. Pioneering server-side Swift through real-world systems that prove the language's potential beyond iOS.

And I plan to take all my learnings back to legal. But first:

My contributions to the Swift open source ecosystem

🎯 Flagship Projects

swift-html ⭐ 23 - The Swift HTML package Type-safe HTML & CSS DSL with compile-time validation. Build web pages like SwiftUI views.

  • Zero runtime overhead, SwiftUI-like syntax
  • First-class dark mode support
  • Complete CSS type system

swift-html-to-pdf ⭐ 47 The fastest HTML to PDF library for Swift. 1,939 PDFs/second with 35MB memory.

  • Concurrent rendering with WebView pooling
  • Swift 6 strict concurrency
  • Type-safe HTML integration

swift-records ⭐ 5 - The Swift PostgreSQL package

  • High-level database layer combining type-safe queries with PostgresNIO's performance
  • Inspired by GRDB's elegance, built for production PostgreSQL applications
  • Complete transaction support, migrations, and testing infrastructure

swift-structured-queries-postgres ⭐ 1 - Type-safe PostgreSQL query builder

  • Compile-time SQL validation, zero runtime overhead
  • 558 comprehensive tests with SQL snapshots
  • Full PostgreSQL feature support (JSONB, CTEs, window functions)

swift-identities - The Swift Identity & Authentication Package

  • Complete auth methods (email/password, tokens, API keys)
  • Multi-factor authentication (TOTP, SMS, email, WebAuthn)
  • PostgreSQL backend with secure token management

coenttb-com-server ⭐ 7 Production Swift website. 100% Swift, type-safe from database to DOM.

  • Demonstrates modern Swift web architecture
  • Real-world hypermodular design
  • Powers coenttb.com

🔌 Production-Ready SDKs

swift-stripe - The Swift Stripe SDK

  • 48 modules covering entire Stripe API
  • Production-ready with dependency injection
  • Used in production at coenttb.com

swift-mailgun - The Swift Mailgun SDK

  • Type-safe HTML email generation
  • Comprehensive API coverage (Messages, Domains, Templates, Webhooks)
  • Swift 6 support with async/await

swift-github - The Swift GitHub SDK

  • Repository analytics and management
  • Traffic metrics, engagement stats
  • High-performance async/await design

🛠 Core Infrastructure

🔧 Developer Tools

🔮 Upcoming Projects

Boiler - Batteries-included Swift web framework

  • Minimal API: web server in 15 lines of Swift
  • Type-safe routing and HTML generation
  • Built on Vapor with opinionated defaults
  • Perfect for rapid prototyping and production apps
  • Currently in private alpha (v0.1.0)

RepoTraffic.com - GitHub repository analytics platform

  • Store and analyze GitHub traffic data beyond 14-day limit
  • Visual traffic trends and engagement metrics
  • Built with full-stack Swift
  • Coming soon

💼 Professional Work

Legal Advisor - Bridging law and code for groundbreaking life sciences:

📊 Impact

  • 90+ open source packages demonstrating hypermodular architecture
  • Production systems serving real users, not just demos
  • Swift 6.0 strict concurrency throughout entire ecosystem
  • Type-safe from database to DOM - compile-time guarantees everywhere

🎯 Philosophy

I build tools that make wrong things impossible. Every abstraction removes entire classes of errors. My frameworks don't just work - they teach you how to build better systems.

Core beliefs:

  • Type safety is a feature, not overhead
  • Swift's future extends far beyond Apple platforms
  • The best code is code that guides its users
  • Building in public accelerates everyone's learning

📝 Recent Writing

🤝 Let's Connect


Currently accepting select consulting engagements in Swift, breakthrough life science projects, or legal tech. Have an interesting challenge? Let's talk.

Pinned Loading

  1. swift-html swift-html Public

    A Swift library for domain-accurate and type-safe HTML & CSS

    Swift 23

  2. swift-html-to-pdf swift-html-to-pdf Public

    A Swift package providing an easy-to-use interface for concurrently printing HTML to PDF on iOS and macOS.

    Swift 49 6

  3. coenttb-com-server coenttb-com-server Public

    Production Swift website built with Boiler

    Swift 7

  4. swift-document-templates swift-document-templates Public

    A Swift package for data-driven creation of common business documents.

    Swift 3 1