{"adoption": {"forks": 79, "observed_at": "2026-08-28T04:03:51.774853+00:00", "stars": 1173}, "canonical_url": "https://ross.abutalabs.com/products/kanel", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Generate Typescript types from Postgres", "domain": ["databases", "developer-tools", "web-development", "backend"], "enriched": true, "function": ["type-system", "database", "developer-tools"], "health_score": 82, "homepage": "https://kristiandupont.github.io/kanel/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["kristiandupont/kanel"], "name": "kristiandupont/kanel", "platform": ["cli", "cross-platform"], "pushed_at": "2026-08-26T13:53:59+00:00", "repo": "kristiandupont/kanel", "stars": 1173, "tags": ["postgresql", "typescript", "schema-types", "zod", "codegen", "no-orm", "code-generation", "nodejs"], "topics": [], "urls": [], "use_cases": ["generate typescript types from postgres schema", "type-safe database access without an orm", "generate zod schemas from database tables", "keep typescript types in sync with database schema", "generate initializer and mutator types for tables", "code generation from a live postgres database"], "what_it_is": "Kanel is a code generation tool that connects to a live PostgreSQL database and generates TypeScript types (plus optional Zod schemas) from its schema. It is aimed at developers who prefer raw SQL over ORMs but still want type checking and IntelliSense for database access code.", "when_to_avoid": ["you want an ORM with a query builder and runtime query generation", "your database is not PostgreSQL", "you need runtime schema migrations rather than type generation"], "when_to_choose": ["you use raw SQL or a query builder and want static types for your Postgres schema", "you want generated Zod validation schemas matching your tables", "you dislike heavyweight ORMs but want IntelliSense for database rows"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/kanel", "repo": "kristiandupont/kanel", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:51.774853+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:28:23.415259+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a4e37cbe9a3cd04ec5843c89bde6bb3b90f6207aaf8d18e313d3f23235fbc151", "fetched_at": "2026-08-28T04:03:51.774853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kristiandupont/kanel"}, {"content_hash": "ca9cc0dd1106e009e9899157bcb586918814f2ada265baffb78d6fcc30b0e338", "fetched_at": "2026-08-29T12:33:44.926751+00:00", "kind": "homepage", "missing": false, "url": "https://kristiandupont.github.io/kanel/"}, {"content_hash": "1e3bc60247d861ff67cd45198f6f721c82440def059882276be5d840b021c203", "fetched_at": "2026-08-29T12:33:44.937078+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/kanel"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2388, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}