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

Show HN: CADara – I made an open-source in-browser CAD

https://cadara.app
6•ttouch•54m ago•1 comments

Show HN: GETadb.com – every GET request creates a DB

https://www.getadb.com/
23•nezaj•8h ago•30 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
92•doshay•10h ago•44 comments

Show HN: I mirrored war.gov's UAP archive in pure Rail with verifiable bytes

https://ledatic.org/aliens
2•zem0g•1h ago•0 comments

Show HN: TRUST – Coding Rust like it's 1989

https://github.com/wojtczyk/trust
155•wojtczyk•1d ago•80 comments

Show HN: tltv – Federation protocol for 24/7 TV channels

https://timelooptv.org/
3•tltv•4h ago•0 comments

Show HN: A lie detector game that reads your pulse through your phone camera

https://kouh.me/tells
3•mrkn1•6h ago•0 comments

Show HN: We built a tool that generates 3D objects with editable, separate parts

https://nova3d.xyz/
5•baigy•7h ago•1 comments

Show HN: Tilde.run – Agent sandbox with a transactional, versioned filesystem

https://tilde.run/
196•ozkatz•2d ago•131 comments

Show HN: UltraCompress – first mathematically lossless 5-bit LLM compression

https://github.com/sipsalabs/ultracompress
4•mounnar•7h ago•0 comments

Show HN: Rejected by YC

https://rejectedbyyc-ten.vercel.app/
4•leonagano•7h ago•3 comments

Show HN: Agent-skills-eval – Test whether Agent Skills improve outputs

https://github.com/darkrishabh/agent-skills-eval
73•darkrishabh•1d ago•36 comments

Show HN: Stage CLI – An easier way of reading your AI generated changes locally

https://github.com/ReviewStage/stage-cli
44•cpan22•1d ago•31 comments

Show HN: Airbyte Agents – context for agents across multiple data sources

148•mtricot•3d ago•46 comments

Show HN: I built an open-source email builder, alternative to Beefree/Unlayer

https://play.templatical.com
157•oahmadov•2d ago•44 comments

Show HN: Kstack – Skill pack for monitoring/troubleshooting K8s in Claude Code

https://github.com/kubetail-org/kstack
22•andres•1d ago•7 comments

Show HN: AnamDB – An AI-native, differentiable Datalog engine written in Rust

https://github.com/jam5991/anam
10•jam5991•21h ago•1 comments

Show HN: Crit – local review tool for agent plans and code diffs

https://crit.md/
10•tomasz-tomczyk•11h ago•3 comments

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions

https://github.com/olivier-ls/php-fts
86•asmodios•2d ago•23 comments

Show HN: Runs AI coding agents inside isolated Docker containers

https://github.com/marvincaspar/agent-sanbox
6•matt_callmann•16h ago•0 comments

Show HN: Hallucinopedia

http://halupedia.com/
301•bstrama•2d ago•266 comments

Show HN: NanoCorp – Create autonomous companies run by AI

https://www.nanocorp.so
6•AdrienBA•12h ago•5 comments

Show HN: HeatSpectra: Realtime 3D Surface Heat Simulation

https://github.com/tsun3doku/HeatSpectra
3•tsun3doku•22h ago•0 comments

Show HN: Corsproxy – Fix CORS Errors Instantly – Free for Development

https://corsproxy.io/
5•mariusbolik•15h ago•4 comments

Show HN: Disputron – AI small claims court for petty disputes

https://disputron.ai
8•etaheri•1d ago•4 comments

Show HN: Explore color palettes inspired by 3000 master painter artworks

https://paletteinspiration.com/
211•ouli•3d ago•82 comments

Show HN: DiffCAD, a FreeCAD workbench to review model changes like code

https://github.com/eblanshey/DiffCAD
6•eblanshey•1d ago•1 comments

Show HN: Apple's SHARP running in the browser via ONNX runtime web

https://github.com/bring-shrubbery/ml-sharp-web
182•bring-shrubbery•5d ago•46 comments

Show HN: DAG-based Kanji learning through components

https://mykanji.app/
3•barisozmen•1d ago•0 comments

Show HN: Agentctl, a local control plane for coding agents

https://github.com/chocks/agentctl
2•chocks•22h ago•0 comments