Ts

Tsynamo – Type-friendly DynamoDB query builder for TypeScript

Hacker News

Tsynamo – Type-friendly DynamoDB query builder for TypeScript

Hello HN! I was recently introduced to Kysely ( https://github.com/kysely-org/kysely ), a type-safe Typescript SQL query builder, and instantly fell in love! I got inspired and wanted to make something similar for AWS DynamoDB. Thus, I developed Tsynamo! Instead of calling it type-safe, I decided to go with type-friendly, because the library is still in an early stage, and is not 100% type-safe. Under the hood, Tsynamo compiles the built queries into AWS SDK v3 commands. I feel that Tsynamo simplifies the AWS SDK API quite a lot since the developer doesn't have to mess around with condition/filter expressions or attribute names/values themselves, and as a bonus gets autocompletion for building the queries! There's also a playground to test it out in your browser: https://try.tsynamo.dev . It might not have the most up-to-date API of the library in use yet, but you can get the library's main idea from there. Since the project is still in its early stages, it doesn't yet have 100% support for all DynamoDB features, like querying indexes. The next steps will be increasing the support coverage and perhaps adding automatic type generation as inspired by kysely-codegen ( https://github.com/RobinBlomberg/kysely-codegen ). Would love to get some feedback, thanks in advance!

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
74%74% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
61%61% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: friendly, builder · Missing: plus, platform, intuitive
42%42% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
30%30% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ty
TypeScript query builder with full type inference58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TypeScript query builder with full type inference

Hacker News4
Ky
Kysely, a type-safe SQL query builder for TypeScript42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kysely, a type-safe SQL query builder for TypeScript

Hacker News1
Ky
Kysely, a type-safe SQL query builder for TypeScript42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kysely, a type-safe SQL query builder for TypeScript

Hacker News90
OR
ORM for TypeScript with no query-builder, supporting full SQL queries66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ORM for TypeScript with no query-builder, supporting full SQL queries

Hacker News220
No
Node Typescript Postgres Query Builder54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Node Typescript Postgres Query Builder

Hacker News2
Fa
Fastify-zod, type-once, run everywhere (TypeScript/OpenAPI)55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fastify-zod, type-once, run everywhere (TypeScript/OpenAPI)

Hacker News7
SQ
SQLBraid – Write SQL directly in TypeScript without a query-builder DSL63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SQLBraid – Write SQL directly in TypeScript without a query-builder DSL

Hacker News8
ty
type-kanren – type-level microKanren in TypeScript45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

type-kanren – type-level microKanren in TypeScript

Hacker News5
Li
Lightweight and type-safe query builder for DynamoDB37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lightweight and type-safe query builder for DynamoDB

Hacker News1
Mo
Mongur – Define MongoDB models and query data using TypeScript classes40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mongur – Define MongoDB models and query data using TypeScript classes

Hacker News1