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

Show HN: WebExplorer – a tool for preview file in browser

https://www.webexplorer.app
2•feblr•17m ago•0 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
98•pattle•15h ago•71 comments

Show HN: Generate Web Interfaces from Data

https://github.com/puffinsoft/syntux
29•Goose78•6h ago•11 comments

Show HN: Pgclaw – A "Clawdbot" in every row with 400 lines of Postgres SQL

https://github.com/calebwin/pgclaw
37•calebhwin•8h ago•29 comments

Show HN: What is HN thinking? Real-time sentiment and concept analysis

https://ethos.devrupt.io/
20•ddtaylor•6h ago•7 comments

Show HN: 20+ Claude Code agents coordinating on real work (open source)

https://github.com/mutable-state-inc/lean-collab
41•austinbaggio•10h ago•35 comments

Show HN: AI agents play SimCity through a REST API

https://hallucinatingsplines.com
206•aed•3d ago•70 comments

Show HN: CodeRLM – Tree-sitter-backed code indexing for LLM agents

https://github.com/JaredStewart/coderlm/blob/main/server/REPL_to_API.md
77•jared_stewart•1d ago•34 comments

Show HN: Inamate – Open-source 2D animation tool (alternative to Adobe Animate)

14•hactually•3d ago•11 comments

Show HN: Agent Alcove – Claude, GPT, and Gemini debate across forums

https://agentalcove.ai
62•nickvec•1d ago•26 comments

Show HN: Migetpacks – Zero-config container builds, no Dockerfile needed

https://github.com/migetapp/migetpacks
2•ktaraszk•5h ago•1 comments

Show HN: ClawDeploy – OpenClaw deployment for non-technical users

https://clawdeploy.com
4•gregzeng95•10h ago•0 comments

Show HN: I generated a "stress test" of 200 rare defects from 7 real photos

2•jmalevez•6h ago•0 comments

Show HN: The Rails developers' guide to mobile app frameworks

https://masilotti.com/rails-developers-guide-to-mobile-app-frameworks/
3•joemasilotti•6h ago•0 comments

Show HN: Rowboat – AI coworker that turns your work into a knowledge graph (OSS)

https://github.com/rowboatlabs/rowboat
199•segmenta•2d ago•56 comments

Show HN: Triclock – A Triangular Clock

https://triclock.franzai.com/
57•franze•1d ago•14 comments

Show HN: I built a macOS tool for network engineers – it's called NetViews

https://www.netviews.app
239•n1sni•2d ago•60 comments

Show HN: Distr 2.0 – A year of learning how to ship to customer environments

https://github.com/distr-sh/distr
96•louis_w_gk•2d ago•29 comments

Show HN: ListofDisks – hard drive price index across 7 retailers not just Amazon

3•listofdisks•8h ago•0 comments

Show HN: JavaScript-first, open-source WYSIWYG DOCX editor

https://github.com/eigenpal/docx-js-editor
125•thisisjedr•3d ago•44 comments

Show HN: TinyFish Web Agent (82% on hard tasks vs. Operator's 43%)

https://www.tinyfish.ai/blog/mind2web
16•gargi_tinyfish•9h ago•12 comments

Show HN: Insider Trading Alerts – Open-Market Buys&Sells from SEC Form 4 Filings

https://stockalert.pro/alerts/insider-transactions
4•Adanos•9h ago•0 comments

Show HN: Renovate – The Kubernetes-Native Way

https://github.com/mogenius/renovate-operator
41•JanLepsky•1d ago•15 comments

Show HN: TidesDB – A persistent key-value store optimized for modern hardware

https://github.com/tidesdb/tidesdb
10•alexpadula•9h ago•4 comments

Show HN: Double blind entropy using Drand for verifiably fair randomness

https://blockrand.net/live.html
21•rishi_blockrand•1d ago•15 comments

Show HN: PardusDB – SQLite-like vector database in Rust

https://github.com/JasonHonKL/PardusDB
2•JasonHEIN•10h ago•0 comments

Show HN: Agent Tools – 136 deterministic data tools for AI agents (MCP/A2A/REST)

https://github.com/AtmaticAI/agent-tools
2•sathish-mg•10h ago•1 comments

Show HN: BetterDB – Valkey/Redis monitoring that persists what servers forget

3•kaliades•11h ago•0 comments

Show HN: Got VACE working in real-time – 30fps on a 5090

https://daydream.live/real-time-video-generation-control
10•cmuir•11h ago•0 comments

Show HN: CodeMic

https://codemic.io/#hn
52•seansh•4d ago•29 comments