create-uploadkit-app
v0.1.0
Published
Scaffold a new project with UploadKit — beautiful, type-safe file uploads in minutes.
Maintainers
Readme
create-uploadkit-app
Scaffold a brand-new UploadKit project — beautiful, type-safe file uploads in minutes.
Already have a project? This CLI is for new projects. To add UploadKit to an existing app, run
pnpm add @uploadkitdev/react @uploadkitdev/nextand follow the Quickstart.
30-second start
npx create-uploadkit-app my-appIt asks two questions (template + package manager), wires up a working upload page, initializes git, and installs dependencies. That's it.
Other package managers:
pnpm create uploadkit-app my-app
yarn create uploadkit-app my-app
bun create uploadkit-app my-appTemplates
| Template | Framework | What you get |
|----------|-----------|--------------|
| next | Next.js 16 App Router + Tailwind v4 | Route handler at app/api/uploadkit/[...uploadkit]/route.ts, UploadKitProvider in the root layout, <UploadDropzone> on /. |
| sveltekit | SvelteKit + Svelte 5 | Presigned-URL endpoint + single upload page. |
| remix | React Router v7 (framework mode) | Route handler + managed-mode upload page. |
| vite | Vite SPA + React 19 | BYOS demo with a minimal backend stub. |
Every template ships a single working upload page — no auth, no DB, no Docker. Add what you need.
Flags
| Flag | Description |
|------|-------------|
| --template <id> / -t | One of next, sveltekit, remix, vite. |
| --pm <name> | One of pnpm, npm, yarn, bun. |
| --yes / -y | Accept all defaults non-interactively. |
| --no-install | Skip dependency install. |
| --no-git | Skip git init and initial commit. |
| --force | Scaffold into a non-empty target directory. |
| --version / -v | Print version. |
| --help / -h | Print help. |
Non-interactive example
npx create-uploadkit-app my-app --template next --pm pnpm --yesRequirements
Node.js >=20.
Full docs
Full reference with per-template details and troubleshooting: docs.uploadkit.dev/docs/guides/cli.
License
MIT © Drumst0ck
