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

Show HN: Xmloxide – an agent made rust replacement for libxml2

https://github.com/jonwiggins/xmloxide
50•jawiggins•6h ago•33 comments

Show HN: Now I Get It – Translate scientific papers into interactive webpages

https://nowigetit.us
217•jbdamask•16h ago•100 comments

Show HN: Userscript to Display Age/Karma of HN Users

https://gist.github.com/m4chinations/f6d58711a94077d96cf4157665b0bab3
3•linksbro•1h ago•1 comments

Show HN: Computer Agents – Agents that work while you sleep

https://computer-agents.com
3•janlucasandmann•2h ago•0 comments

Show HN: SplatHash – A lightweight alternative to BlurHash and ThumbHash

https://github.com/junevm/splathash
52•unsorted2270•18h ago•20 comments

Show HN: SQLite for Rivet Actors – one database per agent, tenant, or document

https://github.com/rivet-dev/rivet
39•NathanFlurry•14h ago•13 comments

Show HN: Unfucked - version all changes (by any tool) - local-first/source avail

https://www.unfudged.io/
127•cyrusradfar•2d ago•82 comments

Show HN: Claude-File-Recovery, recover files from your ~/.claude sessions

https://github.com/hjtenklooster/claude-file-recovery
94•rikk3rt•1d ago•39 comments

Show HN: RetroTick – Run classic Windows EXEs in the browser

https://retrotick.com/
188•lqs_•1d ago•56 comments

Show HN: Decided to play god this morning, so I built an agent civilisation

https://github.com/nocodemf/werld
43•urav•16h ago•31 comments

Show HN: Gitcredits – movie-style end credits for any Git repo in your terminal

https://github.com/Higangssh/gitcredits
33•swq115•17h ago•3 comments

Show HN: GitPop – open-source AI Git context menu for Windows (OS X coming soon)

https://github.com/vinzify/gitpop
2•vinzify•5h ago•0 comments

Show HN: Tomoshibi – A writing app where your words fade by firelight

https://tomoshibi.in-hakumei.com/
23•hakumei•12h ago•12 comments

Show HN: Explain Curl Commands

https://github.com/akgitrepos/explain-my-curl
4•akgitrepos•6h ago•0 comments

Show HN: I built a tool to translate and declutter articles for my immigrant mom

https://dulink.click/
3•dh2013•6h ago•4 comments

Show HN: I built a self-hosted course platform in Clojure

https://clojure.stream
57•jacekschae•2d ago•10 comments

Show HN: Badge that shows how well your codebase fits in an LLM's context window

https://github.com/qwibitai/nanoclaw/tree/main/repo-tokens
84•jimminyx•1d ago•40 comments

Show HN: I built a dashboard to track AI's impact on jobs

https://www.clocktick.ai/
6•AznHisoka•15h ago•0 comments

Show HN: Free, open-source native macOS client for di.fm

https://github.com/drmikexo2/DIBar-macOS
6•thucydides•7h ago•1 comments

Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)

https://github.com/maloyan/manim-web
138•maloyan•3d ago•24 comments

Show HN: InstallerStudio – Create MSI Installers Without WiX or InstallShield

https://www.ionline.com/
3•pkailas•8h ago•0 comments

Show HN: Reclaim Flowers – A 2D physics-based "Digital Altar" protocol

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
11•sakanakana00•16h ago•2 comments

Show HN: Memctl v0.1.0 Open source shared persistent memory for AI coding agents

https://memctl.com
3•meszmate•3h ago•0 comments

Show HN: Hacker Smacker – Spot great (and terrible) HN commenters at a glance

https://hackersmacker.org
143•conesus•4d ago•166 comments

Show HN: MCP server that strips injection vectors from LLM input

https://github.com/timstarkk/mcp-safe-fetch
2•timstark•3h ago•0 comments

Show HN: IranWarLive – Automated, serverless OSINT mapping engine

https://iranwarlive.com/?v=hn
5•aggeeinn•8h ago•1 comments

Show HN: Velora Fitness – A zero-bloat, bare-bones workout tracker

https://trackmyresults.org
3•grpofficial•9h ago•0 comments

Show HN: Linex – A daily challenge: placing pieces on a board that fights back

https://www.playlinex.com/
82•Humanista75•4d ago•38 comments

Show HN: Respectify – A comment moderator that teaches people to argue better

https://respectify.org/
220•vintagedave•3d ago•229 comments

Show HN: Monohub – a new GitHub alternative / code hosting service

https://monohub.dev/
3•tbayramov•10h ago•2 comments