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: Respectify – A comment moderator that teaches people to argue better

https://respectify.org/
98•vintagedave•12h ago•114 comments

Show HN: I ported Tree-sitter to Go

https://github.com/odvcencio/gotreesitter
187•odvcencio•7h ago•78 comments

Show HN: Unix for the Commodore 64? Open Source

https://github.com/ascarola/c64ux/releases/tag/v0.7
3•ascarola•1h ago•0 comments

Show HN: A real-time strategy game that AI agents can play

https://llmskirmish.com/
194•__cayenne__•16h ago•71 comments

Show HN: ZSE – Open-source LLM inference engine with 3.9s cold starts

https://github.com/Zyora-Dev/zse
2•zyoralabs•1h ago•0 comments

Show HN: Django Control Room – All Your Tools Inside the Django Admin

https://github.com/yassi/dj-control-room
112•yassi_dev•11h ago•53 comments

Show HN: Taji – Portfolio advisor that's better than Fidelity's

https://www.taji.is/
2•kevin1chun•1h ago•0 comments

Show HN: Clocksimulator.com – A minimalist, distraction-free analog clock

https://www.clocksimulator.com/
93•user_timo•12h ago•71 comments

Show HN: RubyLLM:Agents – A Rails engine for building and monitoring LLM agents

https://github.com/adham90/ruby_llm-agents
4•adham900•1h ago•0 comments

Show HN: OpenTrace – Self-hosted observability server with 75 MCP tools

https://github.com/adham90/opentrace
3•adham900•1h ago•0 comments

Show HN: Sgai – Goal-driven multi-agent software dev (GOAL.md → working code)

https://github.com/sandgardenhq/sgai
27•sandgardenhq•9h ago•14 comments

Show HN: Django-xbench – slow endpoint aggregation for Django

https://github.com/yeongbin05/django-xbench
10•yeongbin05•3d ago•4 comments

Show HN: Provision Stateless GPU Compute with Claude Code's Remote Control

https://github.com/theoddden/terradev-mcp
2•Facingsouth•2h ago•0 comments

Show HN: OrangeWalrus, an aggregator for trivia nights (and other events) in SF

https://www.orangewalrus.com/
3•gjtrowbridge•3h ago•0 comments

Show HN: Tesseract – 3D architecture editor with MCP for AI-assisted design

https://tesseract.infrastellar.dev
3•infrastellar•3h ago•2 comments

Show HN: Scheme-langserver – Digest incomplete code with static analysis

https://github.com/ufo5260987423/scheme-langserver
50•ufo5260987423•1d ago•2 comments

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

https://www.playlinex.com/
5•Humanista75•1d ago•2 comments

Show HN: RocketShare – Zero-knowledge encrypted file sharing

https://rocketshare.app
5•Cornest•3h ago•1 comments

Show HN: Gitbusiness.com I created it, and Indeed, I use my own stuff

3•gitprolinux•4h ago•2 comments

Show HN: Weather app with temp (23°) in favicon

https://adamschwartz.co/weather/
2•adamschwartz•51m ago•0 comments

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

https://github.com/moonshine-ai/moonshine
310•petewarden•1d ago•74 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
198•onecommit•1d ago•70 comments

Show HN: TinyCard – A minimalistic & functional e-Card site, like tinyletter

https://tinycard.app
3•szemy2•5h ago•1 comments

Show HN: PgDog – Scale Postgres without changing the app

https://github.com/pgdogdev/pgdog
321•levkk•2d ago•61 comments

Show HN: enveil – hide your .env secrets from prAIng eyes

https://github.com/GreatScott/enveil
198•parkaboy•1d ago•128 comments

Show HN: A CLI to query the unsealed court files with local LLMs

https://github.com/simulationship/epstein-search
2•simulationship•6h ago•0 comments

Show HN: Penclaw.ai hire OpenClaw tenant for pentesting

https://penclaw.ai
3•ozgurozkan•6h ago•0 comments

Show HN: UIQuarter – static analysis CLI for UI codebases

https://github.com/fuatkeles/uiquarter
3•fuatkeles•6h ago•1 comments

Show HN: Draw on Screen – a modern screen annotation tool with webcam

https://drawonscreen.com/vs/epicpen/
4•markjivko•7h ago•0 comments

Show HN: Tag Promptless on any GitHub PR/Issue to get updated user-facing docs

35•prithvi2206•1d ago•6 comments