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

Show HN: Micasa – track your house from the terminal

https://micasa.dev
167•cpcloud•3h ago•59 comments

Show HN: A physically-based GPU ray tracer written in Julia

https://makie.org/website/blogposts/raytracing/
130•simondanisch•8h ago•46 comments

Show HN: Mini-Diarium - An encrypted, local, cross-platform journaling app

https://github.com/fjrevoredo/mini-diarium
91•holyknight•7h ago•44 comments

Show HN: Provisioner per-board sidecar for serial access, flashing, and bring-up

4•acarminati•2d ago•1 comments

Show HN: BLite a Document embedded database for .NET (AOT, no deps)

https://github.com/EntglDb/BLite
2•lucafabbri•2h ago•1 comments

Show HN: A Lisp where each function call runs a Docker container

https://github.com/a11ce/docker-lisp
78•a11ce•15h ago•22 comments

Show HN: PostForge – A PostScript interpreter written in Python

https://github.com/AndyCappDev/postforge
2•AndyCappDev•3h ago•1 comments

Show HN: Rebrain.gg – Doom learn, don't doom scroll

100•FailMore•1d ago•48 comments

Show HN: Gave AI $100 and no instructions – it donated $40 to a hospital

https://www.letairun.com/
9•gleipnircode•4h ago•4 comments

Show HN: VectorNest responsive web-based SVG editor

https://ekrsulov.github.io/vectornest/
83•ekrsulov•1d ago•31 comments

Show HN: LatentScore – Type a mood, get procedural/ambient music (open source)

https://latentscore.com/demo
17•prabal97•7h ago•15 comments

Show HN: I built a fuse box for microservices

https://www.openfuse.io
24•rodrigorcs•1d ago•21 comments

Show HN: Learn GPU programming with coding agents

https://blog.vtemian.com/post/vibe-infer/
6•vtemian•5h ago•0 comments

Show HN: CEL by Example

https://celbyexample.com/
79•bufbuild•1d ago•40 comments

Show HN: I created an app to remove Reels, now on iOS too

https://apps.apple.com/us/app/scrollguard-block-reels/id6754183872
4•adrianhacar•5h ago•2 comments

Show HN: I'm launching a LPFM radio station

https://www.kpbj.fm/
107•solomonb•1d ago•55 comments

Show HN: Breadboard – A modern HyperCard for building web apps on the canvas

https://breadboards.io/
89•simquat•3d ago•13 comments

Show HN: I built a semiconductor internship job board

https://www.semidesignjobs.com/s/semiconductor-design-internships
4•johncole•6h ago•1 comments

Show HN: Synter- Open source MCP server to manage ads across 7 platforms

https://github.com/jshorwitz/synter-media
3•synterai•6h ago•1 comments

Show HN: Agent skills to build photo, video and design editors on the web

https://github.com/imgly/agent-skills
3•hauschildt•7h ago•0 comments

Show HN: AsteroidOS 2.0 – Nobody asked, we shipped anyway

https://asteroidos.org/news/2-0-release/index.html
462•moWerk•2d ago•68 comments

Show HN: CandyDocs – Simple, developer-friendly documentation for SaaS teams

https://candydocs.com/
2•mukul767•7h ago•0 comments

Show HN: KGBaby – A WebRTC based audio baby monitor I built on pat leave

https://legodud3.github.io/kgbaby/
3•legodud3•7h ago•0 comments

Show HN: Aegis.rs, the first open source Rust-based LLM security proxy

https://github.com/ParzivalHack/Aegis.rs
2•ParzivalHack•8h ago•1 comments

Show HN: I built a compliance scanner that flags WCAG GDPR and FTC risks in mins

https://www.rataify.com/
2•CraftyGuru•8h ago•0 comments

Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

https://github.com/kurouna/elecxzy
2•kurouna•8h ago•0 comments

Show HN: Pg-typesafe – Strongly typed queries for PostgreSQL and TypeScript

https://github.com/n-e/pg-typesafe
67•n_e•2d ago•32 comments

Show HN: I taught LLMs to play Magic: The Gathering against each other

https://mage-bench.com/
114•GregorStocks•2d ago•83 comments

Show HN: Glitchy camera – a circuit-bent camera simulator in the browser

https://glitchycam.com
169•elayabharath•3d ago•22 comments

Show HN: Jemini – Gemini for the Epstein Files

https://jmail.world/jemini
481•dvrp•3d ago•97 comments