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:
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
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
- swift-server-foundation - Core server development tools
- swift-web-foundation - Web development utilities
- swift-document-templates - Business document generation
- swift-resource-pool ⭐ 1 - Production-ready resource pooling with FIFO fairness
- swift-throttling - Security-first rate limiting with exponential backoff
- swift-translating - Type-safe internationalization for 180+ languages
- swift-environment-variables ⭐ 4 - Type-safe environment variable management
- swift-jwt - JWT creation and verification
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
Legal Advisor - Bridging law and code for groundbreaking life sciences:
- 100+ Study - Amsterdam UMC's pioneering longevity research
- Alzheimer Genetics Hub - Global genetics collaboration platform
- DEMENTREE Biobank - Advanced dementia research infrastructure
- 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
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
- From Broke to Building in Public - Why I open-sourced my business
- A Journey Building HTML Documents in Swift - Evolution of type-safe HTML
- A Tour of PointFreeHTML - Deep dive into HTML DSLs
- Modern Swift Library Architecture - Building modular systems
- Website: coenttb.com
- Twitter/X: @coenttb
- LinkedIn: Coen ten Thije Boonkkamp
- Legal Practice: Ten Thije Boonkkamp
Currently accepting select consulting engagements in Swift, breakthrough life science projects, or legal tech. Have an interesting challenge? Let's talk.


