一覧へ戻る
supabase/storage(新しいタブで開きます)
主要言語: TypeScript
S3 compatible object storage service that stores metadata in Postgres
- star 数
- 1,345
- watcher 数
- 34
- fork 数
- 318
- issue 数
- 90
- 最終更新
- 2026/10/30
主要言語: TypeScript
S3 compatible object storage service that stores metadata in Postgres
A scalable, lightweight object storage service.
Read this post on why we decided to build a new object storage service.
Supported Protocols
.env.sample to .env file..env.test.sample to .env.test.cp .env.sample .env && cp .env.test.sample .env.testYour root directory should now have both .env and .env.test files.
# this sets up a postgres database and postgrest locally via docker npm run infra:restart # Start the storage server npm run dev
The server should now be running at http://localhost:5000/
The following request should insert and return the list of buckets.
# insert a bucket named avatars curl --location --request POST 'http://localhost:5000/bucket' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjEzNTMxOTg1LCJleHAiOjE5MjkxMDc5ODV9.th84OKK0Iz8QchDyXZRrojmKSEZ-OuitQm_5DvLiSIc' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "avatars" }' # get buckets curl --location --request GET 'http://localhost:5000/bucket' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjEzNTMxOTg1LCJleHAiOjE5MjkxMDc5ODV9.th84OKK0Iz8QchDyXZRrojmKSEZ-OuitQm_5DvLiSIc'
To perform your tests you can run the following command: npm test
Biome formats and lints code, Markdown, and YAML.
npm run lintnpm run lint:fix