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

Show HN: Bonsplit – Tabs and splits for native macOS apps

https://bonsplit.alasdairmonk.com
94•sgottit•4h ago•14 comments

Show HN: TUI for managing XDG default applications

https://github.com/mitjafelicijan/xdgctl
52•mitjafelicijan•4h ago•14 comments

Show HN: Generate the perfect kickoff prompt

https://vibeprompting.dev
2•relatedcode•57m ago•0 comments

Show HN: Netfence – Like Envoy for eBPF Filters

https://github.com/danthegoodman1/netfence
3•dangoodmanUT•1h ago•0 comments

Show HN: AutoShorts – Local, GPU-accelerated AI video pipeline for creators

https://github.com/divyaprakash0426/autoshorts
54•divyaprakash•8h ago•23 comments

Show HN: AI powered daily tracker of the US slide into authoritarianism

https://www.worstdaysofar.com/
2•locallyoptimal•1h ago•0 comments

Show HN: LangGraph architecture that scales (hexagonal pattern, 110 tests)

https://github.com/cleverhoods/sagecompass
4•cleverhoods•5d ago•0 comments

Show HN: LLMNet – The Offline Internet, Search the web without the web

https://github.com/skorotkiewicz/llmnet
3•modinfo•2h ago•1 comments

Show HN: HomeGenGuide – Calculator for home generator installation costs

https://www.home-generator-installation.com
2•vansxxx•2h ago•0 comments

Show HN: C From Scratch – Learn safety-critical C with prove-first methodology

https://github.com/SpeyTech/c-from-scratch
44•william1872•16h ago•5 comments

Show HN: Sightline – Shodan-style search for real-world infra using OSM Data

https://github.com/ni5arga/sightline
11•ni5arga•8h ago•0 comments

Show HN: Waves – Terminal music player with download, tagging, and library

https://github.com/llehouerou/waves
2•llehouerou•3h ago•0 comments

Show HN: First Valkey-specific VS Code extension (open source Redis fork)

https://github.com/BetterDB-inc/vscode
2•kaliades•4h ago•5 comments

Show HN: Open-source Figma design to code

https://github.com/vibeflowing-inc/vibe_figma
48•alepeak•1d ago•8 comments

Show HN: VM-curator – a TUI alternative to libvirt and virt-manager

https://github.com/mroboff/vm-curator
36•theYipster•12h ago•7 comments

Show HN: StormWatch – Weather emergency dashboard with prep checklists

https://jeisey.github.io/stormwatch/
42•lotusxblack•20h ago•9 comments

Show HN: Coi – A language that compiles to WASM, beats React/Vue

209•io_eric•4d ago•67 comments

Show HN: Sara – Markdown-based requirements traceability tool written in Rust

https://github.com/cledouarec/sara
3•cledouarec•5h ago•2 comments

Show HN: Semantic search engine for Studio Ghibli movie

https://ghibli-search.anini.workers.dev/
42•aninibread•4d ago•10 comments

Show HN: Polymcp – Turn Any Python Function into an MCP Tool for AI Agents

22•justvugg•20h ago•6 comments

Show HN: isometric.nyc – giant isometric pixel art map of NYC

https://cannoneyed.com/isometric-nyc/
1301•cannoneyed•2d ago•240 comments

Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)

https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video
156•schopra909•2d ago•24 comments

Show HN: Lumina – Open-source observability for LLM applications

https://github.com/use-lumina/Lumina
4•iggycodexs•9h ago•1 comments

Show HN: I made an app that blurs my screen when I slouch

https://tomjohnell.com/posturr-a-macos-app-that-blurs-your-screen-when-you-slouch/
11•tjohnell•19h ago•2 comments

Show HN: BrowserOS – "Claude Cowork" in the browser

https://github.com/browseros-ai/BrowserOS
87•felarof•2d ago•35 comments

Show HN: Whosthere: A LAN discovery tool with a modern TUI, written in Go

https://github.com/ramonvermeulen/whosthere
273•rvermeulen98•2d ago•89 comments

Show HN: PodCost – Find wasted GPU and Kubernetes spend (with live demo)

https://podcost.io/
2•MGabrIbrah•11h ago•0 comments

Show HN: I've been using AI to analyze every supplement on the market

https://pillser.com/
91•lilouartz•3d ago•47 comments

Show HN: Snowfall Progress

https://www.kmjn.org/snow/
4•mjn•11h ago•1 comments

Show HN: EchoFluid – a video transcription without uploading full videos

https://www.echofluid.com
3•samwulol•12h ago•0 comments