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

Show HN: AI agent got 237 rules from another agent, still made the same mistakes

https://github.com/getcalx/oss
3•spenceships•21m ago•0 comments

Show HN: Off By – a daily game about how wrong we are about the American economy

https://offby.io
2•offby99•30m ago•0 comments

Show HN: Cq – Stack Overflow for AI coding agents

https://blog.mozilla.ai/cq-stack-overflow-for-agents/
168•peteski22•20h ago•65 comments

Show HN: zbot – an AI agent for MCU with Telegram chat (runs on Zephyr or Linux)

https://github.com/LingaoM/zbot
4•menggithub•1h ago•1 comments

Show HN: Danube – AI Tools Marketplace

https://danubeai.com
2•preston25•1h ago•0 comments

Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build

https://proofshot.argil.io/
62•jberthom•5h ago•45 comments

Show HN: The King Wen Permutation: [52, 10, 2]

https://gzw1987-bit.github.io/iching-math/
59•gezhengwen•1d ago•27 comments

Show HN: Kern – One agent. One folder. One mind. Every channel

https://github.com/oguzbilgic/kern-ai
4•obilgic•5h ago•1 comments

Show HN: Littlebird – Screenreading is the missing link in AI

https://littlebird.ai/
43•delu•19h ago•22 comments

Show HN: Revise – An AI Editor for Documents

https://revise.io
80•artursapek•1d ago•69 comments

Show HN: WhyThere.life – Compare cities side-by-side to decide where to move

https://whythere.life
13•daversa•15h ago•7 comments

Show HN: AgentDrive – Persistent file storage for AI agents

https://www.getagentdrive.com
3•itstomo•10h ago•0 comments

Show HN: Agent Kernel – Three Markdown files that make any AI agent stateful

https://github.com/oguzbilgic/agent-kernel
41•obilgic•1d ago•19 comments

Show HN: Atomic – Self-hosted, semantically-connected personal knowledge base

https://github.com/kenforthewin/atomic
147•kenforthewin•2d ago•24 comments

Show HN: VoidLLM – privacy-first LLM proxy (Go, self-hosted)

https://github.com/voidmind-io/voidllm
3•chrisremo85•13h ago•2 comments

Show HN: Mutatr – an open source A/B testing agent

https://github.com/novynlabs-repo/mutatr
3•AhmedAshraf•13h ago•0 comments

Show HN: Dgs-CLI – 63-command CLI for D-Link DGS-1100 switches via Selenium

https://github.com/bobberb/dgs-cli
3•ShellackGobln7•14h ago•0 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
145•FormerLabFred•3d ago•82 comments

Show HN: Sonar – A tiny CLI to see and kill whatever's running on localhost

https://github.com/RasKrebs/sonar
202•raskrebs•4d ago•80 comments

Show HN: OpenCastor Agent Harness Evaluator Leaderboard

https://craigm26.github.io/OpenCastor/
3•craigm26•14h ago•1 comments

Show HN: Aerko_ – An offline-first, Vanilla JavaScript fitness PWA with local AI

https://github.com/SrPakura/AERKO_PWA
7•SrPakura•22h ago•3 comments

Show HN: Burn Room – ephemeral SSH chat, messages burn after 1 hour

https://burnroom.chat
7•joematrix•16h ago•1 comments

Show HN: Lockpaw One hotkey to cover your Mac screen without putting it to sleep

https://github.com/sorkila/lockpaw
5•eriknielsen•23h ago•1 comments

Show HN: Duplicate 3 layers in a 24B LLM, logical deduction .22→.76. No training

https://github.com/alainnothere/llm-circuit-finder
264•xlayn•5d ago•81 comments

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
558•rohan_joshi•4d ago•183 comments

Show HN: Shrouded, secure memory management in Rust

https://github.com/thesis/shrouded
5•mhluongo•17h ago•0 comments

Show HN: Time Keep – Location timezones, timers, alarms, countdowns in one place

25•jmbuilds•4d ago•8 comments

Show HN: Primer – build software with AI agents one milestone at a time

https://github.com/armgabrielyan/primer
3•armen99•18h ago•8 comments

Show HN: Termcraft – Terminal-first 2D sandbox survival in Rust

https://github.com/pagel-s/termcraft
135•sebosch•2d ago•25 comments

Show HN: JulIDE – Lightweight Julia IDE Built with Tauri

https://github.com/sinisterMage/JulIde
6•SinisterMage2•19h ago•3 comments