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•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 reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
100•kageroumado•3h ago•27 comments

Show HN: CPU-only transcription for YouTube, TikTok, X, Instagram videos

https://github.com/kouhxp/yapsnap
37•mrkn1•5h ago•12 comments

Show HN: Dari-docs – Optimize your docs using parallel coding agents

https://github.com/mupt-ai/dari-docs
17•byhong03•10h ago•6 comments

Show HN: Lance – image/video generation and understanding in one model

https://github.com/bytedance/Lance
53•cleardusk•11h ago•15 comments

Show HN: I made a tool for learning scales, chords, and how to combine them

https://projects.alesh.com/intervalkit/
16•aleshh•9h ago•13 comments

Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks

https://github.com/antoinezambelli/forge
646•zambelli•1d ago•236 comments

Show HN: I built Istanbul live transit map

https://tarif.ist/
8•berkaycubuk•7h ago•0 comments

Show HN: Superlog (YC P26) – Observability that installs itself and fixes bugs

https://superlog.sh/
70•Magnanten•1d ago•45 comments

Show HN: Gaussian Splat of a Strawberry

https://superspl.at/scene/84df8849
517•danybittel•1d ago•195 comments

Show HN: Hocuspocus 4 – self-hosted Yjs collaboration backend

https://github.com/ueberdosis/hocuspocus
35•philipisik•12h ago•4 comments

Show HN: Number Gacha, a gacha game distilled to its essence

https://isabisabel.com/gacha/
254•babel16•1w ago•140 comments

Show HN: Open-Source Agentic QA Harness with Memory

https://vostride.com/agent-qa
16•pranshuchittora•16h ago•2 comments

Show HN: I made a 3D pose maker for artists

https://setpose.com/
87•augustvdv•1d ago•32 comments

Show HN: Files.md – Open-source alternative to Obsidian

https://github.com/zakirullin/files.md
710•zakirullin•2d ago•347 comments

Show HN: expo-callkit-telecom – easily integrate CallKit/Core-Telecom

https://github.com/mfairley/expo-callkit-telecom
3•mfairley•8h ago•0 comments

Show HN: Haystack – Review the PRs that need human attention

https://haystackeditor.com/
43•akshaysg•2d ago•16 comments

Show HN: Id-agent – Token efficient UUID alternative for AI agents

https://github.com/vostride/id-agent
40•pranshuchittora•1d ago•54 comments

Show HN: Pg_deltax, Apache-licensed alternative to TimescaleDB

https://github.com/xataio/deltax
37•tee-es-gee•1d ago•1 comments

Show HN: Yt-x v0.8.0 – Browse, play, and download YouTube from the terminal

https://github.com/Benexl/yt-x
27•Benex254•1d ago•4 comments

Show HN: IgniteMS – batch text embeddings at 253K msg/s on 8x A100

https://github.com/Artain-AI/ignite-ms
2•ddayanov•10h ago•0 comments

Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust

https://github.com/harmont-dev/hsrs
53•suis_siva•1d ago•7 comments

Show HN: InsForge – Open-source Heroku for coding agents

https://github.com/InsForge/InsForge
59•mrcoldbrew•2d ago•7 comments

Show HN: Every Lego minifigure ranked, from over 1.3M user votes

https://brickelo.com
3•gpattle•13h ago•1 comments

Show HN: A fast, thread-safe C hashmap with lazy sorting

https://github.com/RaphaelPrevost/hashmap-benchmark
3•jaguarwan•14h ago•0 comments

Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep

https://github.com/MinishLab/semble
441•Bibabomas•3d ago•150 comments

Show HN: Rust Database from Scratch

https://github.com/ayoubnabil/aiondb
7•ayoubnabil•15h ago•4 comments

Show HN: IResearch – C++ search that beat Lucene and Tantivy on their benchmark

https://github.com/serenedb/serenedb/tree/main/libs/iresearch
11•gnusi•16h ago•3 comments

Show HN: Rocksky – Music scrobbling and discovery on the AT Protocol

https://tangled.org/rocksky.app/rocksky
117•tsiry•4d ago•44 comments

Show HN: Mezz, a curl-able WiFi sandbox for IoT pentesting

https://github.com/ABGEO/mezz
40•ABGEO•5d ago•10 comments

Show HN: Watch a neural net learn to play Snake

https://ppo.gradexp.xyz/
203•c1b•6d ago•47 comments