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: Pdfwithlove – PDF tools that run 100% locally (no uploads, no back end)

https://pdfwithlove.netlify.app
13•pratik227•1h ago•4 comments

Show HN: AWS-doctor – A terminal-based AWS health check and cost optimizer in Go

https://github.com/elC0mpa/aws-doctor
9•elC0mpa•2h ago•1 comments

Show HN: Dock – Slack minus the bloat, tax, and 90-day memory loss

https://getdock.io/
104•yadavrh•10h ago•80 comments

Show HN: Intent Layer: A context engineering skill for AI agents

https://www.railly.dev/blog/intent-layer/
3•Hunter17•1h ago•1 comments

Show HN: I quit coding years ago. AI brought me back

https://calquio.com/finance/compound-interest
63•ivcatcher•6h ago•42 comments

Show HN: Lume 0.2 – Build and Run macOS VMs with unattended setup

https://cua.ai/docs/lume/guide/getting-started/introduction
116•frabonacci•13h ago•31 comments

Show HN: Beats, a web-based drum machine

https://beats.lasagna.pizza
64•kinduff•9h ago•19 comments

Show HN: CodeAnswr – Stack Overflow alternative with E2E encryption

https://codeanswr.com
3•mobinpo•1h ago•1 comments

Show HN: Xenia – A monospaced font built with a custom Python engine

https://github.com/Loretta1982/xenia
63•xeniafont•20h ago•22 comments

Show HN: Run LLMs in Docker for any language without prebuilding containers

https://github.com/mheap/agent-en-place
19•mheap•4d ago•6 comments

Show HN: HTTP:COLON – A quick HTTP header/directive inspector and reference

https://httpcolon.dev/
32•ultimoo•12h ago•4 comments

Show HN: Figma-use – CLI to control Figma for AI agents

https://github.com/dannote/figma-use
101•dannote•1d ago•36 comments

Show HN: Opal Editor, free Obsidian alternative for markdown and site publishing

https://github.com/rbbydotdev/opal
17•rbbydotdev•14h ago•0 comments

Show HN: GibRAM an in-memory ephemeral GraphRAG runtime for retrieval

https://github.com/gibram-io/gibram
59•ktyptorio•1d ago•10 comments

Show HN: ChunkHound, a local-first tool for understanding large codebases

https://github.com/chunkhound/chunkhound
104•NadavBenItzhak•1d ago•29 comments

Show HN: Auto-switch keyboard layout per physical keyboard (Rust, Linux/KDE)

https://github.com/aydiler/kb-layout-daemon
2•aydiler•6h ago•0 comments

Show HN: Streaming gigabyte medical images from S3 without downloading them

https://github.com/PABannier/WSIStreamer
157•el_pa_b•1d ago•47 comments

Show HN: Speed Miners – A tiny RTS resource mini-game

https://speedminers.fun/
45•nickponline•1d ago•8 comments

Show HN: Kling.to – Self-hosted email marketing with full data ownership

https://kling.to
7•mukama•17h ago•0 comments

Show HN: Mist – a lightweight, self-hosted PaaS

https://www.trymist.cloud/
10•notcalc•14h ago•7 comments

Show HN: Map of illegal dumping reports in Oakland

https://illegal-dumping-map.vercel.app/oakland
4•arkits•10h ago•1 comments

Show HN: Terravision – Generate Cloud architecture diagrams from Terraform code

https://github.com/patrickchugh/terravision
2•neogeno•12h ago•1 comments

Show HN: WebTerm – Browser-based terminal emulator

https://www.webterm.app/en
6•DaiAoki•22h ago•1 comments

Show HN: App to spoof GPS location on iOS without jailbreaking

https://github.com/acheong08/ios-location-spoofer
16•acheong08•1d ago•4 comments

Show HN: TinyCity – A tiny city SIM for MicroPython (Thumby micro console)

https://github.com/chrisdiana/TinyCity
141•inflam52•3d ago•26 comments

Show HN: I built a tool to assist AI agents to know when a PR is good to go

https://dsifry.github.io/goodtogo/
39•dsifry•1d ago•32 comments

Show HN: Hekate – A Zero-Copy ZK Engine Overcoming the Memory Wall

8•y00zzeek•1d ago•10 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
122•code_brian•4d ago•48 comments

Show HN: Webctl – Browser automation for agents based on CLI instead of MCP

https://github.com/cosinusalpha/webctl
134•cosinusalpha•4d ago•38 comments

Show HN: built a 24h-clock based radial planner to help with ADHD time blindness

https://www.dayzen.xyz
24•Kavolis_•14h ago•14 comments