Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

awesome-kysely

A curated list of Kysely resources, tools, utilities and applications.
https://github.com/kysely-org/awesome-kysely

Last synced: 2 days ago
JSON representation

  • Articles

  • Videos

    • I tried 8 different Postgres ORMs - [Fireship](https://twitter.com/fireship_dev) breaks down some popular [PostgreSQL](https://www.postgresql.org) libraries in the [Node.js](https://nodejs.org) ecosystem. Starting from client libraries, going through query builders ([Kysely](https://kysely.dev) is mentioned starting at the [5:20](https://youtu.be/4QN1BzxF8wM?t=320) mark) and then finishing with ORMs.
    • I tried 8 different Postgres ORMs - [Fireship](https://twitter.com/fireship_dev) breaks down some popular [PostgreSQL](https://www.postgresql.org) libraries in the [Node.js](https://nodejs.org) ecosystem. Starting from client libraries, going through query builders ([Kysely](https://kysely.dev) is mentioned starting at the [5:20](https://youtu.be/4QN1BzxF8wM?t=320) mark) and then finishing with ORMs.
    • Kysely first impressions - Typescript SQL query builder and migrations - In the video we take a quick look at a new Typescript SQL query builder which optimizes for type-safety and the best possible intellisense. We'll walk through how to use it to connect to a database and perform typical CRUD queries, we'll explore how to simulate relational queries, and finally, we'll give their migration feature a try!
    • We need to talk about Prisma - [Mehul Mohan](https://twitter.com/mehulmpt) talks about what [codedamn](https://codedamn.com) went through while migrating from [MongoDB](https://mongodb.com) to [Prisma](https://prisma.io) and [Planetscale](https://planetscale.com), and their eventual re-re-write to [AWS Aurora](https://aws.amazon.com/rds/aurora) and [Kysely](https://kysely.dev) for type-safety and performance (starts at the [14:37](https://youtu.be/J2j1XwZRi30?t=877) mark).
    • Let's Talk About Database Performance - [Theo Browne aka t3.gg](https://twitter.com/t3dotgg) talks about database performance, [Prisma](https://www.prisma.io), serverless and edge functions, [PlanetScale](https://planetscale.com), their Data API offering and type-safety via [Kysely](https://kysely.dev) (starts at the [15:57](https://youtu.be/3P7jnolWfHw?t=957) mark).
    • Type-Safe SQL on the Edge with Kysely - [Supabase](https://supabase.com) Edge Functions can connect directly to your [Postgres](https://www.postgresql.org) database to execute SQL Queries. [Kysely](https://kysely.dev) is a type-safe and autocompletion-friendly typescript SQL query builder. Combining [Kysely](https://kysely.dev) with [Deno Postgres](https://deno-postgres.com) provides a neat developer experience for interacting directly with your [Postgres](https://www.postgresql.org) database.
    • 2022-08-12 - Fresh Spots - Deno + Fresh Part 4 - Kysely DB Setup / Replacement - Watch [Coding Garden](https://twitter.com/coding_garden) as he combines [Kysely](https://kysely.dev) (starts at the [12:09](https://www.youtube.com/watch?v=C14LWU6zJvA&t=729s) mark), [Deno](https://deno.com/runtime) and [Fresh](https://fresh.deno.dev) on his stream.
    • how to get better at typescript (feat. kysely) - While videos and blog posts are great, nothing teaches me faster than trying to duplicate a cool pattern or technique. Sometimes that pattern comes from other languages, like Rust, and sometimes, it's something that TS developers who are way smarter than me have come up with.
    • We need to talk about Prisma - [Mehul Mohan](https://twitter.com/mehulmpt) talks about what [codedamn](https://codedamn.com) went through while migrating from [MongoDB](https://mongodb.com) to [Prisma](https://prisma.io) and [Planetscale](https://planetscale.com), and their eventual re-re-write to [AWS Aurora](https://aws.amazon.com/rds/aurora) and [Kysely](https://kysely.dev) for type-safety and performance (starts at the [14:37](https://youtu.be/J2j1XwZRi30?t=877) mark).
    • Let's Talk About Database Performance - [Theo Browne aka t3.gg](https://twitter.com/t3dotgg) talks about database performance, [Prisma](https://www.prisma.io), serverless and edge functions, [PlanetScale](https://planetscale.com), their Data API offering and type-safety via [Kysely](https://kysely.dev) (starts at the [15:57](https://youtu.be/3P7jnolWfHw?t=957) mark).
    • Type-Safe SQL on the Edge with Kysely - [Supabase](https://supabase.com) Edge Functions can connect directly to your [Postgres](https://www.postgresql.org) database to execute SQL Queries. [Kysely](https://kysely.dev) is a type-safe and autocompletion-friendly typescript SQL query builder. Combining [Kysely](https://kysely.dev) with [Deno Postgres](https://deno-postgres.com) provides a neat developer experience for interacting directly with your [Postgres](https://www.postgresql.org) database.
    • how to get better at typescript (feat. kysely) - While videos and blog posts are great, nothing teaches me faster than trying to duplicate a cool pattern or technique. Sometimes that pattern comes from other languages, like Rust, and sometimes, it's something that TS developers who are way smarter than me have come up with.
  • Adapters

    • Auth.js - adapter?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/@auth/kysely-adapter?style=flat-square) |
    • Sequelize - sequelize) | ![npm](https://img.shields.io/npm/dw/kysely-sequelize?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/igalklebanov/kysely-sequelize?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-sequelize?style=flat-square) |
    • link - kysely?style=flat-square) |
    • link - knex?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/kysely-org/kysely-knex?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-knex?style=flat-square) |
    • link - supabase?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/kysely-org/kysely-supabase?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-supabase?style=flat-square) |
  • Dialects

    • AWS RDS Data Api - stack/kysely-data-api) | ![npm](https://img.shields.io/npm/dw/kysely-data-api?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/serverless-stack/kysely-data-api?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-data-api?style=flat-square) |
    • @vercel/postgres - kysely) | ![npm](https://img.shields.io/npm/dw/@vercel/postgres-kysely?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/@vercel/postgres-kysely?style=flat-square) |
    • Web Worker - sqlite](https://github.com/rhashimoto/wa-sqlite), store data in [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API). | [link](https://github.com/subframe7536/kysely-sqlite-tools/tree/master/packages/dialect-wasqlite-worker) | ![npm](https://img.shields.io/npm/dw/kysely-wasqlite-worker?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-wasqlite-worker?style=flat-square) |
    • Node worker threads - sqlite3](https://github.com/WiseLibs/better-sqlite3). | [link](https://github.com/subframe7536/kysely-sqlite-tools/tree/master/packages/dialect-sqlite-worker) | ![npm](https://img.shields.io/npm/dw/kysely-sqlite-worker?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-sqlite-worker?style=flat-square) |
    • Kysely - duckdb) | ![npm](https://img.shields.io/npm/dw/kysely-duckdb?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/runoshun/kysely-duckdb?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-duckdb?style=flat-square) |
    • Kysely - ts). | [link](https://github.com/xataio/client-ts/tree/main/packages/plugin-client-kysely) | ![npm](https://img.shields.io/npm/dw/@xata.io/kysely?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/@xata.io/kysely?style=flat-square) |
    • Kysely - in [PostgreSQL](https://www.postgresql.org) dialect, <br/>which uses the [pg](https://github.com/brianc/node-postgres) client library instead. | [link](https://github.com/igalklebanov/kysely-postgres-js) | ![npm](https://img.shields.io/npm/dw/kysely-postgres-js?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/igalklebanov/kysely-postgres-js?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-postgres-js?style=flat-square) |
    • Kysely - planetscale) | ![npm](https://img.shields.io/npm/dw/kysely-planetscale?style=flat-square) <br/>![GitHub stars](https://img.shields.io/github/stars/depot/kysely-planetscale?style=flat-square) <br/>![NPM](https://img.shields.io/npm/l/kysely-planetscale?style=flat-square) |
  • Plugins

    • kysely-plugin-serialize - [Kysely](https://kysely.dev) plugin that serializes parameters. ![npm](https://img.shields.io/npm/dw/kysely-plugin-serialize?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-plugin-serialize?style=flat-square)
    • kysely-access-control - plugin that allows you to Allow/Deny/Omit (or add a where clause) to access any kysely table or column
    • kysely-grants - plugin that implements "Postgres-style grants" on top of [kysely-access-control](https://github.com/ben-pr-p/kysely-utils/tree/main/packages/kysely-access-control)
    • kysely-plugin-prefix - set of plugins that allow you to prefix table and index names implicitly
  • Templates

    • Acme Corp - Your all-in-one, enterprise ready starting point. Full-stack Typesafety with [tRPC](https://trpc.io/), [Next.js](https://nextjs.org), and [React](https://react.dev) Server Components. Typesafe database access using [Kysely](https://kysely.dev) as a query builder, and [Prisma](https://www.prisma.io) for schema management. ![GitHub stars](https://img.shields.io/github/stars/juliusmarminge/acme-corp?style=flat-square) ![GitHub](https://img.shields.io/github/license/juliusmarminge/acme-corp?style=flat-square)
    • Vercel Postgres + Kysely Next.js Starter - Simple [Next.js](https://nextjs.org) template that uses [Vercel Postgres](https://vercel.com/postgres) as the database and [Kysely](https://kysely.dev) as the query builder.
    • create-o7-app - An opinionated CLI for creating type-safe [Svelte](https://svelte.dev) apps. create-o7-app's template includes [Kysely](https://kysely.dev) for Edge support and fast cold starts, with all the convenience of using [Prisma](https://www.prisma.io) to define your database model. ![npm](https://img.shields.io/npm/dw/create-o7-app?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/ottomated/create-o7-app?style=flat-square) ![NPM](https://img.shields.io/npm/l/create-o7-app?style=flat-square)
    • remix-d1-kysely-demo - In this repo you'll learn how to setup a [D1](https://developers.cloudflare.com/d1) database starting from [Remix](https://remix.run)'s [@cloudflare/pages](https://pages.cloudflare.com) template and how to interact with it using [Kysely](https://kysely.dev) query builder. ![GitHub stars](https://img.shields.io/github/stars/niconiahi/remix-d1-kysely-demo?style=flat-square) ![GitHub](https://img.shields.io/github/license/niconiahi/remix-d1-kysely-demo?style=flat-square)
  • Tools

    • kysely-playground - Playground for [Kysely](https://kysely.dev). Provides vscode-like experiences including type checking and auto suggestions. Supports built-in dialects ([Postgres](https://postgresql.org), [MySQL](https://www.mysql.com), [SQLite](https://sqlite.org)), last 20 [Kysely](https://kysely.dev) versions. You can test stuff quickly, and create issues with reproducing with the playground. ![GitHub stars](https://img.shields.io/github/stars/wirekang/kysely-playground?style=flat-square)
    • Kysely Assistant - Translate SQL to [Kysely](https://kysely.dev) syntax using [Chat GPT](https://chat.openai.com).
    • kysely-playground - Playground for [Kysely](https://kysely.dev). Provides vscode-like experiences including type checking and auto suggestions. Supports built-in dialects ([Postgres](https://postgresql.org), [MySQL](https://www.mysql.com), [SQLite](https://sqlite.org)), last 20 [Kysely](https://kysely.dev) versions. You can test stuff quickly, and create issues with reproducing with the playground. ![GitHub stars](https://img.shields.io/github/stars/wirekang/kysely-playground?style=flat-square)
  • Type Generators

    • kanel-kysely - Generate [Kysely](https://kysely.dev) types directly from your [PostgreSQL](https://www.postgresql.org) database. This package extends [Kanel](https://github.com/kristiandupont/kanel) with some [Kysely](https://kysely.dev) specific features. ![npm](https://img.shields.io/npm/dw/kanel-kysely?style=flat-square) ![NPM](https://img.shields.io/npm/l/kanel-kysely?style=flat-square)
    • kysely-codegen - Generate [Kysely](https://kysely.dev) type definitions from your database. ![npm](https://img.shields.io/npm/dw/kysely-codegen?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/RobinBlomberg/kysely-codegen?style=flat-square) ![GitHub](https://img.shields.io/github/license/RobinBlomberg/kysely-codegen?style=flat-square)
    • prisma-kysely - Generate [Kysely](https://kysely.dev) types directly from your [Prisma](https://www.prisma.io) schema. ![npm](https://img.shields.io/npm/dw/prisma-kysely?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/valtyr/prisma-kysely?style=flat-square) ![NPM](https://img.shields.io/npm/l/prisma-kysely?style=flat-square)
  • Addons

    • kysely-paginate - Pagination helpers for use with [Kysely](https://kysely.dev). ![npm](https://img.shields.io/npm/dw/kysely-paginate?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/charlie-hadden/kysely-paginate?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-paginate?style=flat-square)
    • kysely-params - A utility for parameterizing compiled [Kysely](https://kysely.dev) queries. ![npm](https://img.shields.io/npm/dw/kysely-params?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/jtlapp/kysely-params?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-params?style=flat-square)
  • CLIs

    • kysely-migrate - [Kysely](https://kysely.dev) migrations and codegen CLI. ![npm](https://img.shields.io/npm/dw/kysely-migrate?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/tmm/kysely-migrate?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-migrate?style=flat-square)
    • kysely-migration-cli - Thin migration cli library for [Kysely](https://kysely.dev). ![npm](https://img.shields.io/npm/dw/kysely-migration-cli?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/acro5piano/kysely-migration-cli?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-migration-cli?style=flat-square)
  • ORMs

    • kysely-mapper - Flexible [Kysely](https://kysely.dev)-based utility for mapping between tables and objects. ![npm](https://img.shields.io/npm/dw/kysely-mapper?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/jtlapp/kysely-mapper?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-mapper?style=flat-square)
    • kysely-orm - TypeSafe ORM for [Kysely](https://kysely.dev) library. ![npm](https://img.shields.io/npm/dw/kysely-orm?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/seeden/kysely-orm?style=flat-square) ![NPM](https://img.shields.io/npm/l/kysely-orm?style=flat-square)