← All projects
07Planned Web TV Backend
Billing for users
Frequency
Podcasts and video behind plans, with sign-in on your TV.
Planned Web TV Backend
A media platform with free and paid tiers via Clerk Billing. The Python API signs media URLs only for valid sessions with the right plan. /tv is a ten-foot UI that signs in with the device flow.
This project is planned for M6. The page fills in as it ships.
What it shows
- Billing for usersHero featureRead the docs ↗
- Gating with has()Read the docs ↗
- OAuth Device Authorization GrantRead the docs ↗
- Verifying session tokens on the backendRead the docs ↗
Stack
- Next.js
- FastAPI
- Postgres
Run it locally
Clone just this example, copy the env file, and follow its README.
terminal
npx degit jibaru/buildwithclerk/examples/frequency frequency
cd frequency
cp .env.example .env
pnpm install && pnpm dev