frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Solidis – Tiny TS Redis client, no deps, for serverless

https://github.com/vcms-io/solidis
71•jayl-e-e•1y ago
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.)

Comments

badmonster•1y ago
What makes Solidis more performant than other Redis clients like ioredis or redis
jayl-e-e•1y ago
Solidis isn’t necessarily aiming to outperform ioredis or node-redis in every way — its primary goal is to reduce bundle size rather than maximize raw performance. That said, it does offer some performance advantages in practice. Solidis is designed to handle pipelined commands more efficiently within a single event loop iteration and parses responses in a more event-loop-friendly manner.

As a result, in most real-world scenarios, Solidis tends to be about 2–3x faster than ioredis (even with auto-pipelining enabled). Compared to node-redis, the performance is generally on par or slightly behind.

One caveat: if the payloads being parsed are very large, Solidis can experience increased latency due to its parser being more CPU-intensive, which may introduce delays compared to other stacks.

swaptr•1y ago
Looks great! I tried plugging it into my setup that uses ioredis, but it doesn't seem to support loading the URI directly?
jayl-e-e•1y ago
Thank you very much. As you mentioned, connecting via URI is not currently supported, but it’s not difficult to implement, so I will consider adding it to the specification.
jayl-e-e•1y ago
Improvement deployed!
swaptr•1y ago
Thanks, really appreciate the quick resolution. Looks like a really cool project and the goals seem to be well defined. All the best.
jayl-e-e•1y ago
It's my pleasure! :)
jayl-e-e•1y ago
swaptr, thank you for your contribution to Solidis! May I know how to contact you?

Show HN: I mapped every US golf course

https://golfcoursebrowser.com/
90•rickmf•3h ago•39 comments

Show HN: I made some transistor animations

https://brandonli.net/semisim/animations
151•stunningllama•1d ago•19 comments

Show HN: Brolly, a plain-text weather forecast site

https://brolly.sh/forecast/RWFP2qW8
162•jsax•12h ago•48 comments

Show HN: What 180k words look like as a temporal knowledge graph (Oz series)

https://synaptale.com/graph?ch=100
13•ald0r•3h ago•7 comments

Show HN: SpinWin – A macOS menu bar app to visually rotate or spin any window

https://github.com/alokdhir/spinwin
35•dbm5•12h ago•8 comments

Show HN: Writemark, a dependency free web component for inline Markdown editing

37•_boffin_•9h ago•14 comments

Show HN: ZWPlayer – Free player with interactive annotations and subtitle search

https://www.zwplayer.com/
4•logicplayer•4h ago•0 comments

Show HN: MutexCam – Global Camera and Mic Control on Mac for Zoom, Teams, Meet

https://mutex.cam/
3•superquizonline•2h ago•0 comments

Show HN: Axtary – Content Authorization for AI Agents

https://axtary.com
3•Axtary•4h ago•1 comments

Show HN: Raise a virtual pet with your friend/partner

https://dandan.schols.io
2•chaidhat•3h ago•0 comments

Show HN: Rudoc – a 4.5MB Rust document converter

https://github.com/asong56/rudoc
11•sideras56•7h ago•0 comments

Show HN: Rules that stop AI coding agents from breaking working code

https://github.com/avenna01-ceo/claude-code-survival-kr
2•gaiinmaster•3h ago•0 comments

Show HN: I enhanced the UX for TemplatesOn, what do you think?

https://templateson.com
2•maz225•3h ago•0 comments

Show HN: Hubo – two agents that implement and review code until they agree

https://github.com/h0ngcha0/hubo
6•hongchao•7h ago•1 comments

Show HN: Fitter – declarative web-data extraction,running in the browser also

https://pxyup.github.io/fitter/
5•pyxru•3h ago•3 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

467•adam_rida•2d ago•221 comments

Show HN: Yorishiro – a macOS terminal where AI agents live

https://github.com/sktkkoo/Yorishiro
41•hakumei•3d ago•13 comments

Show HN: QuickFlo – I got sick of exporting business workflows as a consultant

https://quickflo.app/
2•zajasa•5h ago•1 comments

Show HN: Awsmux – Multi-account AWS CLI, up to 5.4x faster, 7.4x fewer tokens

https://github.com/0hardik1/awsmux
7•0hardik1•9h ago•4 comments

Show HN: Houhou – Resilience Policies Package for TypeScript Async Functions

https://hou2.vercel.app/
3•smokeeaasd•5h ago•1 comments

Show HN: I simulated closing the Strait of Hormuz on real oil trade data

https://globaloilnetwork.staffinganalytics.io/
241•eliotho•2d ago•125 comments

Show HN: Working Async – The new wave of remote work is async-first

https://workingasync.io
7•Log007•11h ago•0 comments

Show HN: Routeveil – Shared-element and page transitions engine for React Router

https://www.routeveil.dev/lab/shared-elements
3•milkeviich•6h ago•0 comments

Show HN: Palmier Pro – Open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
188•harrisontin•2d ago•37 comments

Show HN: Cross-Platform Flutter and React-Native Plugin – FFmpeg-Kit-Extended

2•akashskypatel•7h ago•0 comments

Show HN: Proxmox -> Share your host's Bluetooth with a VM over the network

https://github.com/lucid-fabrics/proxmox-bluetooth
26•wmehanna•10h ago•13 comments

Show HN: Argus – VSCode Worktree Agent Session Manager

https://marketplace.visualstudio.com/items?itemName=petar-s-dimov.argus-worktree-agent-sessions
3•pdcd•4h ago•0 comments

Show HN: Desktui – a remote desktop client for your terminal

https://github.com/mishushakov/desktui
8•ushakov•6h ago•0 comments

Show HN: PeerTree an Biological Inspired Network

https://github.com/bitmonky/PeerTree
2•BorgIOS•9h ago•0 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://github.com/onecli/onecli
105•Jonathanfishner•2d ago•32 comments