Show HN: Semantic Protocol – Pattern matching for data meaning

1 kneelinghorse 1 9/1/2025, 5:19:49 AM semantic-protocol-playground.vercel.app ↗

Comments (1)

kneelinghorse · 2h ago
Built this because I got tired of manually mapping data to UI components. It's a simple pattern matcher (~300 lines, no dependencies) that figures out what your data semantically represents.

Published to npm as @kneelinghorse/semantic-protocol if anyone wants to use it. Also made a Prisma generator that automatically analyzes your schemas.

The core insight: instead of maintaining huge component catalogs, just let data describe what it is and let the UI figure out how to display it.