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

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
105•muchael•19h ago•40 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
25•ozarkerD•9h ago•5 comments

Show HN: Open Finance Insurance sandbox (OAuth2, quotes → policies)

https://github.com/Rp12/uae-openfinance-test-backend
3•Renjit•2h ago•0 comments

Show HN: Stop Using LangChain

https://synapsekit.github.io/synapsekit-docs/
2•aminau•2h ago•0 comments

Show HN: Gave Claude a casino bankroll – it gambles till it's too broke to think

https://letaigamble.com/
21•mackbrowne•10h ago•8 comments

Show HN: SmallDocs - Markdown without the frustrations

11•FailMore•1d ago•8 comments

Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge

https://kampfinsel.com/
34•parzivalt•4d ago•25 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
179•porsche959•22h ago•63 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
6•Beefin•9h ago•0 comments

Show HN: Fakecloud – Free, open-source AWS emulator

https://github.com/faiscadev/fakecloud
28•lucas_vieira•17h ago•6 comments

Show HN: Omi – watches your screen, hears conversations, tells you what to do

https://github.com/BasedHardware/omi
10•kodjima33•14h ago•11 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
7•brikym•11h ago•6 comments

Show HN: Sudomake Friends, personalized AI personas in a Telegram group chat

https://github.com/audiodude/sudomake-friends/
6•audiodude•10h ago•0 comments

Show HN: LangAlpha – what if Claude Code was built for Wall Street?

https://github.com/ginlix-ai/langalpha
144•zc2610•1d ago•53 comments

Show HN: Themery – A theme engine that compiles one palette to every major IDE

https://www.themery.dev/
4•Tiagopeter•8h ago•0 comments

Show HN: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
92•focom•1d ago•51 comments

Show HN: Flint – A 30B model fine-tuned for less repetition

https://springboards.ai/models/flint-alpha
5•thmsmxwll•10h ago•0 comments

Show HN: Compile English specs into 22 MB neural functions that run locally

10•yuntian•20h ago•0 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
174•cvrajeesh•2d ago•45 comments

Show HN: Kelet – Root Cause Analysis agent for your LLM apps

https://kelet.ai/
47•almogbaku•1d ago•24 comments

Show HN: Avec – iOS email app that lets you handle your Gmail inbox in seconds

https://apps.apple.com/us/app/avec-email-app-for-gmail/id6742199038
19•jnnnthnn•20h ago•4 comments

Show HN: US keyboards don't have enough keys, so I switched to Japanese

https://simone.org/hyperjis/
5•smnrg•14h ago•0 comments

Show HN: boringBar – a taskbar-style dock replacement for macOS

https://boringbar.app/
517•a-ve•3d ago•298 comments

Show HN: Pseudonymizing sensitive data for LLMs without losing context

https://atticsecurity.com/en/blog/why-llms-hate-fake-data-token-proxy/
4•n00pn00p•23h ago•4 comments

Show HN: Skillgrab – scan any project, auto-install matching AI skills

https://briascoi.github.io/skillgrab/
8•ismaelb•23h ago•1 comments

Show HN: Monadic Networking Library for Go

https://github.com/philip-peterson/fp-go-net
3•ironmagma•17h ago•0 comments

Show HN: Tine – Drive Wayland Around with Agents

https://github.com/smythp/tine
4•tarboreus•18h ago•4 comments

Show HN: Dependicus, a dashboard for your monorepo's dependencies

https://descriptinc.github.io/dependicus/
6•irskep•18h ago•1 comments

Show HN: Cush – curl your shell, an HTTP tunnel for AI agents

https://github.com/statespace-tech/cush
3•esafranchik•19h ago•1 comments

Show HN: StockFit API – structured SEC EDGAR data with a free tier

https://developer.stockfit.io
6•areimann•1d ago•1 comments