BambooKit
Docs / Configuration
Reference

Configuration

Settings for running your own copy of BambooKit.

Values marked secret belong only in the API's server environment. Everything else is public and may be built into apps; never put a secret into an app or website setting. Use placeholders like the ones below; the full list is in the developer documentation.

API — environment

VariableSecretPurpose
SUPABASE_URLNoSupabase project URL (verifies email sign-ins)
SUPABASE_ANON_KEYNoOnly for older projects that sign tokens with a shared secret
FIREBASE_PROJECT_IDNoAccept Google (Firebase) sign-ins of this project
POSTGRES_URLYesDatabase; required on hosts whose disk is wiped on restart
DATABASE_PATHNoSQLite file for local use, default ./data/bambookit.db
CORS_ORIGINSNoAllowed browser origins, e.g. https://bambookit-web.onrender.com,http://localhost:3000
PUBLIC_SHARE_BASE_URLNoOrigin used in share links
CLOUDFLARE_ACCOUNT_ID, R2_BUCKET_NAMENoCloud storage location
R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEYYesCloud storage credentials
SESSION_SNAPSHOT_DAYSNoDays history copies are kept, default 7
SUPABASE_SERVICE_ROLE_KEYYesNeeded to delete email accounts
FIREBASE_API_KEYNoNeeded to delete Google accounts
Example
SUPABASE_URL=https://<your-project-ref>.supabase.co
POSTGRES_URL=postgresql://<user>:<password>@<host>:5432/postgres
R2_SECRET_ACCESS_KEY=<r2-secret>

Website — build time

VariablePurpose
NEXT_PUBLIC_API_URLAPI address, default https://bambookit-api.onrender.com
NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEYEmail sign-in
NEXT_PUBLIC_FIREBASE_API_KEY, NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN, NEXT_PUBLIC_FIREBASE_PROJECT_IDGoogle sign-in (all three, or the button is hidden)

Desktop — packages/desktop/.env.bambookit

VariablePurpose
BAMBOOKIT_API_URLAPI address; default https://bambookit-api.onrender.com (http://localhost:8080 for development builds)
BAMBOOKIT_SUPABASE_URL, BAMBOOKIT_SUPABASE_ANON_KEYEmail sign-in
BAMBOOKIT_FIREBASE_API_KEY, BAMBOOKIT_FIREBASE_PROJECT_ID, BAMBOOKIT_FIREBASE_AUTH_DOMAINGoogle sign-in

Android — local.properties

KeyPurpose
bambookit.supabaseUrl, bambookit.supabaseAnonKeySign-in
bambookit.apiUrl.releaseAPI for release builds, default the hosted API
bambookit.apiUrl.debugAPI for debug builds, e.g. http://127.0.0.1:8080 over USB

Release signing keys live outside the repository in ~/.gradle/gradle.properties.

Agent settings

Models, agents, MCP servers and permission rules are configured in Settings inside BambooKit Desktop and in the agent's configuration file.