{"id":23091107,"url":"https://github.com/joblocal/vue-bucket-loader","last_synced_at":"2025-08-16T08:33:08.487Z","repository":{"id":30521372,"uuid":"124395329","full_name":"joblocal/vue-bucket-loader","owner":"joblocal","description":"This repository contains a SSR compatible Vue component to upload and delete files from AWS S3","archived":false,"fork":false,"pushed_at":"2022-12-10T16:58:54.000Z","size":1604,"stargazers_count":9,"open_issues_count":23,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-08T18:24:10.131Z","etag":null,"topics":["aws","css","html","javascript","s3","ssr","vue","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joblocal.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-08T13:27:00.000Z","updated_at":"2021-09-21T20:26:50.000Z","dependencies_parsed_at":"2023-01-14T17:15:27.959Z","dependency_job_id":null,"html_url":"https://github.com/joblocal/vue-bucket-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joblocal/vue-bucket-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fvue-bucket-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fvue-bucket-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fvue-bucket-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fvue-bucket-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joblocal","download_url":"https://codeload.github.com/joblocal/vue-bucket-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fvue-bucket-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270686231,"owners_count":24628197,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","css","html","javascript","s3","ssr","vue","webpack"],"created_at":"2024-12-16T21:17:05.992Z","updated_at":"2025-08-16T08:33:08.223Z","avatar_url":"https://github.com/joblocal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Bucket Loader\n\n![Downloads](https://img.shields.io/npm/dt/@joblocal\\/vue-bucket-loader.svg)\n![Size](https://img.shields.io/bundlephobia/min/@joblocal\\/vue-bucket-loader.svg)\n![Zipped Size](https://img.shields.io/bundlephobia/minzip/@joblocal\\/vue-bucket-loader.svg)\n\nThis Project provides a SSR compatible vue component which can handle file upload / deleting directly to / from a AWS S3 Bucket.\n\n## Requirements\n- Yarn or npm\n- Vue 2.X.X\n\n## Installation\n\nUsing yarn:\n```sh\n$ yarn add @joblocal/vue-bucket-loader\n```\n\nUsing npm:\n\n```sh\n$ npm install @joblocal/vue-bucket-loader\n```\n\n### Usage\nAfter installing the package you can use it as follows.\n\n```javascript\n\u003ctemplate\u003e\n  \u003cVueBucketLoader\n    :signingUrl=\"http://localhost/your/endpoint/goes/here\"\n  /\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import VueBucketLoader from '@joblocal/vue-bucket-loader';\n\n  export default {\n    components: {\n      VueBucketLoader,\n    },\n  };\n\u003c/script\u003e\n```\n\n### Properties\n| Property | Required | Type | Description |\n| ------------- | ------------- | ------------- | ------------- |\n| signingUrl | true | String / Function | Provide an endpoint to a backend service which can generate a [presignedUrl](https://docs.aws.amazon.com/AmazonS3/latest/dev/PresignedUrlUploadObject.html). |\n| beforeUpload | false | Function | Provide a function to add additional checks before your files get uploaded, e.g. MIME-Type checking. Returned File objects are used for upload. |\n| allowedFileExtensions | false | Array | Provides possibility to pass specific file extensions.\n| allowedMimeTypes | false | Array | Provides possibility to pass specific MIME type.\n### Events\nThis component provides event-handling for the following cases. To subscribe:\n\n```javascript\nthis.$on('Event', function( payload ));\n```\n\n| Event | Description | Payload |\n| ------------- | ------------- | ------------- |\n| \"add-files-before\" | This event will be emitted after a file was added to the input field. | Array\n| \"add-file-success\" | This event will be emitted after a file was successfully uploaded. | Object\n| \"add-file-error\" | This event will be emitted after a file was not uploaded. | Object\n| \"delete-file-before\" | This event will be emitted before a file will be removed. | Object\n| \"delete-file-success\" | This event will be emitted after a file was successfully deleted. | Object\n| \"delete-file-error\" | This event will be emitted after a file was not deleted. | Object\n\n### File loading state\n| State | Description |\n| ------------- | ------------- |\n| \"loading\" | This file being uploaded.\n| \"success\" | The file has been successfully added to the bucketloader.\n| \"error\" | The file was not added due to a server error\n\n### Development\n#### Installing dependencies\nRun this command.\n\n```sh\n$ yarn install\n```\n\n#### Test\nTo make sure that the installation went fine. Run this command.\n\n```sh\n$ yarn test\n```\n\n#### Dev Server\nTo start the development server use\n\n```sh\n$ yarn start\n```\n\n## Built with\n* [Vue js](http://www.vuejs.org) - Javascript Framework\n* [Yarn](https://yarnpkg.com/lang/en/) - Dependency Management\n* [Webpack](https://webpack.js.org/) - Application Bundler\n* [Jest](https://facebook.github.io/jest/) - Test Runner\n\n### Also see\n* [Vue-Test-Utils Api](https://vue-test-utils.vuejs.org/en/api/)\n* [Jest Api](https://facebook.github.io/jest/docs/en/api.html)\n\n## Contributing\nPlease read through our [contributing guidelines](https://github.com/joblocal/vue-bucket-loader/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and feature requests.\n\n\n## Authors\n* **Joblocal GmbH** - *Initial work* - [Joblocal](https://github.com/joblocal)\n\nSee also the list of [contributors](https://github.com/joblocal/vue-bucket-loader/contributors) who participated in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoblocal%2Fvue-bucket-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoblocal%2Fvue-bucket-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoblocal%2Fvue-bucket-loader/lists"}