{"id":17341189,"url":"https://github.com/tanhauhau/generator-badge","last_synced_at":"2026-03-09T08:01:56.827Z","repository":{"id":57159632,"uuid":"57105901","full_name":"tanhauhau/generator-badge","owner":"tanhauhau","description":"Generate badges for your readme","archived":false,"fork":false,"pushed_at":"2016-05-13T07:10:40.000Z","size":474,"stargazers_count":27,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-05T05:24:08.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tanhauhau.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":"2016-04-26T07:06:47.000Z","updated_at":"2022-02-03T14:27:27.000Z","dependencies_parsed_at":"2022-09-08T13:32:12.777Z","dependency_job_id":null,"html_url":"https://github.com/tanhauhau/generator-badge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tanhauhau/generator-badge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhauhau%2Fgenerator-badge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhauhau%2Fgenerator-badge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhauhau%2Fgenerator-badge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhauhau%2Fgenerator-badge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanhauhau","download_url":"https://codeload.github.com/tanhauhau/generator-badge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanhauhau%2Fgenerator-badge/sbom","scorecard":{"id":867931,"data":{"date":"2025-08-11","repo":{"name":"github.com/tanhauhau/generator-badge","commit":"32279bdf1eeab39fef86d8ece9f2b6b07e2b6baf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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"}}]},"last_synced_at":"2025-08-24T03:14:43.409Z","repository_id":57159632,"created_at":"2025-08-24T03:14:43.409Z","updated_at":"2025-08-24T03:14:43.409Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30287446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"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":[],"created_at":"2024-10-15T15:48:09.674Z","updated_at":"2026-03-09T08:01:56.795Z","avatar_url":"https://github.com/tanhauhau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-badge\n\n\u003c!-- badge --\u003e\n[![travis status](https://img.shields.io/travis/tanhauhau/generator-badge.svg)](https://travis-ci.org/tanhauhau/generator-badge)\n[![appveyor status](https://img.shields.io/travis/tanhauhau/generator-badge.svg)](https://ci.appveyor.com/project/tanhauhau/generator-badge)\n[![wercker status](https://app.wercker.com/status/15d1bfe55ec05c73b82704c4912f4323/s)](https://app.wercker.com/project/bykey/15d1bfe55ec05c73b82704c4912f4323)\n[![wercker status](https://app.wercker.com/status/15d1bfe55ec05c73b82704c4912f4323/m)](https://app.wercker.com/project/bykey/15d1bfe55ec05c73b82704c4912f4323)  \n[![npm version](https://img.shields.io/npm/v/generator-badge.svg)](https://www.npmjs.com/package/generator-badge)\n[![npm license](https://img.shields.io/npm/l/generator-badge.svg)](https://www.npmjs.com/package/generator-badge)\n[![npm download](https://img.shields.io/npm/dm/generator-badge.svg)](https://www.npmjs.com/package/generator-badge)\n[![npm download](https://img.shields.io/npm/dt/generator-badge.svg)](https://www.npmjs.com/package/generator-badge)\n[![david dependency](https://img.shields.io/david/tanhauhau/generator-badge.svg)]()\n[![david dev-dependency](https://img.shields.io/david/dev/tanhauhau/generator-badge.svg)]()  \n[![GitHub followers](https://img.shields.io/github/followers/tanhauhau.svg?style=social\u0026label=Follow)](https://github.com/tanhauhau/generator-badge)\n[![GitHub forks](https://img.shields.io/github/forks/tanhauhau/generator-badge.svg?style=social\u0026label=Fork)](https://github.com/tanhauhau/generator-badge/fork)\n[![GitHub stars](https://img.shields.io/github/stars/tanhauhau/generator-badge.svg?style=social\u0026label=Star)](https://github.com/tanhauhau/generator-badge)\n[![GitHub watchers](https://img.shields.io/github/watchers/tanhauhau/generator-badge.svg?style=social\u0026label=Watch)](https://github.com/tanhauhau/generator-badge)\n[![GitHub issues](https://img.shields.io/github/issues/tanhauhau/generator-badge.svg?style=social)](https://github.com/tanhauhau/generator-badge/issues)\n\u003c!-- endbadge --\u003e\n\n\u003e Generate badges for your readme\n\n# Installation\n\n```bash\n$ npm install --save --global generator-badge\n```\n\n## Example\n\n**BEFORE**\n\nREADME.md:\n\n```markdown\n# MY-AWESOME-PROJECT\n\u003c!-- badge --\u003e\n\u003c!-- endbadge --\u003e\n```\n\n**THEN YOU DO**\n\nTerminal:\n\n```bash\nawesome-project$ badge install travis npm-version\n```\n\n**WHAT YOU GET**\n\nREADME.md:\n\n```markdown\n# MY-AWESOME-PROJECT\n\u003c!-- badge --\u003e\n[![travis](https://img.shields.io/travis/tanhauhau/awesome-project.svg)](https://travis-ci.org/tanhauhau/awesome-project)\n[![npm-version](https://img.shields.io/npm/v/awesome-project.svg)](https://www.npmjs.com/package/awesome-project)\n\u003c!-- endbadge --\u003e\n```\n\n## Usage\n\n**Install badges**\n\n```bash\n$ badge install \u003cbadges\u003e [\u003cargs\u003e]\n```\n\nYou can specify required field values into arguments:\n\n```bash\n$ badge install travis --repo-username=tanhauhau --repo-name=awesome-project\n```\n\nFor field values that is missing, `badge` will prompt you to enter.\n\n![install](https://raw.githubusercontent.com/tanhauhau/generator-badge/master/img/screenshot_install.png)\n\n\\***All the information gathered will be stored at .badge.json in the same folder as the nearest README.**\n\n**Other options available**\n\n`--no-cache`  \nDo not use information stored in `.badge.json`.\n\n`--ignore-warning`  \nInstall badges even if some badges specified does not exists.\n\n**List of installed badge(s)**\n\n```bash\n$ badge installed\n```\n\n**List of all badges available**\n\n```bash\n$ badge list \u003cbadges\u003e\n```\n\nYou can list all the badges available\n\n```bash\n$ badge list\n```\n\n![listing](https://raw.githubusercontent.com/tanhauhau/generator-badge/master/img/screenshot_list_all.png)\n\n**List of badges that will be installed**\n\n```bash\n$ badge list \u003cbadges\u003e\n```\n\nExample\n\n```bash \n$ badge list apm tavis\n```\n\n![listing](https://raw.githubusercontent.com/tanhauhau/generator-badge/master/img/screenshot_list.png)\n\n*Note typo in Travis. This command shows what will be installed, a typo in Tavis will install nothing*\n\n**Help**\n\n```bash\n$ badge help \u003cbadge\u003e\n```\n\n![help](https://raw.githubusercontent.com/tanhauhau/generator-badge/master/img/screenshot_help.png)\n\n**Clear**\n\n```bash\n$ badge clear\n```\n\nRemove all badges\n\n## Badges Available\n\nSee a list of badges available [here](https://github.com/tanhauhau/generator-badge/blob/master/doc/list.md).\n\n## Todo List\n\n- [ ] Find README of various format: markdown, textile, rdoc, rst, pod, html\n- [ ] Inferring ~~git~~, svn repo information\n- [ ] Storing global preferences, eg: able to remember author name in global\n- [x] Storing local preferences, eg: able to remember repo info in local package\n- [ ] Filename as argument\n- [ ] [More badges available](https://github.com/tanhauhau/generator-badge/blob/master/doc/list.md)\n\n## Badge credits to\n\n[![shields.io](http://shields.io/logo.svg)](http://shields.io)\n\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanhauhau%2Fgenerator-badge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanhauhau%2Fgenerator-badge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanhauhau%2Fgenerator-badge/lists"}