repowisesupabase-community/supabase-csharp

Architecture of supabase-community/supabase-csharp

supabase-community/supabase-csharp is 455 source files holding 4,220 symbols across 3 modules, written mainly in C#, Shell, TypeScript. The largest module is packages, with 425 files.

How supabase-csharp fits together

Application code starts from the unified client in packages/Supabase, which exposes the services as properties such as Auth, Storage, Realtime and Functions, plus a From method for database queries. Each service lives in its own package under packages/, including packages/Gotrue for authentication and packages/Postgrest for queries through the auto-generated REST API. Shared primitives used by those service packages sit in packages/Core, which is rarely referenced directly. Each package directory holds a library project and a test project, and metadata common to all projects is set in Directory.Build.props. Dependency versions are managed centrally in Directory.Packages.props, and the .NET SDK version is pinned in global.json. The clients emit traces and metrics through System.Diagnostics, so OpenTelemetry can subscribe to them without a direct dependency on its packages.

Largest modules

  • packages: 425 files and 23,967 lines of code
  • supabase: 9 files and 773 lines of code
  • root: 7 files and 1,332 lines of code
  • scripts: 5 files and 483 lines of code
  • .documentation: 3 files and 86 lines of code
  • .github: 3 files and 120 lines of code
  • docs: 2 files and 60 lines of code
  • .claude: 1 file and 87 lines of code

Languages

By file count: C# 392 files, Shell 5 files, TypeScript 2 files.

Documentation

Repowise documents supabase-csharp in 654 pages generated from the source.

More on supabase-csharp: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos