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: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
28•focom•2h ago•9 comments

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

https://github.com/ginlix-ai/langalpha
70•zc2610•5h ago•24 comments

Show HN: Run Python tools on rust agents

https://github.com/eggermarc/tools-rs
2•eggermarc•11m ago•0 comments

Show HN: A memory database that forgets, consolidates, and detects contradiction

https://github.com/yantrikos/yantrikdb-server
28•pranabsarkar•5h ago•18 comments

Show HN: Kontext CLI – Credential broker for AI coding agents in Go

https://github.com/kontext-dev/kontext-cli
55•mc-serious•7h ago•24 comments

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

https://kelet.ai/
37•almogbaku•4h ago•18 comments

Show HN: Send physical postcards from your coding harness

https://api.melonpost.com/SKILL.md
2•thevelop•54m ago•1 comments

Show HN: Sk.illmd.com, a forum for talking about and showing off agent skills

https://skillmd.discourse.group/
2•0gs•1h ago•2 comments

Show HN: Run GUIs as Scripts

https://github.com/skinnyjames/hokusai-pocket
19•zero-st4rs•4d ago•7 comments

Show HN: A Claude Code–driven tutor for learning algorithms in Go

https://github.com/zuzuleinen/algotutor/
4•zuzuleinen•3h ago•0 comments

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

https://www.ithihasas.in
167•cvrajeesh•1d ago•44 comments

Show HN: AriaType – open-source privacy-first and local-first voice-to-text app

https://github.com/joe223/AriaType
2•Joe_Harris•4h ago•1 comments

Show HN: We built an MCP for Windows – ask Claude about CPU, temps, and privacy

https://github.com/AppControlLabs/appcontrol-mcp-go/
7•suprnurd•5h ago•5 comments

Show HN: A stateful UI runtime for reactive web apps in Go

https://github.com/doors-dev/doors
10•derstruct•12h ago•4 comments

Show HN: VibeDrift – Measure drift in AI-generated codebases

https://www.vibedrift.ai/
3•samiahmadkhan•9h ago•12 comments

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

https://boringbar.app/
511•a-ve•2d ago•294 comments

Show HN: Continual Learning with .md

https://github.com/SunAndClouds/ReadMe
33•wenhan_zhou•1d ago•28 comments

Show HN: Pushduck – S3 uploads that run on Cloudflare Workers, no AWS SDK

10•abhay_ramesh•14h ago•6 comments

Show HN: Deflect One – command line dashboard for managing Linux servers via SSH

https://github.com/Frytskyy/deflect-one
6•whitemanv•15h ago•4 comments

Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)

https://github.com/rochus-keller/OberonSystem3Native/releases
240•Rochus•2d ago•107 comments

Show HN: Mcptube – Karpathy's LLM Wiki idea applied to YouTube videos

https://github.com/0xchamin/mcptube
12•0xchamin•1d ago•2 comments

Show HN: A CLI that writes its own integration code

https://docs.superglue.cloud/getting-started/cli-skills
14•adinagoerres•11h ago•9 comments

Show HN: Pardonned.com – A searchable database of US Pardons

497•vidluther•3d ago•273 comments

Show HN: A Bomberman-style 1v1 game where LLMs compete in real time

https://github.com/klemenvod/TokenBrawl
2•sunandsurf•13h ago•2 comments

Show HN: Claudraband – Claude Code for the Power User

https://github.com/halfwhey/claudraband
118•halfwhey•2d ago•44 comments

Show HN: I built a social media management tool in 3 weeks with Claude and Codex

https://github.com/brightbeanxyz/brightbean-studio
185•JanSchu•1d ago•126 comments

Show HN: Tsplat – Render Gaussian Splats directly in your terminal

https://github.com/darshanmakwana412/tsplat
6•darshanmakwana•14h ago•1 comments

Show HN: Write better Go integration tests with open source dockertest v4

https://github.com/ory/dockertest/tree/v4
3•pragmaticviber•7h ago•0 comments

Show HN: Equirect – a Rust VR video player

https://github.com/greggman/equirect
14•greggman65•1d ago•1 comments

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
155•maouida•4d ago•38 comments