{"id":32248250,"url":"https://github.com/angular-ui/ui-uploader","last_synced_at":"2025-10-22T17:42:01.774Z","repository":{"id":32879440,"uuid":"36473748","full_name":"angular-ui/ui-uploader","owner":"angular-ui","description":"Customizable file uploader","archived":true,"fork":false,"pushed_at":"2017-08-29T11:47:34.000Z","size":6037,"stargazers_count":106,"open_issues_count":4,"forks_count":72,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-20T17:09:23.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rawgit.com/angular-ui/ui-uploader/master/demo/index.html","language":"JavaScript","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/angular-ui.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}},"created_at":"2015-05-29T00:24:09.000Z","updated_at":"2024-06-29T20:09:43.000Z","dependencies_parsed_at":"2022-09-14T02:10:27.747Z","dependency_job_id":null,"html_url":"https://github.com/angular-ui/ui-uploader","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/angular-ui/ui-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2Fui-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2Fui-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2Fui-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2Fui-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular-ui","download_url":"https://codeload.github.com/angular-ui/ui-uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2Fui-uploader/sbom","scorecard":{"id":196305,"data":{"date":"2025-08-11","repo":{"name":"github.com/angular-ui/ui-uploader","commit":"b55450429dc0620ac84f4aa105bae0fae27464c6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"Code-Review","score":3,"reason":"Found 9/28 approved changesets -- score normalized to 3","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":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 11 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"}}]},"last_synced_at":"2025-08-16T21:53:44.021Z","repository_id":32879440,"created_at":"2025-08-16T21:53:44.021Z","updated_at":"2025-08-16T21:53:44.021Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280467869,"owners_count":26335593,"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-10-22T02:00:06.515Z","response_time":63,"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":[],"created_at":"2025-10-22T17:42:00.778Z","updated_at":"2025-10-22T17:42:01.766Z","avatar_url":"https://github.com/angular-ui.png","language":"JavaScript","readme":"# ui-uploader [![Build Status](https://travis-ci.org/angular-ui/ui-uploader.svg?branch=master)](https://travis-ci.org/angular-ui/ui-uploader) [![npm version](https://badge.fury.io/js/angular-ui-uploader.svg)](http://badge.fury.io/js/angular-ui-uploader) [![Bower version](https://badge.fury.io/bo/angular-ui-uploader.svg)](http://badge.fury.io/bo/angular-ui-uploader) [![Join the chat at https://gitter.im/angular-ui/ui-uploader](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/ui-uploader?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nui-uploader is a single/multiple and high customizable file uploader and the most important is very easy to implement.\n\n  - Upload multiple or single files\n  - Cancel or remove upload when you want.\n  - Allows concurrent Upload\n  - Totally cutomizable\n\nYou can use with html5, jquery or every library or framework:\n\n\u003e The main objective of ui-uploader is\n\u003e  to have a user control, clean, simple, customizable,\n\u003e and above all very easy to implement.\n\nTry the [demo](https://rawgit.com/angular-ui/ui-uploader/master/demo/index.html).\n\n\nCompatibility\n-------------\n\nBecause this project uses [FormData](http://caniuse.com/#search=formdata), it does **not** work on IE9 or earlier.\n\n## Requirements\n\n- AngularJS\n\n## Usage\n\n\nYou can get it from [Bower](http://bower.io/)\n\n```sh\nbower install angular-ui-uploader\n```\n\nLoad the script files in your application:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"bower_components/angular/angular.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"bower_components/angular-ui-uploader/dist/uploader.js\"\u003e\u003c/script\u003e\n```\n\nAdd the specific module to your dependencies:\n\n```javascript\nangular.module('myApp', ['ui.uploader', ...])\n```\n\nNow you can use the ui-uploader methods.\n\n```javascript\n$uiUploader.addFiles(files);\n$uiUploader.remove(file);\n$uiUploader.removeAll();\n```\n\nConfigure ui-uploader callbacks and start!\n\n```javascript\n$uiUploader.startUpload({\n                url: 'http://my_domain.com',\n                concurrency: 2,\n                onProgress: function(file) {\n                    // file contains a File object\n                    console.log(file);\n                },\n                onUploadSuccess: function(file) {\n                    // file contains a File object\n                    console.log(file);\n                },\n                onCompleted: function(file, responseText, status) {\n                    // file contains a File object\n                    console.log(file);\n                    // responseText contains the server response as text\n                    console.log(responseText);\n                    // status contains the status of the response\n                    console.log(status);\n                },\n                onCompletedAll: function(files) {\n                \t// files is an array of File objects\n                \tconsole.log(files);\n                }\n            });\n```\n\nPerform CORS AJAX requests by setting the options.withCredentials flag to true!\n\n```javascript\n$uiUploader.startUpload({\n                url: 'http://my_domain.com/path/to/api-endpoint',\n                options: {\n                \twithCredentials: true\n                },\n                onProgress: function(file) {\n                    // do stuff\n                },\n                onUploadSuccess: function(file) {\n                    // do stuff\n                },\n                onCompleted: function(file, responseText, status) {\n                    // do stuff\n                },\n                onCompletedAll: function(files) {\n                \t// do stuff\n                }\n            });\n```\n\nConfigure custom request headers by options.headers field\n\n```javascript\n$uiUploader.startUpload({\n                url: 'http://my_domain.com',\n                concurrency: 2,\n                headers: {\n                    'Accept': 'application/json'\n                },\n                onCompletedAll: function(files) {\n                \t// files is an array of File objects\n                \tconsole.log(files);\n                }\n            });\n```\n\n## Development\n\nWe use Karma and jshint to ensure the quality of the code.  The easiest way to run these checks is to use grunt:\n\n```sh\nnpm install -g gulp-cli\nnpm install \u0026\u0026 bower install\ngulp\n```\n\nThe karma task will try to open Firefox and Chrome as browser in which to run the tests.  Make sure this is available or change the configuration in `karma.conf.js`\n\n\n### Gulp watch\n\n`gulp watch` will automatically test your code and build a release whenever source files change.\n\n### How to release\n\nUse gulp to bump version, build and create a tag. Then push to GitHub:\n\n````sh\ngulp release [--patch|--minor|--major]\ngit push --tags origin master # push everything to GitHub\n````\n\nTravis will take care of testing and publishing to npm's registry (bower will pick up the change automatically). Finally [create a release on GitHub](https://github.com/angular-ui/ui-uploader/releases/new) from the tag created by Travis.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-ui%2Fui-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-ui%2Fui-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-ui%2Fui-uploader/lists"}