Core Concepts
Cubby is designed to be simple, but here are the key concepts to understand.Apps
An app is a deployed project. Each app gets:- A unique URL:
<app-name>--<username>.cubby.pro - Cubby SSO in front of every request
- A SQLite database by default, or Neon Postgres on Builder/Pro when selected
- An isolated container
- TLS handled by the platform
CUBBY.md
Every Cubby app should have aCUBBY.md file in its root. This file:
- Provides context to AI tools building your app
- Documents platform constraints
- Explains available APIs and patterns
cubby init, this file is created automatically.
Secrets
Environment variables are managed viacubby secrets. Secrets are:
- Encrypted at rest
- Injected at runtime
- Never exposed in logs
Sharing
Apps can be shared with other Cubby users. Shared users:- See the app in their dashboard
- Can access the app URL
- Cannot modify the app or its secrets