Xi

Xink, a TypeScript filesystem API router

Hacker News

Xink, a TypeScript filesystem API router

And it's a Vite plugin, but isn't everything these days? (pronounced "zinc") xink's unique feature is that it's a directory-based router. Think Next's App router or SvelteKit routing. And since this is for APIs, each route file should export functions named after HTTP methods in order to define your route handlers (e.g. GET). I like using this in SvelteKit, and since I couldn't really find an API-only router that uses a similar strategy, I decided to put something together. xink is in the alpha stage (maybe beta??) and I'm looking for contributors to help make it better. I currently only code as a hobby, so I'm sure there are some areas that need improvement, fixing, or some major thing(s) I've overlooked.

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
76%76% 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: using, code, apis · Missing: mac, agents, macos
72%72% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: filesystem, ide, io · Missing: https docs, excited, just released
34%34% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
32%32% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
18%18% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A TypeScript API for constructing XPath 1.0 expressions52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A TypeScript API for constructing XPath 1.0 expressions

Hacker News2
In
Internationalizationext selector API – selector t for TypeScript59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Internationalizationext selector API – selector t for TypeScript

Hacker News1
We
Web API to TypeScript54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Web API to TypeScript

Hacker News2
Ch
Chainflow – API call workflows in TypeScript55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chainflow – API call workflows in TypeScript

Hacker News2
Ce
Cerialize – Typescript serialization by annotation39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cerialize – Typescript serialization by annotation

Hacker News1
Sc
Scala-ts – Scala to TypeScript compiler41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Scala-ts – Scala to TypeScript compiler

Hacker News66
Ha
Hapi with Typescript51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hapi with Typescript

Hacker News2
JS
JSONSchema to TypeScript compiler51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JSONSchema to TypeScript compiler

Hacker News72
Ro
Router middleware for xweb30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Router middleware for xweb

Hacker News2
Du
DuoCode 1.0 bridges the gap between C# and TypeScript31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DuoCode 1.0 bridges the gap between C# and TypeScript

Hacker News7