frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo 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•8mo ago
What makes Solidis more performant than other Redis clients like ioredis or redis
jayl-e-e•8mo 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•8mo 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•8mo 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•8mo ago
Improvement deployed!
swaptr•8mo 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•8mo ago
It's my pleasure! :)
jayl-e-e•7mo ago
swaptr, thank you for your contribution to Solidis! May I know how to contact you?

Show HN: DevicePrint – device fingerprinting without cookies

10•silverrump•5d ago•15 comments

Show HN: stream-unzip – Python function to unZIP on the fly

https://github.com/uktrade/stream-unzip
2•michalc•1h ago•0 comments

Show HN: Shellock, a real-time CLI flag explainer for fish shell

https://github.com/ibehnam/shellock
13•behnamoh•5d ago•4 comments

Show HN: Engineering Schizophrenia: Trusting yourself through Byzantine faults

85•rescrv•14h ago•13 comments

Show HN: An LLM-optimized programming language

https://github.com/ImJasonH/ImJasonH/blob/main/articles/llm-programming-language.md
39•ImJasonH•9h ago•23 comments

Show HN: flash.nvim, but for tmux…sort of

https://github.com/Kristijan/flash-copy.tmux
3•KristijanM13•3h ago•0 comments

Show HN: What if AI agents had Zodiac personalities?

https://github.com/baturyilmaz/what-if-ai-agents-had-zodiac-personalities
27•arbayi•12h ago•14 comments

Show HN: ZCCInfo – Fast status line for Claude Code written in Zig

https://github.com/tuananh131001/zccinfo
2•tuananh131001•4h ago•0 comments

Show HN: GlyphLang – An AI-first programming language

39•goose0004•1d ago•24 comments

Show HN: Voice Composer – Browser-based pitch detection to MIDI/strudel/tidal

https://dioptre.github.io/tidal/
16•dioptre•13h ago•2 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
480•pmaze•1d ago•143 comments

Show HN: Interactive California Budget (by Claude Code)

https://california-budget.com
31•sberens•19h ago•1 comments

Show HN: Chr2 – consensus for side effects (exactly-once is a lie)

https://github.com/abokhalill/chr2
7•yousef06•15h ago•0 comments

Show HN: SpecificProxy – Proxy Using a Specific IP

https://github.com/danthegoodman1/specificproxy
8•dangoodmanUT•15h ago•2 comments

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

130•jamesponddotco•1d ago•46 comments

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering

https://github.com/OlaProeis/Ferrite
232•OlaProis•1d ago•167 comments

Show HN: Play poker with LLMs, or watch them play against each other

https://llmholdem.com/
158•projectyang•1d ago•92 comments

Show HN: `tc` like `wc` but for LLM tokens

https://github.com/jamierpond/tokencount
3•jamiepond•9h ago•0 comments

Show HN: Porting xv6 to HiFive Unmatched board

https://github.com/eyengin/xv6-riscv-unmatched
26•eyengin•1d ago•4 comments

Show HN: The Thiele Machine – Coq-Verified Computational Model Beyond Turing

https://github.com/sethirus/The-Thiele-Machine
7•nwthiele•9h ago•1 comments

Show HN: VAM Seek – 2D video navigation grid, 15KB, zero server load

https://github.com/unhaya/vam-seek
40•haasiy•1d ago•16 comments

Show HN: I made a memory game to teach you to play piano by ear

https://lend-me-your-ears.specr.net
548•vunderba•2d ago•169 comments

Show HN: A MCP for controlling terminal UI apps built with bubbletea and ratatui

https://github.com/michaellee8/mcp-tui-server
5•michaellee8•16h ago•2 comments

Show HN: Yellopages – New tab Chrome extension

https://yellopages.kawaicheung.io/
31•kiwigod17•3d ago•7 comments

Show HN: Various shape regularization algorithms

https://github.com/nickponline/shreg
76•nickponline•3d ago•5 comments

Show HN: Executable Markdown files with Unix pipes

123•jedwhite•3d ago•100 comments

Show HN: Marten – Elegant Go web framework (nothing in the way)

https://github.com/gomarten/marten
17•jackprescott•1d ago•5 comments

Show HN: Epstein IM – Talk to Epstein clone in iMessage

https://epstein.im/
54•RyanZhuuuu•1d ago•51 comments

Show HN: macOS menu bar app to track Claude usage in real time

https://github.com/richhickson/claudecodeusage
158•RichHickson•3d ago•48 comments

Show HN: Rocket Launch and Orbit Simulator

https://www.donutthejedi.com/
162•donutthejedi•2d ago•38 comments