frontpage.
newsnewestaskshowjobs

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

Show HN: NanoMuse – An open-source AI agent for your phone and computer

https://github.com/nano-muse/nanoMuse
20•ilreb•6h ago•3 comments

Show HN: Neptune, a free and open-source terminal built in Rust

https://github.com/zevem/neptune
3•gabo2006•2h ago•1 comments

Show HN: Rgpu – a PyTorch device whose tensors live on a remote GPU

https://github.com/ymcrcat/rgpu
5•boxstream•4h ago•1 comments

Show HN: I turned my iPhone and a $20 smart plug into an f-stop timer

https://peterszentkiralyi.eu/darkplug/
80•pentakkusu•19h ago•35 comments

Show HN: Parseable, an open observability datalake, handles 100M time-series/min

https://www.parseable.com
83•yashdotrv•20h ago•22 comments

Show HN: Git extension for controlling Git worktree mess

https://getzit.org/
4•ironfootnz•5h ago•0 comments

Show HN: An AI agent runs ten web errands a day, every transcript published

https://agentability.org/
13•khalidsaidi•11h ago•1 comments

Show HN: Musql, JIT-compiled SQL, up to 300x faster than SQLite, 1000x vs. Turso

https://github.com/samyfodil/musql
7•dsamy•4h ago•3 comments

Show HN: Detangle, Dependency rules for JavaScript, checked in under a second

https://www.debugdiary.dev/log/detangle-dependency-rules-for-javascript-in-under-a-second
2•debug-diary•4h ago•0 comments

Show HN: KORA Doctor – find LLM calls your agent may not have needed

https://github.com/Krako-Labs/kora-doctor
2•hkalbert71•5h ago•0 comments

Show HN: Snug, a local-only bookmark export, import and backup extension

https://github.com/AndryOre/snug
2•AndryOre•5h ago•0 comments

Show HN: EasyToSTL – Convert 2D images and text to watertight, print-ready STLs

https://easytostl.com/
2•dawn3727•6h ago•0 comments

Show HN: ImgKit – 62 image tools that run in the browser

https://imgkit.xyz
4•jaydippatel83•6h ago•0 comments

Show HN: Vim-like, hyper-efficient, LLM power tool – 20-80k tokens not 350k+

https://easiest.ai/
2•skhameneh•6h ago•0 comments

Show HN: TikTok user finder and video donwloader

https://ohmytt.com/
4•valorantPanda•7h ago•2 comments

Show HN: Jotbus – a shared encrypted scratchpad for coding agents

https://jotbus.com/
26•shake-n-fries•20h ago•14 comments

Show HN: TerrainSR – fast, realistic heightmap upscaling model

https://huggingface.co/joe-gibbs/terrainsr
9•joegibbs•8h ago•2 comments

Show HN: Zero dependency cross-language background job queue server

https://github.com/zizq-labs/zizq
4•d11wtq•7h ago•0 comments

Show HN: I made a new number puzzle

https://hikupuzzle.com/
4•esschul•8h ago•1 comments

Show HN: YAVCHN, Yet Another Vibe-Coded Hacker News (Reader)

https://yavchn.com/hn/
3•paulmooreparks•8h ago•0 comments

Show HN: Nightwatch – a Mac menu-bar app that tells you when tonight is clear

https://github.com/rsutcliffe/nightwatch
86•delphidolphin•3d ago•26 comments

Show HN: SecretGate – self-hosted anonymous inbox, E2E encrypted in the browser

https://personal.secretgate.site
6•sasiru-mindaka•13h ago•0 comments

Show HN: Entombed in a Raycaster

https://www.stelabouras.com/blog/entombed-raycaster/
37•stelabouras•3d ago•6 comments

Show HN: AI search for every photo and every frame of video on macOS

https://github.com/allenv0/SCM
177•allenleee•3d ago•74 comments

Show HN: Photoc – Command-line tools for photographers

https://github.com/ahmetomerv/photoc
62•ahmetomer•3d ago•11 comments

Show HN: An MCP server that finds text your agent reads and you can't see

https://hiddencontent.ai/start/
4•davenaff•14h ago•0 comments

Show HN: AI Circuit Breaker – Reverse proxy to stop agent infinite loops

https://circuit-breaker-sage.vercel.app/
8•roandejager•17h ago•1 comments

Show HN: Bees – Run agentic teams on your own computer (open source)

https://bees.bot/
2•ravikapoor101•10h ago•0 comments

Show HN: Show HN: InterPoll, signed posts replicated over Gun relays/browsers

https://github.com/Interpoll1/decentralised
3•thegoodduck•10h ago•0 comments

Show HN: I build a newsreader-like alternative interface for my website

http://qdb.us/forte/
4•forgotmypw17•11h ago•0 comments