Show HN: Unsworn – Polyglot API Router
https://github.com/j4crev/unsworn
Route files written in virtually any programming language. Caching, CORS, auth checks, etc in a TOML config. And MCP of course.
https://github.com/j4crev/unsworn
Route files written in virtually any programming language. Caching, CORS, auth checks, etc in a TOML config. And MCP of course.
Maybe the dumbest move of all time, but it's been a blast to build over the last few months - er, prompt AI to build.Even with AI doing the coding, I've put in a lot of time thinking about how it should work, the syntax, features, etc. Building a language is a new domain for me, so I had to ask a lot of questions about a lot of things.
https://xinkjs.com/xin/overview/
Should work with any javascript runtime. Bring your own Standard Schema data validation library.I went deeper into typescript than I've ever been, to get the type system going. AI helped of course.
It's time. Past time actually. Haven't you had enough?Learn more and join the revolution at enuffjs.com
https://github.com/xinkjs/xink
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...