Show HN: Solidis – Tiny TS Redis client, no deps, for serverless Hey everyone! Over the past two years I threw myself back into full-time engineering with a simple goal: write code that gives back 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. [ What is Solidis ? ] - Super-light (< 30 KB) RESP2/RESP3 client with zero runtime deps and first-class ESM/CJS support. - Fully tree-shakable – import only the commands you need. - Written with SOLID principles & full TypeScript typings for every command. - Designed for cold-start sensitive serverless platforms (small bundle + tiny memory footprint). [ Why I built it ] 1. node-redis & ioredis pain - ESM is still an after-thought. - Hidden deadlocks on RST, vague error surfaces. - Everything gets bundled, even commands you’ll never call. 2. I refuse to add a dependency I don’t fully understand – I literally read candidates 10× before `npm i`. 3. Serverless bills love to remind me that every KB and millisecond matters. [ Key features ] - Protocols: RESP2 and RESP3 (auto-negotiation) - Bundle size: `<30 KB` (core) / `<105 KB` (full) - Dependencies: 0 - Extensibility: Drop-in command plugins, custom transactions - Reliability: Auto-reconnect, per-command timeouts, type-checked replies [ Roadmap / Help wanted ] - Benchmarks against `node-redis` & `ioredis` (PRs welcome!) - More first-class Valkey love - Fuzz-testing the parser - Docs site – the README came first; I’d love help polishing full docs This might be my last big OSS push for a while, so stars, issues, and PRs mean the world . If Solidis saves you some cold-start time or just scratches a TypeScript itch, let me know! Repo: https://github.com/vcms-io/solidis License: MIT Thanks for reading, and happy hacking! (Feel free to AMA in the comments – I’m around.) https://github.com/vcms-io/solidis May 17, 2025 at 02:50AM
Show HN: Solidis – Tiny TS Redis client, no deps, for serverless https://ift.tt/DxSiZhs
Related Articles
Show HN: A personalised AI tutor with < 1s voice responses https://news.ycombinator.com/item?id=41057030Show HN: A personalised AI tutor with < 1s voice responses TLDR: We… Read More
Show HN: Preprocessor I've been working 4 years now https://ift.tt/OoLQPIgShow HN: Preprocessor I've been working 4 years now Hey there, I'm her… Read More
Show HN: Symbols > We are building Figma for developers https://ift.tt/GoRE8n4Show HN: Symbols > We are building Figma for developers What is Sym… Read More
Show HN: Patchwork – Open-source framework to automate development gruntwork https://ift.tt/v8fSNacShow HN: Patchwork – Open-source framework to automate development gru… Read More
Show HN: Wat – Deep inspection of Python objects https://ift.tt/KP0a5EFShow HN: Wat – Deep inspection of Python objects https://ift.tt/rp1dmx… Read More
Show HN: Voluntarily add warning labels to social media websites https://ift.tt/WvVd5N1Show HN: Voluntarily add warning labels to social media websites A Chr… Read More
Show HN: Semantic Grep – A Word2Vec-powered search tool https://ift.tt/u7Sn4ZpShow HN: Semantic Grep – A Word2Vec-powered search tool Much improved … Read More
Show HN: Ray Tracing in One Weekend v4.0.0 https://ift.tt/lHhcAx5Show HN: Ray Tracing in One Weekend v4.0.0 Since this is a major new r… Read More
0 Comments: