Skip to content

Valkey compatible client fork for Nim #43

Description

@pshankinclarke

Hi, I've put together a Valkey client for Nim based on this library and wanted to share it in case it's useful for others.

Valkey itself is a community fork of open-source Redis 7.2, so it's still compatible with the core Redis 7.2 APIs, even though the projects have started to diverge since. Where it is a bit different is that it's now under the Linux Foundation with a BSD-3 license and open governance, which is why I thought offering a Valkey option alongside the existing Redis client could be useful for folks who prefer a fully open-source successor.

My idea here was to add a Valkey layer on top of a clean fork of this library, so it stays close to the existing project but also provides a base for future extension. In practice this just came down to renaming and aliasing the types, updating the docs, adding Valkey connect helpers (with optional auth), and implementing simple engine detection for Valkey and Redis.

The code is here: https://github.com/pshankinclarke/valkey-nim/tree/valkey and I'm planning to publish it as a Nimble package under the name valkey.

Any feedback is welcome and I'm happy to adjust to the community's preferred conventions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions