{"id":20122137,"url":"https://github.com/alijahanpak/handy-uploader","last_synced_at":"2026-01-25T15:07:04.034Z","repository":{"id":41614374,"uuid":"275256013","full_name":"alijahanpak/handy-uploader","owner":"alijahanpak","description":"Handy Uploader is a responsive Vue.js file uploader and file viewer with an image compressor. It offers three display options (simple / thumbnail / table).","archived":false,"fork":false,"pushed_at":"2026-01-17T18:27:15.000Z","size":2224,"stargazers_count":70,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-18T02:41:23.620Z","etag":null,"topics":["component","compressor","file","fileuploader","nuxt","vue","vuecli","vuetify"],"latest_commit_sha":null,"homepage":"","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/alijahanpak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-26T22:06:23.000Z","updated_at":"2026-01-18T01:03:17.000Z","dependencies_parsed_at":"2024-06-21T12:59:25.489Z","dependency_job_id":"43d1cc0b-3ef8-460b-b41f-11c5d0c75bf5","html_url":"https://github.com/alijahanpak/handy-uploader","commit_stats":{"total_commits":43,"total_committers":3,"mean_commits":"14.333333333333334","dds":0.5116279069767442,"last_synced_commit":"29b66df0380c8fd30916ea5adc6058adfd008a6b"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/alijahanpak/handy-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alijahanpak%2Fhandy-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alijahanpak%2Fhandy-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alijahanpak%2Fhandy-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alijahanpak%2Fhandy-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alijahanpak","download_url":"https://codeload.github.com/alijahanpak/handy-uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alijahanpak%2Fhandy-uploader/sbom","scorecard":{"id":184156,"data":{"date":"2025-08-11","repo":{"name":"github.com/alijahanpak/handy-uploader","commit":"29b66df0380c8fd30916ea5adc6058adfd008a6b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 17 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"49 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-c2jc-4fpr-4vhg","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-5j4c-8p2g-v4jx","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T19:27:29.065Z","repository_id":41614374,"created_at":"2025-08-16T19:27:29.065Z","updated_at":"2025-08-16T19:27:29.065Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["component","compressor","file","fileuploader","nuxt","vue","vuecli","vuetify"],"created_at":"2024-11-13T19:35:14.780Z","updated_at":"2026-01-25T15:07:04.028Z","avatar_url":"https://github.com/alijahanpak.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Handy Uploader\n\n[![npm version](https://badge.fury.io/js/handy-uploader.svg)](https://badge.fury.io/js/handy-uploader)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Vue 3](https://img.shields.io/badge/Vue-3.x-4FC08D.svg)](https://vuejs.org/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)\n\n## 🚀 [Live Demo](https://illustrious-griffin-257b43.netlify.app)\n\nA comprehensive Vue 3 file uploader component library with advanced features including **automatic video thumbnail generation**, multiple upload styles, and extensive file type support.\n\n## ✨ Key Features\n\n### 🎥 **Video Thumbnail Generation**\n- **Automatic thumbnail extraction** from video files using Canvas API\n- Support for **MP4, AVI, MOV, WMV, FLV, WebM** formats\n- Real-time thumbnail display with play button overlay\n- No external dependencies required\n\n### 📁 **Comprehensive File Support**\n- **Images**: JPG, JPEG, PNG, GIF, BMP, SVG, WebP, TIFF\n- **Videos**: MP4, AVI, MOV, WMV, FLV, WebM\n- **Documents**: PDF, DOC, DOCX, TXT, RTF, ODT\n- **Spreadsheets**: XLS, XLSX, CSV, ODS\n- **Presentations**: PPT, PPTX, ODP\n- **Archives**: ZIP, RAR, 7Z, TAR, GZ\n- **Audio**: MP3, WAV, FLAC, AAC, OGG\n\n### 🎨 **Multiple Upload Styles**\n- **ThumbnailUploader**: Grid-based layout with file previews\n- **TableUploader**: Table-based layout for detailed file information\n- **SimpleUploader**: Minimalist drag-and-drop interface\n\n### 🌍 **Internationalization**\n- **8 languages**: English, Chinese, Spanish, French, German, Japanese, Korean, Arabic\n- RTL support for Arabic\n- Easy language switching\n\n## 📦 Installation\n\n```bash\nnpm install handy-uploader\n```\n\n```bash\nyarn add handy-uploader\n```\n\n```bash\npnpm add handy-uploader\n```\n\n## 🚀 Quick Start\n\n### 1. Install Dependencies\n\nMake sure you have the required peer dependencies:\n\n```bash\nnpm install vue@^3.0.0 vuetify@^3.0.0\n```\n\n### 2. Import and Use\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003c!-- Thumbnail Uploader with Video Support --\u003e\n    \u003cThumbnailUploader\n      :max-file-size=\"10485760\"\n      :max-file-count=\"5\"\n      :accepted-file-types=\"['image/*', 'video/*']\"\n      :language=\"'en'\"\n      @files-selected=\"handleFilesSelected\"\n    /\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript setup lang=\"ts\"\u003e\nimport { ThumbnailUploader } from 'handy-uploader'\nimport type { FileData } from 'handy-uploader'\n\nconst handleFilesSelected = (files: FileData[]) =\u003e {\n  console.log('Selected files:', files)\n  // Each file includes base64 data and video thumbnails are auto-generated\n}\n\u003c/script\u003e\n```\n\n### 3. Setup Vuetify (Required)\n\n```typescript\n// main.ts\nimport { createApp } from 'vue'\nimport { createVuetify } from 'vuetify'\nimport 'vuetify/styles'\nimport '@mdi/font/css/materialdesignicons.css'\n\nconst vuetify = createVuetify()\nconst app = createApp(App)\n\napp.use(vuetify)\napp.mount('#app')\n```\n\n## 📖 Component Usage\n\n### ThumbnailUploader (Recommended)\n\nPerfect for media files with automatic video thumbnail generation:\n\n```vue\n\u003ctemplate\u003e\n  \u003cThumbnailUploader\n    :max-file-size=\"52428800\"\n    :max-file-count=\"10\"\n    :accepted-file-types=\"['image/*', 'video/*', 'application/pdf']\"\n    :language=\"'en'\"\n    :theme=\"'light'\"\n    @files-selected=\"onFilesSelected\"\n    @file-removed=\"onFileRemoved\"\n    @error=\"onError\"\n  /\u003e\n\u003c/template\u003e\n\n\u003cscript setup\u003e\nimport { ThumbnailUploader } from 'handy-uploader'\n\nconst onFilesSelected = (files) =\u003e {\n  // Video files will have thumbnails automatically generated\n  files.forEach(file =\u003e {\n    if (file.type === 'video') {\n      console.log('Video thumbnail:', file.thumbnail) // Base64 thumbnail\n    }\n  })\n}\n\u003c/script\u003e\n```\n\n### TableUploader\n\nGreat for document management with detailed file information:\n\n```vue\n\u003ctemplate\u003e\n  \u003cTableUploader\n    :max-file-size=\"104857600\"\n    :max-file-count=\"20\"\n    :language=\"'en'\"\n    @files-selected=\"handleFiles\"\n  /\u003e\n\u003c/template\u003e\n```\n\n### SimpleUploader\n\nMinimal drag-and-drop interface:\n\n```vue\n\u003ctemplate\u003e\n  \u003cSimpleUploader\n    :max-file-size=\"5242880\"\n    :accepted-file-types=\"['image/*']\"\n    @files-selected=\"handleImages\"\n  /\u003e\n\u003c/template\u003e\n```\n\n## ⚙️ API Reference\n\n### Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `maxFileSize` | `number` | `10485760` | Maximum file size in bytes (10MB) |\n| `maxFileCount` | `number` | `5` | Maximum number of files |\n| `acceptedFileTypes` | `string[]` | `['*']` | Accepted MIME types |\n| `language` | `string` | `'en'` | Language code |\n| `theme` | `string` | `'light'` | Theme variant |\n\n### Events\n\n| Event | Payload | Description |\n|-------|---------|-------------|\n| `files-selected` | `FileData[]` | Emitted when files are selected |\n| `file-removed` | `FileData` | Emitted when a file is removed |\n| `error` | `Error` | Emitted on errors |\n\n### FileData Interface\n\n```typescript\ninterface FileData {\n  id: string\n  name: string\n  size: number\n  type: string\n  format: string\n  base64?: string\n  thumbnail?: string  // Auto-generated for videos\n  lastModified: number\n}\n```\n\n## 🎯 Advanced Features\n\n### Video Thumbnail Generation\n\nThe library automatically generates thumbnails for video files:\n\n```javascript\n// Thumbnails are generated automatically\nconst videoFile = {\n  name: 'video.mp4',\n  type: 'video',\n  thumbnail: 'data:image/jpeg;base64,/9j/4AAQ...' // Auto-generated\n}\n```\n\n### File Type Detection\n\nAutomatic file type detection and icon assignment:\n\n```javascript\n// Automatic type detection\nconst file = {\n  name: 'document.pdf',\n  type: 'document',  // Auto-detected\n  icon: 'mdi-file-pdf-box',  // Auto-assigned\n  color: 'red'  // Auto-assigned\n}\n```\n\n### Image Compression\n\nBuilt-in image compression for large files:\n\n```vue\n\u003cThumbnailUploader\n  :compress-images=\"true\"\n  :compression-quality=\"0.8\"\n  :max-width=\"1920\"\n  :max-height=\"1080\"\n/\u003e\n```\n\n## 🌍 Internationalization\n\nSupported languages:\n\n```javascript\nconst languages = [\n  'en', // English\n  'zh', // Chinese\n  'es', // Spanish\n  'fr', // French\n  'de', // German\n  'ja', // Japanese\n  'ko', // Korean\n  'ar'  // Arabic (RTL)\n]\n```\n\n## 🛠️ Technical Requirements\n\n### Peer Dependencies\n- **Vue**: ^3.0.0\n- **Vuetify**: ^3.0.0\n\n### Browser Support\n- Chrome 88+\n- Firefox 85+\n- Safari 14+\n- Edge 88+\n\n### Bundle Size\n- **Gzipped**: ~45KB\n- **Minified**: ~120KB\n\n## 🎨 Customization\n\n### Theming\n\nWorks with Vuetify's theming system:\n\n```javascript\n// vuetify.config.js\nexport default createVuetify({\n  theme: {\n    themes: {\n      light: {\n        primary: '#1976D2',\n        secondary: '#424242',\n        // Custom theme colors\n      }\n    }\n  }\n})\n```\n\n### Custom Styling\n\n```vue\n\u003cstyle scoped\u003e\n.handy-uploader {\n  --uploader-border-radius: 12px;\n  --uploader-primary-color: #1976D2;\n  --uploader-background: #f5f5f5;\n}\n\u003c/style\u003e\n```\n\n## 📝 Examples\n\n### Complete Example with All Features\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv class=\"uploader-container\"\u003e\n    \u003ch2\u003eFile Upload with Video Thumbnails\u003c/h2\u003e\n    \n    \u003cThumbnailUploader\n      :max-file-size=\"52428800\"\n      :max-file-count=\"10\"\n      :accepted-file-types=\"['image/*', 'video/*', 'application/pdf']\"\n      :language=\"currentLanguage\"\n      :theme=\"isDark ? 'dark' : 'light'\"\n      :compress-images=\"true\"\n      :compression-quality=\"0.8\"\n      @files-selected=\"handleFilesSelected\"\n      @file-removed=\"handleFileRemoved\"\n      @error=\"handleError\"\n    /\u003e\n    \n    \u003c!-- Display selected files --\u003e\n    \u003cdiv v-if=\"selectedFiles.length\" class=\"mt-4\"\u003e\n      \u003ch3\u003eSelected Files:\u003c/h3\u003e\n      \u003cdiv v-for=\"file in selectedFiles\" :key=\"file.id\" class=\"file-item\"\u003e\n        \u003cimg v-if=\"file.thumbnail\" :src=\"file.thumbnail\" alt=\"Thumbnail\" width=\"100\" /\u003e\n        \u003cspan\u003e{{ file.name }} ({{ formatFileSize(file.size) }})\u003c/span\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript setup lang=\"ts\"\u003e\nimport { ref } from 'vue'\nimport { ThumbnailUploader, type FileData } from 'handy-uploader'\n\nconst selectedFiles = ref\u003cFileData[]\u003e([])\nconst currentLanguage = ref('en')\nconst isDark = ref(false)\n\nconst handleFilesSelected = (files: FileData[]) =\u003e {\n  selectedFiles.value = files\n  console.log('Files with thumbnails:', files)\n}\n\nconst handleFileRemoved = (file: FileData) =\u003e {\n  console.log('File removed:', file.name)\n}\n\nconst handleError = (error: Error) =\u003e {\n  console.error('Upload error:', error)\n}\n\nconst formatFileSize = (bytes: number) =\u003e {\n  return bytes \u003e 1024 * 1024 \n    ? `${(bytes / 1024 / 1024).toFixed(2)} MB`\n    : `${(bytes / 1024).toFixed(2)} KB`\n}\n\u003c/script\u003e\n```\n\n## 🤝 Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🔗 Links\n\n- [GitHub Repository](https://github.com/alijahanpak/vue-file-uploader)\n- [npm Package](https://www.npmjs.com/package/handy-uploader)\n- [Documentation](https://github.com/alijahanpak/vue-file-uploader#readme)\n- [Issues](https://github.com/alijahanpak/vue-file-uploader/issues)\n\n## 📊 Stats\n\n![npm downloads](https://img.shields.io/npm/dm/handy-uploader.svg)\n![GitHub stars](https://img.shields.io/github/stars/alijahanpak/handy-uploader.svg)\n![GitHub issues](https://img.shields.io/github/issues/alijahanpak/handy-uploader.svg)\n\n---\n\n**Made with ❤️ for the Vue.js community**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falijahanpak%2Fhandy-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falijahanpak%2Fhandy-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falijahanpak%2Fhandy-uploader/lists"}