scothis/valkey-components

WebAssembly Components for Valkey (and Redis)

★ 0Forks 0GitHub ↗Compare

README

Valkey Components

A WASM component client for Valkey (and Redis).

Build

Prereqs:

make components

Run

Prereqs:

  • build the components (see above)
  • a wasi:cli/command compatible runtime (like wasmtime)
  • access to a running Valkey server
wasmtime run -Sinherit-network -Sallow-ip-name-lookup lib/cli.wasm keys '*'
  • use --host to specify a host other than 127.0.0.1
  • use --port to specify a port other than 6379
  • -Sallow-ip-name-lookup is only required if a hostname is used for the connection instead of an IP address.

To aid incremental development a make target is available to rebuild and run the CLI:

make run cmd="hello"

Community

Code of Conduct

The reconciler.io projects follow the Contributor Covenant Code of Conduct. In short, be kind and treat others with respect.

Communication

General discussion and questions about the project can occur either on the Kubernetes Slack #reconcilerio channel, or in the project's GitHub discussions. Use the channel you find most comfortable.

Contributing

The reconciler.io project team welcomes contributions from the community. A contributor license agreement (CLA) is not required. You own full rights to your contribution and agree to license the work to the community under the Apache License v2.0, via a Developer Certificate of Origin (DCO). For more detailed information, refer to CONTRIBUTING.md.

Acknowledgements

This project was conceived in discussion with Mark Fisher.

License

Apache License v2.0: see LICENSE for details.

Contributors

scothis

Issues