Skip to content

cartersusi/bstore

Repository files navigation

Bstore Logo

Bstore

A simple blob storage.

bstore NPM Package React Package Demo

About

Fast:

1mb files encrypted and compressed.

Storage Tier Upload Download
bstorejs 8c/16t - 1 Gbps 924 upload/s 617 download/s
@vecel/blob Free 4.1 upload/s 57 download/s
@aws-sdk/client-s3 Free 5.3 upload/s 72 download/s

Secure:

  • AES 256-bit encryption

Efficient:

  • zstd compression

Lightweight:

OS Size
darwin-amd64 (8.44 MB)
darwin-arm64 (8.09 MB)
linux-arm64 (7.94 MB)
linux-amd64 (8.25 MB)

Use Cases

  • DIY Movies/TV Server
  • PDF Books
  • Data Backups

Features

  • HLS and MPEG DASH video Streaming
  • Data Cache
  • Rate Limiting

Build (Recommended)

  1. Clone Repository
git clone https://github.com/cartersusi/bstore.git
  1. Build For your OS (Requires Go)
cd bstore
make build
  1. Generate a Config File and Keys
./bstore -init
  • Edit your config file (Optional)

    nvim ~/.bstore/conf.yml
  • Print your keys (Optional)

    cat ~/.bstore/keys.env
  1. Start Server
./bstore
  • Use a different config (Optional)
    ./bstore -config new_conf.yml

Install

curl -fsSL https://cartersusi.com/bstore/install | bash

APIs

npm i bstorejs
npm i bstorejs-react