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

Show HN: Learn German with Games

https://www.learngermanwithgames.com/
101•predictand•20h ago•86 comments

Show HN: Research Hacker News, ArXiv & Google with Hierarchical Bayesian Models

https://sturdystatistics.com/deepdive-search
70•kianN•1d ago•23 comments

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
45•lchoquel•1d ago•11 comments

Show HN: HUD-like live annotation and sketching app for macOS

https://draw.wrobele.com/
52•tomaszsobota•18h ago•19 comments

Show HN: Bash Screensavers

https://github.com/attogram/bash-screensavers
229•attogram•1d ago•77 comments

Show HN: ISS in Real Time – 25 Years Aboard the International Space Station

https://issinrealtime.org
153•bfeist•2d ago•24 comments

Show HN: SQLite Graph Ext – Graph database with Cypher queries (alpha)

https://github.com/agentflare-ai/sqlite-graph
28•gwillen85•13h ago•17 comments

Show HN: Are You a Good Estimator?

https://estimator.dylancastillo.co/
11•dcastm•13h ago•6 comments

Show HN: Butter – A Behavior Cache for LLMs

https://www.butter.dev/
41•edunteman•1d ago•21 comments

Show HN: Dexto – Connect your AI Agents with real-world tools and data

https://github.com/truffle-ai/dexto
37•shaunaks•1d ago•7 comments

Show HN: Simple Video Resizer for iOS. No ads/tracking/in-app purchases

https://github.com/spieglt/VideoResizer
4•spieglt•13h ago•2 comments

Show HN: JSON Query

https://jsonquerylang.org/
147•wofo•2d ago•69 comments

Show HN: After Watching 30k People Get Laid Off, I Built This

https://www.ratetheculture.com/
4•monkee_kl•6h ago•1 comments

Show HN: Automate robot data quality improvement

https://github.com/RoboticsData/score_lerobot_episodes
9•machinelearning•2d ago•1 comments

Show HN: MyraOS – My 32-bit operating system in C and ASM (Hack Club project)

https://github.com/dvir-biton/MyraOS
243•dvirbt•3d ago•55 comments

Show HN: Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang
156•yar-kravtsov•3d ago•47 comments

Show HN: Erdos – open-source, AI data science IDE

https://www.lotas.ai/erdos
84•jorgeoguerra•2d ago•33 comments

Show HN: Run Independent ATProto Networks in Docker or Kubernetes

https://github.com/blebbit/testnet
3•verdverm•13h ago•0 comments

Show HN: CapSlap – Local caption generation using Whisper

https://github.com/riseandignite/capslap
3•nick_wolf•13h ago•0 comments

Show HN: I Built an LSP and CLI for Ron (Rusty Object Notation)

https://github.com/jasonjmcghee/ron-lsp
3•jasonjmcghee•14h ago•0 comments

Show HN: Dlog – Journaling and AI coach that learns what drives wellbeing (Mac)

https://dlog.pro/
46•dr-j•2d ago•37 comments

Show HN: Free Geo (SEO for LLM)

https://amplitude.com/ai-visibility
9•0xferruccio•15h ago•3 comments

Show HN: Git Auto Commit (GAC) – LLM-powered Git commit command line tool

https://github.com/cellwebb/gac
53•merge-conflict•2d ago•35 comments

Show HN: Kedr Programming Language

https://codeberg.org/denismarkelov/kedr
4•denismarkelov•16h ago•2 comments

Show HN: Oblivious HTTP for Go

https://github.com/confidentsecurity/ohttp
10•jmort•16h ago•0 comments

Show HN: Ordered – A sorted collection library for Zig

21•habedi0•2d ago•6 comments

Show HN: Qwe – Atomic Version Control System

https://github.com/mainak55512/qwe
3•mbhatt99•18h ago•0 comments

Show HN: Spectral Indexing, from concept to paper to alpha in 45 days

https://www.tuned.org.uk/posts/008_arrowspace_proof_of_concept_energy_informed_search
2•tuned•18h ago•0 comments

Show HN: I was tired of people dmming me just "hi", so I made this - NoGreeting

https://nogreeting.kuber.studio
21•kuberwastaken•1d ago•17 comments

Show HN: Shadcn/UI theme editor – Design and share Shadcn themes

https://shadcnthemer.com
134•miketromba•4d ago•40 comments