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: Weedout – Safari extension that hides YouTube AI-labeled videos

https://masteranza.github.io/weedout/
142•masteranza•11h ago•63 comments

Show HN: HN Match Maker – Matching "Who Wants to Be Hired?" With "Who's Hiring?"

https://hnmatchmaker.com/
89•all2•12h ago•37 comments

Show HN: Running 104GB Qwen3.8-Flash-Next on 48GB Mac with at ~12 tok/s

https://github.com/carloslfu/slotstream
209•carloslfu•16h ago•96 comments

Show HN: I Have Been Clawed – Index of coding agent incidents

https://ihavebeenclawed.com/
5•nezhar•4h ago•0 comments

Show HN: Newton's Orchard – Browser-based space/gravity playground

https://newtonsorchard.app
23•andrewchilds•16h ago•1 comments

Show HN: Gawkbot – open-source Grok bot with local vms for each bot

https://gawk.bot
3•najmuzzaman•4h ago•0 comments

Show HN: Claude and ChatGPT need a datacenter. This runs on my phone

https://llmobi.pages.dev
10•12ziyad•14h ago•3 comments

Show HN: Markdown Gatekeeper – one current source per topic for AI agents

https://github.com/nanlogic/markdown-gatekeeper
3•sacravenger•6h ago•0 comments

Show HN: Laser Graffiti

https://laser.consti.de
249•con•3d ago•60 comments

Show HN: Rails Baseline – a Rails SaaS starter with agent-readable architecture

https://railsbaseline.com/
4•polysaturate•11h ago•0 comments

Show HN: Notes Plus – A Markdown Apple Notes Clone with Latex, Excalidraw etc.

https://notesplus.io/
3•sliqqq•10h ago•5 comments

Show HN: TinyJS – small apps on Win/Mac/Linux

https://tinyjs.app
5•tarwin•11h ago•7 comments

Show HN: Markdown Viewer and Editor

https://kingsbridge-consultancy.com/md-viewer/
31•beerglass•1d ago•17 comments

Show HN: Mcptunnels – ngrok for MCP with basic OAuth

https://terragohan.github.io/mcptunnels/
13•helpprotactiniu•12h ago•0 comments

Show HN: I measured when impossible-to-book restaurants release their tables

https://tablefriend.app/clock
4•BrendanSF•18h ago•6 comments

Show HN: FnScribe – Open-source, offline dictation for macOS

https://github.com/AlgorithmicResearchGroup/fnscribe
36•modagent•5d ago•25 comments

Show HN: Floe – an open-source plugin for sample libraries – CLAP/VST3/AU

https://floe.audio/
22•windell•1d ago•13 comments

Show HN: Corporate Mind Games – logic puzzles with a sarcastic corporate theme

https://corporatemindgames.com/
49•dontwordle•1d ago•15 comments

Show HN: NFC Energy-Harvesting PCB Business Card with an MCU

https://wilsonharper.net/projects/businesscard/
217•WilsonHarper•4d ago•30 comments

Show HN: Gopdfrab – Open-source PDF/A processing for Go

https://gopdfrab.voidrab.com/
2•sudostar•14h ago•0 comments

Show HN: Three Pins a daily 3-hole golf game in the browser

https://threepins.golf/
4•colin_rightwork•15h ago•2 comments

Show HN: Semantic Overlays – an NX bit for LLM prompt injection (live demo)

https://semantic-overlays.vercel.app/
5•joshua_s_penman•15h ago•0 comments

Show HN: I built a live stream site where every spot is instantly AI-generated

https://videoai.me/live
9•Paul_Grsl•22h ago•9 comments

Show HN: SlideOps – slides from a repo that flag when they drift from the code

https://github.com/glukicov/slideops
22•lukicov•1d ago•5 comments

Show HN: Serendipity – rediscover the web one interesting page at a time

https://serendipity.surf/
7•RaCaS123•1d ago•8 comments

Show HN: Seatlr – We rebuilt our traveler chat into an AI-powered travel network

https://www.seatlr.com/
4•alihadi965•1d ago•0 comments

Show HN: Shed – Git Repo Management for Terminal Agents

https://github.com/AndrewHannigan/shed
3•andrewhannigan•17h ago•0 comments

Show HN: PearPie – Private AI chat that syncs peer-to-peer, no accounts needed

https://www.pearpie.ai/launch/
3•cheesetoast•18h ago•3 comments

Show HN: Openheim – a multi-provider LLM agent runtime, written in Rust

https://openheim.io/
3•themartto•19h ago•0 comments

Show HN: What Happens When You Give Your AI Agents a Voice and an Attitude

https://fellowgeek.github.io/mcp-speak/
10•pcbmaker20•1d ago•5 comments