@prisma/streams-server
v0.1.2
Published
Bun-only self-hosted Prisma Streams server.
Keywords
Readme
@prisma/streams-server
This package contains the Bun-only self-hosted Prisma Streams server.
What It Is
@prisma/streams-server is the full Prisma Streams runtime: SQLite WAL
storage, segmenting, upload support, indexing, recovery, and the live / touch
system.
It is intended for Bun-based self-hosted deployment. For trusted local
development embedding, use @prisma/streams-local instead.
Running It
Recommended:
bunx --package @prisma/streams-server prisma-streams-server --object-store localAfter installation in a project:
bun x prisma-streams-server --object-store localUseful environment variables:
PORTDS_HOSTDS_HTTP_IDLE_TIMEOUT_SECONDS
For R2 mode set:
DURABLE_STREAMS_R2_BUCKETDURABLE_STREAMS_R2_ACCOUNT_IDDURABLE_STREAMS_R2_ACCESS_KEY_IDDURABLE_STREAMS_R2_SECRET_ACCESS_KEY
See ../docs/overview.md and ../docs/conformance.md in the repository for the full runtime documentation.
