MCPcopy Index your code
hub / github.com/HarryET/supa-manager

github.com/HarryET/supa-manager @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
112 symbols 274 edges 42 files 2 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SupaManager

A project by Harry Bairstow;

Manage self-hosted Supabase instances using the Supabase studio.


[!WARNING] The project is in active development and as such there are no docs for it, the best thing todo is wait for the project to become more stable. I am in the Supabase discord, however, the best way to reach me is via my discord server or twitter

This project is only an API that has to be used in conjunction with the Supabase Studio or another UI. It is a fully functioning API which is based on what Supabase us in production and have as a mock in the Studio project. Please read the guides - when they are available - for information on how to start Supabase's Studio using this as the API.

[!NOTE] We provide a way to patch a version of the Supabase Studio to use this API. Please refer to the studio folder for more information.

Licence

Copyright (C) 2024 Harry Bairstow

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Extension points exported contracts — how you extend this code

DBTX (Interface)
(no doc)
version-service/db.go
DBTX (Interface)
(no doc)
supa-manager/database/db.go

Core symbols most depended-on inside this repo

GetAccountFromRequest
called by 16
supa-manager/api/api.go
QueryRow
called by 12
supa-manager/database/db.go
Query
called by 6
supa-manager/database/db.go
GetProjectByRef
called by 5
supa-manager/database/projects.sql.go
Exec
called by 4
supa-manager/database/db.go
GetAccountByEmail
called by 2
supa-manager/database/accounts.sql.go
VerifySignature
called by 1
version-service/keys.go
LoadSSHKeys
called by 1
version-service/keys.go

Shape

Method 54
Struct 35
Function 20
Interface 2
TypeAlias 1

Languages

Go100%

Modules by API surface

supa-manager/api/api.go9 symbols
version-service/db.go7 symbols
supa-manager/database/db.go7 symbols
supa-manager/database/accounts.sql.go7 symbols
version-service/keys.go5 symbols
supa-manager/database/organizations.sql.go5 symbols
supa-manager/database/models.go5 symbols
supa-manager/conf/config.go5 symbols
version-service/queries.sql.go4 symbols
supa-manager/database/projects.sql.go4 symbols
supa-manager/database/migrations.sql.go4 symbols
version-service/config.go3 symbols

For agents

$ claude mcp add supa-manager \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact