RapidForge binary can be used as simple key value store. That will help you to store and retrieve information in your scripts easily. ./rapidForge --help will show you how to use it. Under the hood it uses sqlite3 database with a table called KV. Ofcourse you can always use other storage options like postgresql, duckdb or badger

Please check out Youtube video for more information.

Script Helpers

As of v0.14.0, KV helper functions are automatically injected into every script runtime — no imports or setup required. They delegate to the RapidForge binary under the hood so the KV store works even when sqlite3 is not installed in the script environment.

Missing keys are non-throwing by default: Bash helpers exit with code 1; Lua kv.get() returns nil.

Bash

These functions are available in every Bash script without any additional setup:

# Store a value
kv_set "my-key" "my-value"

# Read a value (exits 1 if key not found)
value="$(kv_get "my-key")"

# Delete a key (exits 1 if key not found)
kv_del "my-key"

# List all keys
kv_list

Lua

Load the kv module with require and use the same four operations:

local kv = require("kv")

-- Store a value
local ok, err = kv.set("my-key", "my-value")
if not ok then error(err) end

-- Read a value (returns nil if key not found)
local value = kv.get("my-key")
print(value)

-- Delete a key
local deleted = kv.del("my-key")

-- List all keys
local keys = kv.list()

CLI

The same KV store is also accessible through the RapidForge binary directly:

rapidforge set --key KEY --value VALUE
rapidforge get --key KEY
rapidforge del --key KEY
rapidforge list