integrate-uppy-transloadit-s3-uploading-to-nextjs
Installation
SKILL.md
Inputs
- Required env (server-only):
TRANSLOADIT_KEY,TRANSLOADIT_SECRET - Optional env:
TRANSLOADIT_TEMPLATE_ID(recommended once you create a template)
For local dev, put these in .env.local. Never expose TRANSLOADIT_SECRET to the browser.
Install
npm i @transloadit/utils @uppy/core @uppy/dashboard @uppy/transloadit
Implement (Golden Path)
Pick the root:
- If your project has
src/app, usesrc/app/... - Else use
app/...