{"id":21542620,"url":"https://github.com/alexantr/fileinput","last_synced_at":"2026-02-22T20:40:58.400Z","repository":{"id":57282093,"uuid":"78515727","full_name":"alexantr/fileinput","owner":"alexantr","description":"Styled file input using jQuery","archived":false,"fork":false,"pushed_at":"2026-02-03T09:09:57.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-08T01:47:06.527Z","etag":null,"topics":["fileinput","jquery-plugin"],"latest_commit_sha":null,"homepage":"","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/alexantr.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":"2017-01-10T09:00:35.000Z","updated_at":"2026-02-03T09:08:38.000Z","dependencies_parsed_at":"2022-08-31T02:51:11.642Z","dependency_job_id":null,"html_url":"https://github.com/alexantr/fileinput","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/alexantr/fileinput","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffileinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffileinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffileinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffileinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexantr","download_url":"https://codeload.github.com/alexantr/fileinput/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexantr%2Ffileinput/sbom","scorecard":{"id":180728,"data":{"date":"2025-08-11","repo":{"name":"github.com/alexantr/fileinput","commit":"4139932286842c0385b867ae9c4b2281da260853"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6c3j-c64m-qhgq","Warn: Project is vulnerable to: GHSA-gxr4-xjj5-5px2","Warn: Project is vulnerable to: GHSA-jpcq-cgw6-v4j6"],"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-16T18:49:09.870Z","repository_id":57282093,"created_at":"2025-08-16T18:49:09.870Z","updated_at":"2025-08-16T18:49:09.870Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29726401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"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":["fileinput","jquery-plugin"],"created_at":"2024-11-24T05:10:08.464Z","updated_at":"2026-02-22T20:40:58.360Z","avatar_url":"https://github.com/alexantr.png","language":"JavaScript","readme":"# jQuery File Input\n\nSimple jQuery plugin for styling HTML file inputs.\n\n## Installation\n\nInstall with [npm](https://www.npmjs.com/):\n\n```\nnpm i --save jquery-fileinput\n```\n\nInstall with [bower](https://bower.io/):\n\n```\nbower install fileinput\n```\n\n## Usage\n\nHTML:\n\n```html\n\u003cscript src=\"path/to/jquery/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/fileinput/fileinput.min.js\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003cinput type=\"file\" name=\"file\"\u003e\n```\n\nJavaScript:\n\n```js\n$('input[type=\"file\"]').fileinput();\n```\n\nIncluding all options:\n\n```js\n$('input[type=\"file\"]').fileinput({\n    title: 'Browse...',\n    multipleText: '{0} files', // for multiple selection. {0} will be replaced with number of seleted files\n    showMultipleNames: false, // if true, show filenames comma separated instead text from multipleText\n    buttonClass: 'btn btn-default',\n    selectedClass: 'file-selected',\n    clearButton: '\u003cbutton type=\"button\" class=\"fileinput-clear close\"\u003e\u0026times;\u003c/button\u003e',\n    complete: function() {\n        // $(this) is input[type=\"file\"]\n    }\n});\n```\n\nAlmost all options can be redefined by data-attributes:\n\n- `data-title`\n- `data-multiple-text`\n- `data-show-multiple-names`\n- `data-button-class`\n- `data-selected-class`\n\nAlso button title and class can be set from `title` and `class` attributes:\n\n```html\n\u003cinput type=\"file\" title=\"Обзор...\" class=\"btn btn-danger\"\u003e\n```\n\nIf you want to disable styling some inputs you can add attribute `data-fileinput-disabled` to them.\n\n## Styling\n\nIncluded CSS-styles work great with Bootstrap 3.\n\nJust append `fileinput.css`:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"path/to/bootstrap/css/bootstrap.min.css\"\u003e\n\u003clink rel=\"stylesheet\" href=\"path/to/fileinput/fileinput.css\"\u003e\n```\n\nGenerated HTML-code:\n\n```html\n\u003cspan class=\"fileinput-wrapper\"\u003e\n    \u003cspan class=\"fileinput btn btn-default\"\u003e\n        \u003cspan\u003eBrowse...\u003c/span\u003e\n        \u003cinput type=\"file\"\u003e\n    \u003c/span\u003e\n\u003c/span\u003e\n```\n\nWhen file selected:\n\n```html\n\u003cspan class=\"fileinput-wrapper file-selected\"\u003e\n    \u003cspan class=\"fileinput btn btn-default\"\u003e\n        \u003cspan\u003eBrowse...\u003c/span\u003e\n        \u003cinput type=\"file\"\u003e\n    \u003c/span\u003e\n    \u003cspan class=\"fileinput-name\"\u003e\n        file.zip\n        \u003cbutton type=\"button\" class=\"fileinput-clear close\"\u003e\u0026times;\u003c/button\u003e\n    \u003c/span\u003e\n\u003c/span\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexantr%2Ffileinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexantr%2Ffileinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexantr%2Ffileinput/lists"}