CodeCanyon package layout
When you download Streamly from CodeCanyon and extract the ZIP:streamly-1.0.1/ # Outer package root (ZIP)
├── documentation/ # Offline Mintlify docs + PDF
├── install-guide.txt # Condensed install steps
├── LICENSE.txt # Envato Market license summary
├── README-FIRST.txt # Start here on disk
└── streamly/ # Application source (open terminal HERE)

Package root after extract — documentation, guides, and the streamly/ app folder.
| Path | What it is |
|---|---|
README-FIRST.txt | Requirements, official links, unpack → install |
install-guide.txt | Step checklist + common errors |
documentation/ | Offline Mintlify docs (prefer online docs) |
streamly/ | Full Next.js app — admin, storefront, APIs, migrations |
Application source tree
Inside thestreamly/ folder:
streamly/
├── app/
│ ├── (viewer)/ # Storefront routes (home, browse, watch, live, …)
│ ├── (landing)/ # Marketing / legal variants
│ ├── site/ # Platform marketing rewrite targets
│ ├── admin/ # Operator console (/admin)
│ ├── dashboard/ # Brand-owner console
│ ├── api/ # v1, operator, admin, webhooks, internal jobs
│ ├── login/ · signup/ # Viewer auth entry
│ └── layout.tsx # data-storefront-theme on <html>
├── themes/<id>/ # Streamly / Streamlix / StreamTube packages
├── addons/ # Streaming source packages
├── plugins/ # Platform integrations (payments, video, ads, …)
├── components/
│ ├── admin/ · operator/ # Dashboard UI
│ ├── viewer/ · landing/ # Storefront chrome + templates
│ └── ui/ # Shared primitives
├── lib/
│ ├── branding/ # Theme catalog, presets, apply, preview
│ ├── landing/ # Skins, shells, legal markdown
│ ├── operator/ # Nav, platform settings, login
│ ├── streamly/ # Tenant context, catalog, playback
│ └── supabase/ # Auth scopes, clients
├── supabase/migrations/ # Ordered SQL (run in filename order — no schema.sql)
├── content/legal/ # Legal markdown (bundled for Workers)
├── messages/ # i18n catalogs
├── public/ # Static assets
├── scripts/ # Maintenance / capture helpers
├── tests/ # Vitest suite
├── wrangler.jsonc # Cloudflare Worker config
├── open-next.config.ts
├── custom-worker.ts
├── Dockerfile
├── DEPLOYMENT.md # Node / Docker / Cloudflare notes
├── README.md
├── .env.example # Copy → .env.local (local only)
└── .dev.vars.example # Wrangler local secrets template
Key folders for buyers
| Folder | You use it to… |
|---|---|
supabase/migrations/ | Install the database (SQL Editor, numeric order) |
themes/ | Understand / extend storefront skins |
plugins/ | See which integrations ship and their manifests |
addons/ | Streaming source packs for Catalog → Sources |
app/admin/ | Operator UI routes |
app/(viewer)/ | Public OTT routes |
DEPLOYMENT.md / .env.example | Deploy + configure secrets |
Key files
| File / folder | Purpose |
|---|---|
lib/operator/nav.ts | Admin sidebar |
lib/branding/theme-presets.ts | Per-theme Brand & Experience presets |
lib/landing/storefront-skin.ts | pageShell / chrome tokens |
lib/landing/legal-markdown.ts | Workers-safe legal imports |
themes/README.md | Theme package rules |
plugins/README.md | Plugin packaging notes |
addons/README.md | Addon packaging notes |
DEPLOYMENT.md | Node / Docker / Cloudflare deploy |