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: An index of indie web/blog indexes

https://theindex.fyi
18•rocketpastsix•4h ago•5 comments

Show HN: Building a web server in assembly to give my life (a lack of) meaning

https://github.com/imtomt/ymawky
352•imtomt•14h ago•192 comments

Show HN: I made a Clojure-like language in Go, boots in 7ms

https://github.com/nooga/let-go
238•marcingas•23h ago•63 comments

Show HN: Rust but Lisp

https://github.com/ThatXliner/rust-but-lisp
182•thatxliner•19h ago•69 comments

Show HN: All 55,256 Slides of the WAR.GOV/UFO Files Searchable and Linkable

https://hypergrid.systems/war.gov-ufo-viewer/?item=095-dow-uap-pr38-unresolved-uap-report-middle-...
5•keepamovin•3h ago•0 comments

Show HN: Mochi.js: bun-native high-fidelity browser automation library

https://mochijs.com/
43•ccheshirecat•1d ago•19 comments

Show HN: Modafinil - Let agents continue running while MacBook lid is closed

https://github.com/narcotic-sh/modafinil
13•hamza_q_•14h ago•22 comments

Show HN: Akmon, a Rust AI coding agent for regulated engineering

https://github.com/radotsvetkov/akmon
4•radotsvetkov•7h ago•0 comments

Show HN: ASCII pixel art editor for the terminal

https://github.com/Mr-Robot-err-404/perkins
7•doctor_schultz•7h ago•2 comments

Show HN: Create flashcards with Space CLI

https://getspace.app/cli
21•friebetill•1d ago•9 comments

Show HN: Countries where you can leave your MacBook at a random coffee shop

https://vouchatlas.com
44•canergl•17h ago•45 comments

Show HN: Codebook of 450k+ unique words and phrases acts as a text compressor

https://i.postimg.cc/WpBcB4HK/IMG-20260510-103853.jpg
8•smalltorch•2h ago•1 comments

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

https://github.com/wojtczyk/trust
162•wojtczyk•3d ago•87 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
117•doshay•2d ago•65 comments

Show HN: Free Google Places API alternative using OpenStreetMap (no API key)

https://bizdata-web.vercel.app
8•johnleslie_pm•10h ago•1 comments

Show HN: Free tool to mark points and polygon regions

https://tack.pics
20•magikMaker•3d ago•6 comments

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

https://www.getadb.com/
38•nezaj•2d ago•42 comments

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

https://cadara.app
33•ttouch•1d ago•10 comments

Show HN: Chuchu, an Android SSH client built on libghostty

https://github.com/jossephus/chuchu
9•jossephus01•1d ago•2 comments

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

https://tilde.run/
199•ozkatz•4d ago•132 comments

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

150•mtricot•5d ago•47 comments

Show HN: Remind – schedule Claude Code on your Mac

https://olliewagner.com/remind
5•olliewagner•15h ago•3 comments

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

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

Show HN: A search engine for deleted YouTube videos (1.5B+ indexed since 2005)

https://tube.archivarix.net/
12•archivarix•1d ago•3 comments

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

https://play.templatical.com
161•oahmadov•4d ago•48 comments

Show HN: Free OSS transcription app I made and found it's faster than wispr flow

https://mumbli.app/
5•fireharp•19h ago•2 comments

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

https://github.com/ReviewStage/stage-cli
45•cpan22•3d ago•32 comments

Show HN: Hallucinopedia

http://halupedia.com/
304•bstrama•4d ago•266 comments

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

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

Show HN: Free C course called "C Systems Lab"

https://csystemslab.com/
5•vhcosta•23h ago•2 comments