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: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks

https://github.com/antoinezambelli/forge
246•zambelli•12h ago•88 comments

Show HN: Gaussian Splat of a Strawberry

https://superspl.at/scene/84df8849
466•danybittel•14h ago•183 comments

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

https://superlog.sh/
47•Magnanten•9h ago•43 comments

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

https://haystackeditor.com/
29•akshaysg•1d ago•8 comments

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

https://github.com/Benexl/yt-x
13•Benex254•5h ago•0 comments

Show HN: Pg_deltax, Apache-licensed alternative to TimescaleDB

https://github.com/xataio/deltax
18•tee-es-gee•6h ago•1 comments

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

https://setpose.com/
70•augustvdv•10h ago•30 comments

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

https://isabisabel.com/gacha/
236•babel16•6d ago•118 comments

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

https://github.com/vostride/id-agent
33•pranshuchittora•13h ago•49 comments

Show HN: I built a native macOS Markdown viewer 100% with AI coding agents

https://github.com/rajatarya/mdviewer
4•rajatarya•3h ago•0 comments

Show HN: SharpSkill – A LeetCode Alternative with real interview outcomes

https://sharpskill.dev/en/vs/leetcode
4•GiornoJojo•3h ago•0 comments

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

https://github.com/harmont-dev/hsrs
52•suis_siva•20h ago•6 comments

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

https://github.com/zakirullin/files.md
691•zakirullin•1d ago•335 comments

Show HN: Enforra – open-source action governance for AI agent tool calls

https://github.com/enforra/enforra
4•rohitguptap•3h ago•1 comments

Show HN: Bevel – Guess the book from its opening passage

https://bevel.ink
3•knotalegend•4h ago•0 comments

Show HN: DDS Vibe Academy – 31 free AI coding masterclasses, built by AI agents

2•robert_ddsbos•4h ago•0 comments

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

https://github.com/InsForge/InsForge
55•mrcoldbrew•1d ago•6 comments

Show HN: Logbox – let Claude monitor your dev logs

https://github.com/struct-dot-ai/logbox
4•nimeshmc•5h ago•1 comments

Show HN: Search 67K .AI domains by AI-extracted tags and descriptions

https://ratemyaisite.com/explore
2•prolly97•6h ago•0 comments

Show HN: How Expensive Is Your (Steam) Wishlist?

https://weloveit.io/how-expensive-is-your-wishlist/
3•dejobaan•7h ago•0 comments

Show HN: audio.observer – AI news jingles you didn’t ask for

https://audio.observer/
3•ugnju•7h ago•0 comments

Show HN: LibreOffice-rs – I built a pure-Rust LibreOffice using autoresearch

https://github.com/clark-labs-inc/libreoffice-rs
5•stan_kirdey•8h ago•0 comments

Show HN: Autodidact – Self-evolving local-first AI agent

https://github.com/BuffaloTechRider/Autodidact
5•waterbuffaloai•9h ago•1 comments

Show HN: Gpubook – An order book for GPU compute

https://gpubook.io
5•jesse_portal•9h ago•1 comments

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

https://github.com/MinishLab/semble
439•Bibabomas•2d ago•147 comments

Show HN: Clark-Browser – Stealth Chromium

https://github.com/clark-labs-inc/clark-browser
14•stan_kirdey•21h ago•3 comments

Show HN: We missed Winamp, so we built an audio player for macOS

https://www.advanced-research.net/180db
71•surganov•1d ago•75 comments

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

https://github.com/ABGEO/mezz
39•ABGEO•4d ago•10 comments

Show HN: Noxu DB, a Rust Port of Berkeley DB Java Edition

https://codeberg.org/gregburd/noxu
3•gregburd•12h ago•0 comments

Show HN: Auto-identity-remove – Automated data broker opt-out runner for macOS

https://github.com/stephenlthorn/auto-identity-remove
323•stephenlthorn•1d ago•134 comments