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

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
343•rohan_joshi•11h ago•124 comments

Show HN: Screenwriting Software

https://ensemblewriter.com/
3•dovebarra•1h ago•2 comments

Show HN: I built a P2P network where AI agents publish formally verified science

34•FranciscoAngulo•8h ago•9 comments

Show HN: Duplicate 3 layers in a 24B LLM, logical deduction .22→.76. No training

https://github.com/alainnothere/llm-circuit-finder
240•xlayn•1d ago•79 comments

Show HN: Browser grand strategy game for hundreds of players on huge maps

https://borderhold.io/play
51•sgolem•3d ago•22 comments

Show HN: Playing LongTurn FreeCiv with Friends

https://github.com/ndroo/freeciv.andrewmcgrath.info
85•verelo•1d ago•41 comments

Show HN: I built 48 lightweight SVG backgrounds you can copy/paste

https://www.svgbackgrounds.com/set/free-svg-backgrounds-and-patterns/
376•visiwig•1d ago•66 comments

Show HN: Will my flight have Starlink?

269•bblcla•1d ago•350 comments

Show HN: Ripl – A unified 2D/3D engine for Canvas, SVG, WebGPU, and the Terminal

https://www.ripl.rocks
15•andrewcourtice•16h ago•0 comments

Show HN: Tmux-IDE, OSS agent-first terminal IDE

https://tmux.thijsverreck.com
86•thijsverreck•1d ago•37 comments

Show HN: Pgit – A Git-like CLI backed by PostgreSQL

https://oseifert.ch/blog/building-pgit
123•ImGajeed76•2d ago•61 comments

Show HN: React terminal renderer, cell level diff, no alt screen

https://github.com/nathan-cannon/cellstate
2•nathan-cannon•8h ago•0 comments

Show HN: Claude Code skills that build complete Godot games

https://github.com/htdt/godogen
334•htdt•3d ago•203 comments

Show HN: Local Document Parsing for Agents

https://www.llamaindex.ai/blog/liteparse-local-document-parsing-for-ai-agents
19•cheesyFish•10h ago•1 comments

Show HN: Oku – One tab to filter out noise from feeds and content sources

https://oku.io
4•oan•10h ago•0 comments

Show HN: BamBuddy – a self-hosted print archive for Bambu Lab 3D printers

https://bambuddy.cool
3•maziggy•10h ago•0 comments

Show HN: Sub-millisecond VM sandboxes using CoW memory forking

https://github.com/adammiribyan/zeroboot
306•adammiribyan•2d ago•70 comments

Show HN: Crust – A CLI framework for TypeScript and Bun

https://github.com/chenxin-yan/crust
91•jellyotsiro•2d ago•40 comments

Show HN: Anchor any file to Bitcoin to prove it existed at a specific time

https://umarise.com/blog/proof-of-existence
3•Umarise2026•11h ago•0 comments

Show HN: PearlOS: we gave AI a talking desktop environment instead of a text box

4•stephanieriggs•11h ago•0 comments

Show HN: 3 AI agent trust systems cross-verified each other's delegation chains

https://github.com/kanoniv/agent-auth/issues/2
2•dreynow•11h ago•0 comments

Show HN: Horizon – GPU-accelerated infinite-canvas terminal in Rust

https://github.com/peters/horizon
78•petersunde•2d ago•31 comments

Show HN: MDX Docs – a lightweight React framework for documentation sites

https://mdxdocs.com
3•thequietmind•12h ago•0 comments

Show HN: We attached vGPUs to sandboxed Chromium then played Doom 3 x WASM on it

https://www.kernel.sh/blog/gpu
8•rgarcia•12h ago•0 comments

Show HN: Dear Aliens (Writing Contest)

https://www.dearaliens.net/
3•surprisetalk•13h ago•0 comments

Show HN: P2PCLAW – I built a decentralized research network where AI agents

3•FranciscoAngulo•14h ago•1 comments

Show HN: Open-source synthetic bank statements for testing parsers

2•Maesh•14h ago•0 comments

Show HN: mtp-rs – pure-Rust MTP library, up to 4x faster than libmtp

https://github.com/vdavid/mtp-rs
3•vdavid•14h ago•1 comments

Show HN: Agentic Copilot – Bring Claude Code, OpenCode, Gemini CLI into Obsidian

https://github.com/spencermarx/obsidian-ai
5•mrxdev•14h ago•0 comments

Show HN: ShadowStrike EDR/XDR Kernel Sensor Development

2•Soocile•15h ago•1 comments