Back to browse
GitHub Repository

Complex data tables in 5 minutes. Drizzle ORM + TanStack Table + auto-generated APIs with filtering, sorting, pagination, and type safety.

57 starsTypeScript

TableCraft – Stop burning AI tokens on table boilerplate

by jacksonkasi·Feb 19, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemSlick

Schema-driven tables with server adapters, but TanStack Table + shadcn already cover 80% of this.

Strengths
  • Eliminates boilerplate: one `defineTable()` call generates columns, search, filters, sorting, RBAC logic from Drizzle schema
  • Multi-framework adapters (Hono, Express, Next.js, Elysia) reduce lock-in and showcase real effort
  • URL state sync for filters/sort/page and role-based column visibility solve real product requirements
Weaknesses
  • Core feature set (sortable tables with search/export) is table stakes in 2025; TanStack Table + shadcn achieves 80% with less coupling
  • Drizzle lock-in limits adoption; no Prisma, raw SQL, or other ORMs supported
Target Audience

Full-stack engineers using Drizzle ORM, React, and Hono/Express/Next.js/Elysia

Similar To

TanStack Table · shadcn/ui data tables · Airtable API

Post Description

Hi HN, I kept using AI to generate the same data table code for every project — filtering, sorting, pagination, search, export. Same prompt. Same 200+ lines. Same debugging.

So I built TableCraft, a Drizzle ORM-powered table engine:

- Auto-generates columns from your database schema - Server-side filtering, sorting, pagination - Global search across specified columns - Date range picker with smart detection - CSV/Excel export - Column visibility, resizing, URL state sync - Role-based access control, soft delete support - TypeScript type generation via CLI

Backend (Hono/Express/Next.js/Elysia):

``` const users = defineTable(schema.users) .hide('password') .search('email', 'name') .sort('-createdAt') ```

Frontend (React):

``` <DataTable adapter={adapter} /> ```

Adapters available for Hono, Express, Next.js, and Elysia (Bun).

Looking for contributors interested in building Vue and Svelte support.

GitHub: https://github.com/jacksonkasi1/TableCraft Docs: https://jacksonkasi.gitbook.io/tablecraft

Would love feedback from the community!

Similar Projects

OtherPass

Burn, baby, burn (those tokens)

Funny satire on AI hype, but literally just a script to waste money.

dtnewman
1353029d ago