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: Bento - An entire PowerPoint in one HTML file (edit+view+data+collab)

https://bento.page/slides/
675•starfallg•11h ago•152 comments

Show HN: Cactus Hybrid: We taught Gemma 4 to know when it's wrong

https://github.com/cactus-compute/cactus-hybrid
78•HenryNdubuaku•8h ago•13 comments

Show HN: AgentNest, self-hosted sandboxes for AI agents

https://github.com/mihirahuja1/agentnestOSS
4•mihir_ahuja•48m ago•2 comments

Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

https://deepsql.ai/
46•venkat971•2d ago•25 comments

Show HN: Web swing through midtown NYC

https://www.swingnyc.com/
66•shahahmed•10h ago•25 comments

Show HN: The latest and most advanced version of Adsense, sponsored by Google

https://www.3emalak.com/2026/07/get-adsense-approval-after-rejection.html
2•omeraliamm•1h ago•0 comments

Show HN: Grimoire – Best Practices for Everyone Installed for Your AI Agents

https://github.com/jeffreytse/grimoire
2•jeffreytse•1h ago•0 comments

Show HN: HN Hall of Fame – browse 3,100 legendary Hacker News links

https://www.orangecrumbs.com/hall/
184•oyster143•11h ago•37 comments

Show HN: LitigationBench. A Litigation Task-Based AI Benchmark

https://litco.ai/litigationbench
2•ybathaee•1h ago•0 comments

Show HN: ValuePair – a friendship app that cares about values first

https://valuepair.app
6•zloy88•4h ago•5 comments

Show HN: Vivace – A single-process Qt media player with interactive DVD menus

https://github.com/Sportacandy/vivace
5•Sportacandy•3h ago•0 comments

Show HN: KageOps – An open-source, local-first alternative to Devin

https://github.com/hmanoor/kageops-core
2•hmanoor•2h ago•0 comments

Show HN: The Daily FM – Turn any source into a daily podcast

https://thedaily.fm/
4•carimura•5h ago•1 comments

Show HN: Cartopolis – OpenStreetMap rendered like it's 1999

https://seriot.ch/drawing/cartopolis/
7•beefburger•8h ago•0 comments

Show HN: NextBest – See what skincare people recommend

https://www.nextbest.one
3•kalila855•5h ago•0 comments

Show HN: LiquidBrain – Unlimited Tokens. Unlimited Context. One Fixed Price

https://liquidbrain.ai/
5•salsta1•5h ago•6 comments

Show HN: 1,280 open USDZ furniture assets for VR/AR

https://lx2026.github.io/genhome3d-1280/
4•linxy97•3h ago•0 comments

Show HN: ReadKinetic – a free, local-first speed reader for your own books

https://www.readkinetic.com/app/
96•SamuraiLion•20h ago•61 comments

Show HN: Millwright – Rust-based, self-hosted LLM router

https://github.com/Northwood-Systems/millwright
8•AndrewLiu96•7h ago•3 comments

Show HN: Kalvir Clock

https://kalvir.life/clock
4•kalv•6h ago•0 comments

Show HN: Promptrack A local menu bar app that tracks your Claude Code usage

https://promptrack.dev/
2•feskk•4h ago•0 comments

Show HN: Agent in 9 Lines Python

https://gist.github.com/tosh/6e91a9dbf08dd630c535e7345ac7f0b5
17•tosh•12h ago•7 comments

Show HN: A new kind of FPS aim trainer

https://openaim.pramit.gg/
81•pmazumder•21h ago•43 comments

Show HN: Stream Android Emulators to a Browser Window

https://github.com/hsandhu/serve-avd
4•rsandhu•5h ago•0 comments

Show HN: A self-running space economy SIM in Rust and Bevy

https://github.com/Kalcode/spaceprojectsim
106•kalcode•1d ago•30 comments

Show HN: What's one random memory from your childhood that you'll never forget?

https://mil.now
3•untitled-now•5h ago•2 comments

Show HN: I brute-forced a wooden Antikythera-style puzzle in Rust

https://github.com/garyhtou/grecian-computer
2•garyhtou•5h ago•1 comments

Show HN: Autograd-Free LLM Guiding with 0MB VRAM (Alternative Pathways)

https://github.com/PJHkorea/Continuous_Wave_Field_LLM_Brain
2•PJHkorea•5h ago•1 comments

Show HN: Focus on approving agent actions and managing team MCP access

https://gettrustloop.app
2•ducnguyen67201•5h ago•0 comments

Show HN: Szr: A safer command output reduction for coding agents

https://github.com/devr-tools/szr
3•alxxjohn•8h ago•2 comments