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: A satirical idle game about running an AI startup

https://game.trae.academy/
5•haebom•1h ago•0 comments

Show HN: ShadowCat – file transfer through QR Codes in a Browser

https://github.com/unprovable/ShadowCat
151•unprovable•1d ago•59 comments

Show HN: Freenet, a peer-to-peer platform for decentralized apps

https://freenet.org/
368•sanity•2d ago•260 comments

Show HN: Calculator Music – play songs with number keys in the browser

3•zice0503•6h ago•2 comments

Show HN: Agent.email – sign up via curl, claim with a human OTP

92•adisingh13•2d ago•103 comments

Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDK

https://github.com/helvesec/rmux
186•shideneyu•2d ago•91 comments

Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking

264•bojta-lepenye•2d ago•59 comments

Show HN: Open-source .docx editor library for building document apps

https://github.com/eigenpal/docx-editor
102•thisisjedr•2d ago•16 comments

Show HN: Ifmhy – An Internationalization Version of Fmhy

https://ifmhy.org/
2•valorantPanda•11h ago•0 comments

Show HN: Pablo – a Chrome extension that copies UI from any website

https://www.usepablo.dev/
26•rayansaleh•1d ago•7 comments

Show HN: I reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
423•kageroumado•2d ago•106 comments

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

https://github.com/kouhxp/yapsnap
96•mrkn1•2d ago•45 comments

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

https://github.com/antoinezambelli/forge
676•zambelli•4d ago•249 comments

Show HN: BonzAI – self-sovereign, local LLM inference in the browser

https://www.bonzai.sh/
3•wilhempujar•21h ago•0 comments

Show HN: I Made a Claude Skill for Spec-Driven Development (SDD)

https://github.com/FredAntB/Spec-Driven-Development
34•NTRIXLM•2d ago•15 comments

Show HN: I made a tactical map-based WWII submarine simulator (public beta)

https://silentshark.app/alpha/
124•epaga•5d ago•45 comments

Show HN: Gaussian Splat of a Strawberry

https://superspl.at/scene/84df8849
526•danybittel•4d ago•199 comments

Show HN: Coder Words – An offline-first PWA word puzzle for programmers

https://7coderwords.kenamick.com/
6•p2detar•1d ago•1 comments

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

https://github.com/zakirullin/files.md
719•zakirullin•5d ago•354 comments

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

https://superlog.sh/
72•Magnanten•4d ago•49 comments

Show HN: Darnix – Darwin Built with Nix

https://github.com/jonhermansen/darnix
10•jonhermansen•1d ago•1 comments

Show HN: AI Guided 3D atomic orbital simulation

https://atom.plumocracy.com
3•plumocracy•20h ago•1 comments

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

https://projects.alesh.com/intervalkit/
36•aleshh•3d ago•23 comments

Show HN: The Hanging Sculptures of the Xiaoxitian

https://funes.world/apps/the-hanging-sculptures-of-the-xiaoxitian
27•hanyangwang•4d ago•8 comments

Show HN: Logatory – local-first log analysis and threat detection, no SIEM

https://github.com/T0nd3/logatory
4•T0nd3•21h ago•0 comments

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

https://setpose.com/
88•augustvdv•4d ago•33 comments

Show HN: Open-source private home security camera system (end-to-end encryption)

https://github.com/secluso/core
4•arrdalan•22h ago•0 comments

Show HN: Microcodegen.py – PRD → FastAPI app, one file, no LLM calls

https://github.com/Anioko/microcodegen
3•anioko1•23h ago•0 comments

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

https://github.com/bytedance/Lance
63•cleardusk•3d ago•15 comments

Show HN: ReTab – a Cmd+Tab-style switcher for Safari tabs

https://apps.apple.com/us/app/retab-tab-switch-for-safari/id6736950080
3•hyouuu•23h ago•0 comments