{"id":13588653,"url":"https://github.com/supabase/storage","last_synced_at":"2026-04-13T22:04:25.647Z","repository":{"id":36968967,"uuid":"347862191","full_name":"supabase/storage","owner":"supabase","description":"S3 compatible object storage service that stores metadata in Postgres","archived":false,"fork":false,"pushed_at":"2026-04-06T09:50:03.000Z","size":10226,"stargazers_count":1247,"open_issues_count":44,"forks_count":280,"subscribers_count":35,"default_branch":"master","last_synced_at":"2026-04-06T09:55:25.242Z","etag":null,"topics":["gotrue","iceberg","object-storage","postgres","s3","tus","vector"],"latest_commit_sha":null,"homepage":"https://supabase.com/docs/guides/storage","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supabase.png","metadata":{"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-03-15T06:32:53.000Z","updated_at":"2026-04-06T09:25:44.000Z","dependencies_parsed_at":"2025-12-30T03:05:50.761Z","dependency_job_id":"089db0d5-d3a5-4077-b332-e68c261ac5b1","html_url":"https://github.com/supabase/storage","commit_stats":{"total_commits":628,"total_committers":31,"mean_commits":"20.258064516129032","dds":0.5605095541401274,"last_synced_commit":"da3ce61ac1f975a211b1dfc27c50134ab2aed2e4"},"previous_names":["supabase/storage","supabase/storage-api"],"tags_count":455,"template":false,"template_full_name":null,"purl":"pkg:github/supabase/storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fstorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fstorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fstorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fstorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Fstorage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gotrue","iceberg","object-storage","postgres","s3","tus","vector"],"created_at":"2024-08-01T15:06:50.810Z","updated_at":"2026-04-08T13:01:00.613Z","avatar_url":"https://github.com/supabase.png","language":"TypeScript","readme":"# Supabase Storage Engine [![Coverage Status](https://coveralls.io/repos/github/supabase/storage/badge.svg?branch=master)](https://coveralls.io/github/supabase/storage?branch=master) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/supabase/storage)\n\nA scalable, lightweight object storage service.\n\n\u003e Read [this post](https://supabase.io/blog/2021/03/30/supabase-storage) on why we decided to build a new object storage service.\n\n- Multi-protocol support (HTTP, TUS, S3, Iceberg)\n- Uses Postgres as its datastore for storing metadata\n- Authorization rules are written as Postgres Row Level Security policies\n- Integrates with S3 Compatible Storages\n- Extremely lightweight and performant\n\n**Supported Protocols**\n\n- [x] HTTP/REST\n- [x] TUS Resumable Upload\n- [x] S3 Compatible API\n- [x] Iceberg REST Catalog\n\n![Architecture](./static/architecture.png?raw=true \"Architecture\")\n\n## Documentation\n\n- [OpenAPI Spec](https://supabase.github.io/storage)\n- [Storage Guides](https://supabase.io/docs/guides/storage)\n- [Client library](https://supabase.io/docs/reference/javascript/storage-createbucket)\n\n## Development\n\n- Copy `.env.sample` to `.env` file.\n- Copy `.env.test.sample` to `.env.test`.\n\n```bash\ncp .env.sample .env \u0026\u0026 cp .env.test.sample .env.test\n```\n\n**Your root directory should now have both `.env` and `.env.test` files.**\n\n- Then run the following:\n\n```bash\n# this sets up a postgres database and postgrest locally via docker\nnpm run infra:restart\n# Start the storage server\nnpm run dev\n```\n\nThe server should now be running at http://localhost:5000/\n\nThe following request should insert and return the list of buckets.\n\n```bash\n# insert a bucket named avatars\ncurl --location --request POST 'http://localhost:5000/bucket' \\\n--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjEzNTMxOTg1LCJleHAiOjE5MjkxMDc5ODV9.th84OKK0Iz8QchDyXZRrojmKSEZ-OuitQm_5DvLiSIc' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"name\": \"avatars\"\n}'\n\n# get buckets\ncurl --location --request GET 'http://localhost:5000/bucket' \\\n--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjEzNTMxOTg1LCJleHAiOjE5MjkxMDc5ODV9.th84OKK0Iz8QchDyXZRrojmKSEZ-OuitQm_5DvLiSIc'\n```\n\n### Testing\n\nTo perform your tests you can run the following command: `npm test`\n\n### Code Quality\n\n- Check: `npm run lint`\n- Automatic fix if possible: `npm run lint:fix`\n","funding_links":["https://github.com/sponsors/supabase"],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fstorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Fstorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Fstorage/lists"}