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: The cheapest GPU cloud – H100s at $2.04/HR, H200s at $3/HR

https://compute.cheap/
26•EmiCorleone•8h ago•7 comments

Show HN: OwnTime – a chess clock for your day's priorities

https://owntime.app/
84•fmos•1d ago•45 comments

Show HN: HN Match Maker – Matching "Who Wants to Be Hired?" With "Who's Hiring?"

https://hnmatchmaker.com/
112•all2•1d ago•45 comments

Show HN: asciiQuake

https://asciiquake.wtf/
12•apresmoi•20h ago•4 comments

Show HN: Open source ML programming language playground

https://sw-ml-study.github.io/sw-mlpl/
8•softwarewright•12h ago•0 comments

Show HN: Weedout – Safari extension that hides YouTube AI-labeled videos

https://masteranza.github.io/weedout/
178•masteranza•1d ago•81 comments

Show HN: Skatanica – Browse and share skate clips by location

https://skatanica.com/runs
11•ralusek•18h ago•3 comments

Show HN: Running 104GB Qwen3.8-Flash-Next on 48GB Mac with at ~12 tok/s

https://github.com/carloslfu/slotstream
227•carloslfu•1d ago•110 comments

Show HN: Kekoso – On-device dictation and transcription for macOS

https://kekoso.app/
7•a_chmerev•18h ago•3 comments

Show HN: Redactle LLM Leaderboard

https://redactle.net/llm-leaderboard
5•pampas•10h ago•1 comments

Show HN: FrontierHarness Eval – 9 harness, same model, cost per pass varies 17x

https://frontierharness.org
74•shiqimei•18h ago•52 comments

Show HN: Aura – a Rust agent that investigates and fixes production incidents

https://github.com/mezmo/aura
20•jvogt•19h ago•2 comments

Show HN: I Have Been Clawed – Index of coding agent incidents

https://ihavebeenclawed.com/
20•nezhar•1d ago•4 comments

Show HN: Laser Graffiti

https://laser.consti.de
251•con•4d ago•60 comments

Show HN: Claude and ChatGPT need a datacenter. This runs on my phone

https://llmobi.pages.dev
17•12ziyad•1d ago•4 comments

Show HN: Newton's Orchard – Browser-based space/gravity playground

https://newtonsorchard.app
28•andrewchilds•1d ago•3 comments

Show HN: Slop University

https://slop.university/
5•benswift•11h ago•0 comments

Show HN: Convert Anything to Markdown

https://anyto.md/
6•vlucas•20h ago•0 comments

Show HN: Kafma – a desktop Kafka GUI client for debugging

https://kafma.app/
5•KafmaKarma•21h ago•0 comments

Show HN: Cinderella – value a half-finished GitHub repo

https://cinderella.fyi/worth
3•toddy_flogsit•15h ago•1 comments

Show HN: Windrunner – AI-powered project collaboration workspace

https://shzlw.github.io/windrunner/
8•yuegui•22h ago•3 comments

Show HN: Arbitale – emergent choose your own adventure game

https://www.arbitale.com
4•ezclap•16h ago•1 comments

Show HN: Codeknow – Architecture health scores for any codebase, no LLM needed

https://github.com/asalsali/codeknow
5•alexjsalsali•16h ago•2 comments

Show HN: SufferTrails, the Anti-AllTrails

https://suffertrails.com/
5•richhwang•17h ago•2 comments

Show HN: AQ – A multiplayer workspace for coding agents on your own cloud

https://aq.dev/
3•knighthacker•17h ago•1 comments

Show HN: G3M – MCP server for physical outbound

https://g3m.co/
4•davismartens•17h ago•2 comments

Show HN: Cmdxray – explain any shell command, offline, with a shareable card

https://aurelio-nakamura.github.io/cmdxray/
3•aurelionakamura•18h ago•1 comments

Show HN: Big-b-router – Edit OSM maps to avoid ALPRs in Osmand or Comaps

https://github.com/pickpj/big-b-router
4•gentile•18h ago•0 comments

Show HN: FontWizard, Change Windows system font everywhere in UI and apps

https://github.com/karnyadavdev/FontWizard
3•karnyadav•20h ago•0 comments

Show HN: Lufterl – global NO₂ map from Sentinel-5P, scored on H3 hexagons

https://lufterl.libmap.org/
3•tomtomistaken•20h ago•0 comments