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: Poppy – a simple app to stay intentional with relationships

https://poppy-connection-keeper.netlify.app/
73•mahirhiro•4h ago•19 comments

Show HN: Stacked Game of Life

https://stacked-game-of-life.koenvangilst.nl/
180•vnglst•4d ago•26 comments

Show HN: Vertex.js – A 1kloc SPA Framework

https://lukeb42.github.io/vertex-manual.html
42•LukeB42•3d ago•23 comments

Show HN: A shell-native cd-compatible directory jumper using power-law frecency

https://github.com/jghub/sd-switchdir
18•jghub•21h ago•3 comments

Show HN: A GFM+GF-MathJax/Latex HTML formatting adventure

https://github.com/scottvr/phart/blob/main/docs/GHM-LATEX.md
3•ycombiredd•4d ago•0 comments

Show HN: Fast Chladni figure simulation in Python with NumPy vectorization

https://github.com/ratwolfzero/Chladni_Figures
4•ratwolf•3h ago•1 comments

Show HN: Rust compiler in PHP emitting x86-64 executables

https://github.com/mrconter1/rustc-php
60•mrconter11•3d ago•48 comments

Show HN: Your AI Slop Bores Me

https://www.youraislopbores.me/
3•mikidoodle•1h ago•1 comments

Show HN: I made a zero-copy coroutine tracer to find my scheduler's lost wakeups

https://github.com/lixiasky-back/coroTracer
42•lixiasky•1d ago•3 comments

Show HN: Open dataset of real-world LLM performance on Apple Silicon

https://devpadapp.com/anubis-oss.html
2•uncSoft•5h ago•1 comments

Show HN: Shinobi – 10-second security scanner for developers

https://github.com/AkrijSama/Shinobi
2•SolidDark•6h ago•0 comments

Show HN: Nodepp – A C++ runtime for scripting at bare-metal speed

https://github.com/NodeppOfficial/nodepp
2•EDBC_REPO•6h ago•1 comments

Show HN: Qlog – grep for logs, but 100x faster

https://github.com/Cosm00/qlog
13•cosm00•12h ago•16 comments

Show HN: DJ Claude – 6 Claude Codes in a jam band

https://www.loom.com/share/84dbe5de42f745ba98fe9495dc61fa2e
3•p-poss•7h ago•0 comments

Show HN: I put HN discussions next to the article where it belongs

https://cool-link-web-production.up.railway.app/l/blogabout
8•krenerd•16h ago•0 comments

Show HN: I built CLI for developer docs locally working with any Coding Agent

https://github.com/lifez/docsearch
2•lifez•8h ago•1 comments

Show HN: Potatoverse, home for your vibecoded apps

https://github.com/blue-monads/potatoverse
6•born-jre•8h ago•1 comments

Show HN: A universal protocol for AI agents to interact with any desktop UI

https://github.com/computeruseprotocol/computeruseprotocol
3•k4cper-g•9h ago•0 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
563•nicktikhonov•2d ago•152 comments

Show HN: Paste a URL and watch multiple AI models redesign it side-by-side

https://shuffle.dev/ai-website-redesign
4•kemyd•9h ago•0 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
204•kossisoroyce•3d ago•33 comments

Show HN: I built a browser game where you compete against OpenAI, Anthropic, etc

https://thefrontier.pages.dev
3•adityapatni•10h ago•0 comments

Show HN: Open-sourced a web client that lets any device use Apple's on-device AI

https://github.com/Techopolis/perspective-intelligence-web-community
10•tayarndt•17h ago•1 comments

Show HN: Omni – Open-source workplace search and chat, built on Postgres

https://github.com/getomnico/omni
172•prvnsmpth•2d ago•42 comments

Show HN: Athena Flow – a workflow runtime for Claude Code with a terminal UI

2•nadeem1•10h ago•0 comments

Show HN: Effective Git

https://github.com/nolasoft/okgit
35•nola-a•3d ago•6 comments

Show HN: Gobble – Yet Another OSS Alternative to Google Analytics/PostHog, etc.

https://github.com/inventhq/Gobble
2•vishinvents•11h ago•1 comments

Show HN: I built a tamper-evident evidence system for AI agents

https://guardianreplay.pages.dev/
2•Slaine•11h ago•2 comments

Show HN: WooTTY - browser terminal in a single Go binary

https://github.com/icoretech/wootty
3•masterkain•12h ago•2 comments

Show HN: Pianoterm – Run shell commands from your Piano. A Linux CLI tool

https://github.com/vustagc/pianoterm
61•vustagc•2d ago•21 comments