Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 995 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 995 Bytes

RestKV

Build

A simple, unreliable Key-Value store for serverless applications.

API

Try https://kv.ahxxm.com. (put down because Cloudflare API restful KV access)

Method Path Result Note
POST /new token
POST /{token}/{key} key value in HTTP body
GET /{token}/{key} value
GET /keys/{token} list of keys under the token

Value <=4KB, will overwrite.

POST curl equivalent: curl -X POST -d 'value' https://kv.ahxxm.com/token/key.

Build and deploy Your Own

Build by: TARGET_CC=x86_64-linux-musl-gcc cargo build --release --target x86_64-unknown-linux-musl

It is designed to be behind a reverse proxy, it listens at 0.0.0.0:28080(hard-coded).

Check docker-compose.yml.