[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3584":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":16,"starSnapshotCount":16,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},3584,"uppy","transloadit\u002Fuppy","transloadit","The next open source file uploader for web browsers :dog: ","https:\u002F\u002Fuppy.io",null,"TypeScript",30818,2096,313,169,0,1,14,65,12,44.96,"MIT License",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,7,38,39,5,40],"dropbox","encoding","file-uploader","file-uploads","files","instagram","javascript","mit","modular","open-source","pick-files","resumable","tus","uploader","webbrowser","2026-06-12 02:00:51","# [Uppy](https:\u002F\u002Fuppy.io) [![uppy on npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fuppy.svg?style=flat-square)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fuppy)\n\n\u003Cimg src=\"https:\u002F\u002Fuppy.io\u002Fimg\u002Flogo.svg\" width=\"120\" alt=\"Uppy logo: a smiling puppy above a pink upwards arrow\" align=\"right\">\n\nUppy is a sleek, modular JavaScript file uploader that integrates seamlessly\nwith any application. It’s fast, has a comprehensible API and lets you worry\nabout more important problems than building a file uploader.\n\n- **Fetch** files from local disk, remote URLs, Google Drive, Dropbox, Box,\n  Instagram or snap and record selfies with a camera\n- **Preview** and edit metadata with a nice interface\n- **Upload** to the final destination, optionally process\u002Fencode\n\n\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fraw\u002Fmain\u002Fassets\u002Fuppy-2-0-demo-aug-2021.gif\">\n\n**[Read the docs](https:\u002F\u002Fuppy.io\u002Fdocs)** |\n**[Try Uppy](https:\u002F\u002Fuppy.io\u002Fexamples\u002Fdashboard\u002F)**\n\n\u003Cp>\n  \u003Ca href=\"https:\u002F\u002Ftransloadit.com\" target=\"_blank\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fassets\u002F375537\u002F6651e57e-cb57-4336-8745-6473ae68d0bd\">\n      \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fassets\u002F375537\u002F7f14421d-1e37-464e-8203-ade121216c88\">\n      \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fassets\u002F375537\u002F7f14421d-1e37-464e-8203-ade121216c88\" alt=\"Developed by Transloadit\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\nUppy is being developed by the folks at [Transloadit](https:\u002F\u002Ftransloadit.com),\na versatile API to handle any file in your app.\n\n\u003Ctable>\n\u003Ctr>\u003Cth>Tests\u003C\u002Fth>\u003Ctd>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fworkflows\u002FCI\u002Fbadge.svg\" alt=\"CI status for Uppy tests\">\u003C\u002Ftd>\u003Ctd>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fworkflows\u002FCompanion\u002Fbadge.svg\" alt=\"CI status for Companion tests\">\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Cth>Deploys\u003C\u002Fth>\u003Ctd>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fworkflows\u002FRelease\u002Fbadge.svg\" alt=\"CI status for CDN deployment\">\u003C\u002Ftd>\u003Ctd>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fworkflows\u002FCompanion%20Edge%20Deploy\u002Fbadge.svg\" alt=\"CI status for Companion deployment\">\u003C\u002Ftd>\u003Ctd>\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy.io\u002Fworkflows\u002FDeploy%20to%20GitHub%20Pages\u002Fbadge.svg\" alt=\"CI status for website deployment\">\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Example\n\nCode used in the above example:\n\n```js\nimport Uppy from '@uppy\u002Fcore'\nimport Dashboard from '@uppy\u002Fdashboard'\nimport RemoteSources from '@uppy\u002Fremote-sources'\nimport ImageEditor from '@uppy\u002Fimage-editor'\nimport Webcam from '@uppy\u002Fwebcam'\nimport Tus from '@uppy\u002Ftus'\n\nconst uppy = new Uppy()\n  .use(Dashboard, { trigger: '#select-files' })\n  .use(RemoteSources, { companionUrl: 'https:\u002F\u002Fcompanion.uppy.io' })\n  .use(Webcam)\n  .use(ImageEditor)\n  .use(Tus, { endpoint: 'https:\u002F\u002Ftusd.tusdemo.net\u002Ffiles\u002F' })\n  .on('complete', (result) => {\n    console.log('Upload result:', result)\n  })\n```\n\n**[Try it online](https:\u002F\u002Fuppy.io\u002Fexamples\u002Fdashboard\u002F)** or\n**[read the docs](https:\u002F\u002Fuppy.io\u002Fdocs)** for more details on how to use Uppy\nand its plugins.\n\n## Integrations\n\nUppy has first-class support for plain JS\u002FHTML,\n[React](https:\u002F\u002Fuppy.io\u002Fdocs\u002Freact\u002F), [Svelte](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fsvelte\u002F),\n[Vue](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fvue\u002F), and [Angular](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fangular\u002F).\n\nFor the supported frameworks (except Angular) Uppy offers three ways to build user interfaces:\n\n1. **Pre-composed, plug-and-play components.** Mainly `\u003CDashboard \u002F>`.\n   The downside is that you can’t customize the UI.\n2. **Headless components.** Smaller components, easier to override the styles\n   or compose them together with your own components.\n3. **Hooks.** Attach our logic to your own components, no restrictions, create a\n   tailor-made UI.\n\n\n## Features\n\n- Lightweight, modular plugin-based architecture, light on dependencies :zap:\n- Resumable file uploads via the open [tus](https:\u002F\u002Ftus.io\u002F) standard, so large\n  uploads survive network hiccups\n- Supports picking files from: Webcam, Dropbox, Box, Google Drive, Instagram,\n  bypassing the user’s device where possible, syncing between servers directly\n  via [@uppy\u002Fcompanion](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fcompanion)\n- Works great with file encoding and processing backends, such as\n  [Transloadit](https:\u002F\u002Ftransloadit.com), works great without (all you need is\n  to roll your own Apache\u002FNginx\u002FNode\u002FFFmpeg\u002Fetc backend)\n- Sleek user interface :sparkles:\n- Optional file recovery (after a browser crash) with\n  [Golden Retriever](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fgolden-retriever\u002F)\n- Speaks several languages (i18n) :earth_africa:\n- Built with accessibility in mind\n- Free for the world, forever (as in beer 🍺, pizza 🍕, and liberty 🗽)\n- Cute as a puppy, also accepts cat pictures :dog:\n\n## Installation\n\n```bash\nnpm install @uppy\u002Fcore @uppy\u002Fdashboard @uppy\u002Ftus\n```\n\nAdd CSS\n[uppy.min.css](https:\u002F\u002Freleases.transloadit.com\u002Fuppy\u002Fv5.2.4\u002Fuppy.min.css),\neither to your HTML page’s `\u003Chead>` or include in JS, if your bundler of choice\nsupports it.\n\nAlternatively, you can also use a pre-built bundle from Transloadit’s CDN: Smart\nCDN. In that case `Uppy` will attach itself to the global `window.Uppy` object.\n\n> ⚠️ The bundle consists of most Uppy plugins, so this method is not recommended\n> for production, as your users will have to download all plugins when you are\n> likely using only a few.\n\n```html\n\u003C!-- 1. Add CSS to `\u003Chead>` -->\n\u003Clink\n  href=\"https:\u002F\u002Freleases.transloadit.com\u002Fuppy\u002Fv5.2.4\u002Fuppy.min.css\"\n  rel=\"stylesheet\"\n\u002F>\n\n\u003C!-- 2. Initialize -->\n\u003Cdiv id=\"files-drag-drop\">\u003C\u002Fdiv>\n\u003Cscript type=\"module\">\n  import {\n    Uppy,\n    Dashboard,\n    Tus,\n  } from 'https:\u002F\u002Freleases.transloadit.com\u002Fuppy\u002Fv5.2.4\u002Fuppy.min.mjs'\n\n  const uppy = new Uppy()\n  uppy.use(Dashboard, { target: '#files-drag-drop' })\n  uppy.use(Tus, { endpoint: 'https:\u002F\u002Ftusd.tusdemo.net\u002Ffiles\u002F' })\n\u003C\u002Fscript>\n```\n\n## Documentation\n\n- [Uppy](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fuppy\u002F) — full list of options, methods and events\n- [Companion](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fcompanion\u002F) — setting up and running a\n  Companion instance, which adds support for Instagram, Dropbox, Box, Google\n  Drive and remote URLs\n- [React](https:\u002F\u002Fuppy.io\u002Fdocs\u002Freact\u002F) — components to integrate Uppy UI plugins\n  with React apps\n- [Architecture & Writing a Plugin](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fwriting-plugins\u002F) — how\n  to write a plugin for Uppy\n\n## Plugins\n\n### UI Elements\n\n- [`Dashboard`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fdashboard\u002F) — universal UI with previews,\n  progress bars, metadata editor and all the cool stuff. Required for most UI\n  plugins like Webcam and Instagram\n- Headless components ([react](https:\u002F\u002Fuppy.io\u002Fdocs\u002Freact\u002F), [svelte](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fsvelte\u002F), [vue](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fvue\u002F))\n\n### Sources\n\n- [`Drag & Drop`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fdrag-drop\u002F) — plain drag and drop area\n- [`File Input`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Ffile-input\u002F) — even plainer “select files”\n  button\n- [`Webcam`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fwebcam\u002F) — snap and record those selfies 📷\n- ⓒ [`Google Drive`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fgoogle-drive\u002F) — import files from\n  Google Drive\n- ⓒ [`Dropbox`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fdropbox\u002F) — import files from Dropbox\n- ⓒ [`Box`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fbox\u002F) — import files from Box\n- ⓒ [`Instagram`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Finstagram\u002F) — import images and videos\n  from Instagram\n- ⓒ [`Facebook`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Ffacebook\u002F) — import images and videos from\n  Facebook\n- ⓒ [`OneDrive`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fonedrive\u002F) — import files from Microsoft\n  OneDrive\n- ⓒ [`Import From URL`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Furl\u002F) — import direct URLs from\n  anywhere on the web\n\nThe ⓒ mark means that [`@uppy\u002Fcompanion`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fcompanion), a\nserver-side component, is needed for a plugin to work.\n\n### Destinations\n\n- [`Tus`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Ftus\u002F) — resumable uploads via the open\n  [tus](http:\u002F\u002Ftus.io) standard\n- [`XHR Upload`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fxhr-upload\u002F) — regular uploads for any\n  backend out there (like Apache, Nginx)\n- [`AWS S3`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Faws-s3\u002F) — plain upload to AWS S3 or\n  compatible services\n\n### File Processing\n\n- [`Transloadit`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Ftransloadit\u002F) — support for\n  [Transloadit](http:\u002F\u002Ftransloadit.com)’s robust file uploading and encoding\n  backend\n\n### Miscellaneous\n\n- [`Golden Retriever`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fgolden-retriever\u002F) — restores files\n  after a browser crash, like it’s nothing\n- [`Thumbnail Generator`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fthumbnail-generator\u002F) — generates\n  image previews (included by default with `Dashboard`)\n- [`Form`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fform\u002F) — collects metadata from `\u003Cform>` right\n  before an Uppy upload, then optionally appends results back to the form\n\n## Browser Support\n\nWe aim to support recent versions of Chrome, Firefox, and Safari.\n\n## FAQ\n\n### Why not use `\u003Cinput type=\"file\">`?\n\nHaving no JavaScript beats having a lot of it, so that’s a fair question!\nRunning an uploading & encoding business for ten years though we found that in\ncases, the file input leaves some to be desired:\n\n- We received complaints about broken uploads and found that resumable uploads\n  are important, especially for big files and to be inclusive towards people on\n  poorer connections (we also launched [tus.io](https:\u002F\u002Ftus.io) to attack that\n  problem). Uppy uploads can survive network outages and browser crashes or\n  accidental navigate-aways.\n- Uppy supports editing meta information before uploading.\n- Uppy allows cropping images before uploading.\n- There’s the situation where people are using their mobile devices and want to\n  upload on the go, but they have their picture on Instagram, files in Dropbox\n  or a plain file URL from anywhere on the open web. Uppy allows to pick files\n  from those and push it to the destination without downloading it to your\n  mobile device first.\n- Accurate upload progress reporting is an issue on many platforms.\n- Some file validation — size, type, number of files — can be done on the client\n  with Uppy.\n- Uppy integrates webcam support, in case your users want to upload a\n  picture\u002Fvideo\u002Faudio that does not exist yet :)\n- A larger drag and drop surface can be pleasant to work with. Some people also\n  like that you can control the styling, language, etc.\n- Uppy is aware of encoding backends. Often after an upload, the server needs to\n  rotate, detect faces, optimize for iPad, or what have you. Uppy can track\n  progress of this and report back to the user in different ways.\n- Sometimes you might want your uploads to happen while you continue to interact\n  on the same single page.\n\nNot all apps need all these features. An `\u003Cinput type=\"file\">` is fine in many\nsituations. But these were a few things that our customers hit \u002F asked about\nenough to spark us to develop Uppy.\n\n### Why is all this goodness free?\n\nTransloadit’s team is small and we have a shared ambition to make a living from\nopen source. By giving away projects like [tus.io](https:\u002F\u002Ftus.io) and\n[Uppy](https:\u002F\u002Fuppy.io), we’re hoping to advance the state of the art, make life\na tiny little bit better for everyone and in doing so have rewarding jobs and\nget some eyes on our commercial service:\n[a content ingestion & processing platform](https:\u002F\u002Ftransloadit.com).\n\nOur thinking is that if only a fraction of our open source userbase can see the\nappeal of hosted versions straight from the source, that could already be enough\nto sustain our work. So far this is working out! We’re able to dedicate 80% of\nour time to open source and haven’t gone bankrupt yet. :D\n\n### Does Uppy support S3 uploads?\n\nYes, please check out the [docs](https:\u002F\u002Fuppy.io\u002Fdocs\u002Faws-s3\u002F) for more\ninformation.\n\n### Can I use Uppy with Rails\u002FNode.js\u002FGo\u002FPHP?\n\nYes, whatever you want on the backend will work with `@uppy\u002Fxhr-upload` plugin,\nsince it only does a `POST` or `PUT` request. Here’s a\n[PHP backend example](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fxhr-upload\u002F#Uploading-to-a-PHP-Server).\n\nIf you want resumability with the Tus plugin, use\n[one of the tus server implementations](https:\u002F\u002Ftus.io\u002Fimplementations.html) 👌🏼\n\nAnd you’ll need [`@uppy\u002Fcompanion`](https:\u002F\u002Fuppy.io\u002Fdocs\u002Fcompanion) if you’d\nlike your users to be able to pick files from Instagram, Google Drive, Dropbox\nor via direct URLs (with more services coming).\n\n## Contributions are welcome\n\n- Contributor’s guide in [`.github\u002FCONTRIBUTING.md`](.github\u002FCONTRIBUTING.md)\n- Changelog to track our release progress (we aim to roll out a release every\n  month): [`CHANGELOG.md`](CHANGELOG.md)\n\n## Used by\n\nUppy is used by: [Photobox](http:\u002F\u002Fphotobox.com), [Issuu](https:\u002F\u002Fissuu.com\u002F),\n[Law Insider](https:\u002F\u002Flawinsider.com), [Cool Tabs](https:\u002F\u002Fcool-tabs.com),\n[Soundoff](https:\u002F\u002Fsoundoff.io), [Scrumi](https:\u002F\u002Fwww.scrumi.io\u002F),\n[Crive](https:\u002F\u002Fcrive.co\u002F) and others.\n\nUse Uppy in your project?\n[Let us know](https:\u002F\u002Fgithub.com\u002Ftransloadit\u002Fuppy\u002Fissues\u002F769)!\n\n## Contributors\n\n![contributors table](https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=transloadit\u002Fuppy)\n\n## License\n\nThe [MIT License](.\u002FLICENSE).\n","Uppy 是一个开源的、模块化的JavaScript文件上传工具，适用于网页浏览器。它支持从本地磁盘、远程URL、Google Drive、Dropbox等多种来源获取文件，并提供预览和编辑元数据的功能，同时支持将文件上传到指定目的地，可选地进行处理或编码。Uppy使用TypeScript编写，具备灵活的插件系统和易于理解的API接口，使得开发者能够快速集成文件上传功能至任何应用中。该工具特别适合需要高效、可靠的文件上传解决方案的Web项目。",2,"2026-06-11 02:54:47","top_language"]