The Crystal Programming Language Forum

GDBM (Embedded Persistent Key Value) Shard

Hi there! I’ve recently wrote a shard that functions as a Crystal wrapper for GDBM.

GDBM is a super simple key value store that only works on strings. I found myself wanting to use this for a Crystal project but there wasn’t an available shard. I based my api largely off the preexisting Ruby one. Hopefully others find this useful as well.

Here is a link to the GDBM project: https://www.gnu.org.ua/software/gdbm/

Here is a link to the git repository: https://git.sr.ht/~fancycade/crystal-gdbm

3 Likes