{"id":13810099,"url":"https://github.com/sadmann7/file-uploader","last_synced_at":"2025-10-30T21:29:30.920Z","repository":{"id":231952068,"uuid":"783101258","full_name":"sadmann7/file-uploader","owner":"sadmann7","description":"File uploader built with shadcn/ui and react-dropzone.","archived":false,"fork":false,"pushed_at":"2025-04-13T15:02:59.000Z","size":1194,"stargazers_count":1179,"open_issues_count":4,"forks_count":79,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T20:39:10.787Z","etag":null,"topics":["dropzone","shadcnui","uploader","uploadthing"],"latest_commit_sha":null,"homepage":"https://diceui.com/docs/components/file-upload","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sadmann7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-07T00:10:36.000Z","updated_at":"2025-04-13T16:30:51.000Z","dependencies_parsed_at":"2024-11-07T03:22:22.915Z","dependency_job_id":"8bb457da-bb5e-4f03-a39c-f6798e5e3765","html_url":"https://github.com/sadmann7/file-uploader","commit_stats":{"total_commits":317,"total_committers":3,"mean_commits":"105.66666666666667","dds":"0.10094637223974767","last_synced_commit":"ae31895f8f0495ade879e195666b594a37d87aeb"},"previous_names":["sadmann7/file-uploader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmann7%2Ffile-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmann7%2Ffile-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmann7%2Ffile-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadmann7%2Ffile-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadmann7","download_url":"https://codeload.github.com/sadmann7/file-uploader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254243353,"owners_count":22038044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dropzone","shadcnui","uploader","uploadthing"],"created_at":"2024-08-04T02:00:45.494Z","updated_at":"2025-10-30T21:29:30.810Z","avatar_url":"https://github.com/sadmann7.png","language":"TypeScript","funding_links":[],"categories":["Libs and Components","TypeScript","Components","一、核心组件与扩展库","Components \u0026 Libraries"],"sub_categories":["4. 媒体与编辑器"],"readme":"# [File Uploader](https://uploader.sadmn.com)\n\nThis is a file uploader built with `shadcn/ui`, and `react-dropzone`. It is bootstrapped with `create-t3-app`.\n\n[![File Uploader](./public/images/screenshot.png)](https://uploader.sadmn.com)\n\n## Tech Stack\n\n- **Framework:** [Next.js](https://nextjs.org)\n- **Styling:** [Tailwind CSS](https://tailwindcss.com)\n- **UI Components:** [shadcn/ui](https://ui.shadcn.com)\n- **DND Uploader:** [react-dropzone](https://react-dropzone.js.org/)\n- **Storage:** [uploadthing](https://uploadthing.com)\n- **Validation:** [Zod](https://zod.dev)\n\n## Features\n\n- [x] Reusable `useFileUpload` hook for uploading files with `uploadthing`\n- [x] Drag and drop file upload component with progress bar\n- [x] React-hook-form integration with `shadnc/ui` form components\n- [x] File dialog demo with adding and removing files from the scrollable list\n\n## Running Locally\n\n1. Clone the repository\n\n   ```bash\n   git clone https://github.com/sadmann7/file-uploader\n   ```\n\n2. Install dependencies using pnpm\n\n   ```bash\n   pnpm install\n   ```\n\n3. Copy the `.env.example` to `.env` and update the variables.\n\n   ```bash\n   cp .env.example .env\n   ```\n\n4. Start the development server\n\n   ```bash\n   pnpm run dev\n   ```\n\n## How do I deploy this?\n\nFollow the deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmann7%2Ffile-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadmann7%2Ffile-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadmann7%2Ffile-uploader/lists"}