frontpage.
newsnewestaskshowjobs

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: Screen memory without screenshots, just text to Markdown

https://github.com/dragthelake/ambient-context
10•Dramatize•1h ago•2 comments

Show HN: A Modern GUI Library for Ada: CSS Styling, XML UI, SDL3

https://github.com/ovenpasta/adi2
37•ovenpasta•13h ago•15 comments

Show HN: I wrote a BASIC interpreter that boots on UEFI machines

https://tarjan.itch.io/thoreaubasic
31•Gorsefound•1d ago•7 comments

Show HN: PicoMQ – Durable Streams over HTTP, on object storage

https://picomq.com/
108•adesh_nalpet•13h ago•20 comments

Show HN: SteppeWM – a stacking IceWM-like Wayland compositor

https://github.com/uncognic/steppewm
11•uncognic•3d ago•5 comments

Show HN: A techno machine in one HTML file, with verifiable renders

https://ssx360.github.io/rack-02/?src=hn
187•ssx360•16h ago•35 comments

Show HN: How to mentally calculate the day of the week for any date

https://tinkerandsee.com/weekday/
56•yang140•14h ago•12 comments

Show HN: GlassBox – what the browser reveals, and how identifiable you are

https://glassbox.codecanary.org
104•tke248•13h ago•50 comments

Show HN: Flostep – Diagrams people can actually walk through

https://flostep.dev/
10•pandurang90•7h ago•5 comments

Show HN: Kern – container and resource runtime in a 1.5 MB binary, no daemon

https://github.com/getkern/kern
53•realexweb•11h ago•6 comments

Show HN: See how much your AI knows about you

https://www.withcorpus.com/knows
12•cgnry•12h ago•6 comments

Show HN: Vanilla OS 3 Reunion – Immutable and Reproducible Operating System

https://vanillaos.org/blog/article/2026-08-24/vanilla-os-3-reunion---stable-release
28•NN708•19h ago•12 comments

Show HN: I built a lite LPU that can do inference on Karpathy's MicroGPT

https://www.lpulite.com
14•sakshambatraa•11h ago•1 comments

Show HN: Pyrift – static analyser for silent Python/PyPy behaviour differences

https://github.com/BHUVANSH855/pyrift
2•BHUVANSH855•5h ago•0 comments

Show HN: Tblue – 614 passive security scanners for any website, runs locally

https://github.com/taylannuhogluofficial-png/Tblue
13•taylannuhoglu•15h ago•3 comments

Show HN: Hierarchical to-do calendar for solo founders

2•eltonlin•3h ago•2 comments

Show HN: A puzzle I couldn't solve for a year – cubers cracked it in an hour

https://skimmiq.com/pt/
17•Pawel_SkimmIQ•3d ago•10 comments

Show HN: OutMap – a live map of 235 countries where anyone can place a link

https://outmap.lol
7•ifrosted•11h ago•7 comments

Show HN: Dev tools in one static site, no framework, no server

https://devtools.fit
5•gr3ggg•12h ago•1 comments

Show HN: My Emacs Zero to IDE Journey

https://github.com/KallDrexx/emacs-zero-to-ide-journey/blob/main/README.md
12•KallDrexx•15h ago•0 comments

Show HN: Nonograms TUI

https://github.com/dtnewman/nonograms
3•dtnewman•8h ago•0 comments

Show HN: Octophobia – a daily puzzle where you clear the board without making 8

https://playoctophobia.com/
3•smilingyoda•8h ago•0 comments

Show HN: Dashi – a 214KB Chrome new tab dashboard with no servers or analytics

https://trydashi.app/
8•trydashi•15h ago•2 comments

Show HN: LunarBasic, a BASIC that compiles 2D games to native executables

https://lunarbasic.com/
6•essial•16h ago•2 comments

Show HN: BidSonar – MCP server for UK/EU government contracts and grants

https://bidsonar.com/mcp
8•flibbertigibber•16h ago•0 comments

Show HN: Sloppie – Agentic development environment for Linux

https://github.com/otsaloma/sloppie
2•otsaloma•10h ago•0 comments

Show HN: RepoRoulette: Randomly Sample Repositories from GitHub

https://github.com/gojiplus/reporoulette
2•neehao•11h ago•0 comments

Show HN: OpenMRP – an open-source manufacturing ERP built over 4 years

https://github.com/open-mrp/api
8•dalbaugh•16h ago•2 comments

Show HN: Chrome extension that gives you the TlDR from YouTube without the watch

https://addketchup.app/
4•easymode•11h ago•3 comments

Show HN: Mnemosyne – No-back end visual novel engine (Vue 3 and Pinia)

https://github.com/Maris-CHALDEAS/MNEMOSYNE
3•souls-syntax•11h ago•1 comments