{"by":"jayl-e-e","descendants":8,"id":44009894,"kids":[44010128,44011467],"score":71,"text":"Hey everyone!<p>Over the past two years I threw myself back into full-time engineering with a simple goal: write code that <i>gives back</i> to the community. After a lot of late-night FOMO (“AI will do it all for us, right?”) and some painful production incidents, I finally turned my weekend project into an open-source library.<p>[ What is <i>Solidis</i>? ]<p>- <i>Super-light (&lt; 30 KB) RESP2&#x2F;RESP3 client</i> with zero runtime deps and first-class ESM&#x2F;CJS support.<p>- Fully <i>tree-shakable</i> – import only the commands you need.<p>- Written with SOLID principles &amp; full TypeScript typings for every command.<p>- Designed for <i>cold-start sensitive</i> serverless platforms (small bundle + tiny memory footprint).<p>[ Why I built it ]<p>1. <i>node-redis &amp; ioredis pain</i><p>- ESM is still an after-thought.<p>- Hidden deadlocks on RST, vague error surfaces.<p>- Everything gets bundled, even commands you’ll never call.<p>2. I refuse to add a dependency I don’t fully understand – I literally read candidates 10× before `npm i`.<p>3. Serverless bills love to remind me that every KB and millisecond matters.<p>[ Key features ]<p>- Protocols: RESP2 and RESP3 (auto-negotiation)<p>- Bundle size: `&lt;30 KB` (core) &#x2F; `&lt;105 KB` (full)<p>- Dependencies: <i>0</i><p>- Extensibility: Drop-in command plugins, custom transactions<p>- Reliability: Auto-reconnect, per-command timeouts, type-checked replies<p>[ Roadmap &#x2F; Help wanted ]<p>- <i>Benchmarks</i> against `node-redis` &amp; `ioredis` (PRs welcome!)<p>- More first-class <i>Valkey</i> love<p>- <i>Fuzz-testing</i> the parser<p>- <i>Docs site</i> – the README came first; I’d love help polishing full docs<p>This might be my last big OSS push for a while, so <i>stars, issues, and PRs mean the world</i>.<p>If Solidis saves you some cold-start time or just scratches a TypeScript itch, let me know!<p><i>Repo:</i> <a href=\"https:&#x2F;&#x2F;github.com&#x2F;vcms-io&#x2F;solidis\">https:&#x2F;&#x2F;github.com&#x2F;vcms-io&#x2F;solidis</a><p><i>License:</i> MIT<p>Thanks for reading, and happy hacking!<p><i>(Feel free to AMA in the comments – I’m around.)</i>","time":1747430415,"title":"Show HN: Solidis – Tiny TS Redis client, no deps, for serverless","type":"story","url":"https://github.com/vcms-io/solidis"}