Skip to content

Repository files navigation

Bytes store

Installation

bun install
bun start

One SQLite file (bytes.sqlite by default). entries holds namespace, key, and a BLOB value. sequences holds the namespace-to-counter relation, with seq as an INTEGER.

Environment variables

Set them as env variables or put them into .env file in project root dir.

  • PORT — HTTP port (default 3001)
  • DB_PATH — SQLite file path (default bytes.sqlite)
  • TRUST_PROXY — hop count to trust for X-Forwarded-For (unset means the limiter uses the socket address)

OpenAPI

License

MIT

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages