Skip to content

Repository files navigation

DocVid

DocVid

Turn documentation into narrated, animated code lessons.

Paste a prompt or a docs URL → DocVid generates a step-by-step code lesson, writes a narration script, voices it with text-to-speech, and plays it back as an animated, synced code walkthrough you can watch or export as video.

Monorepo layout

A pnpm + Turborepo monorepo:

Every workspace lives under packages/* — deployables and libraries side by side:

docvid/
└── packages/
    ├── web/              # Next.js app (frontend + API routes), deployed via OpenNext to Cloudflare
    ├── ai-worker/        # Cloudflare Worker: lesson generation (Workers AI, Workflows, KV, R2)
    ├── payments-worker/  # Cloudflare Worker: Dodo Payments checkout + webhooks → D1 (later)
    └── shared/           # Shared TypeScript types and validation (library, not deployed)

D1 schema migrations live in db/migrations/ (added in Phase 2).

Getting started

pnpm install
pnpm dev        # run all dev servers
pnpm build      # build everything
pnpm typecheck  # typecheck all workspaces

Conventions

License

Licensed under the Apache License 2.0.

About

DocVid turns documentation into narrated and animated coding lessons.

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages