{"id":15554985,"url":"https://github.com/lyn-euler/icont-cli","last_synced_at":"2026-02-26T00:45:47.310Z","repository":{"id":42800910,"uuid":"270968623","full_name":"lyn-euler/icont-cli","owner":"lyn-euler","description":"a tool which convert svg(s) to ttf","archived":false,"fork":false,"pushed_at":"2022-12-06T07:47:38.000Z","size":137,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T10:38:28.714Z","etag":null,"topics":["cli","dart","flutter","fluttericon","icon","iconfont","iconfonts","node","svg","ttf"],"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/lyn-euler.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":"2020-06-09T10:10:42.000Z","updated_at":"2024-11-26T15:01:04.000Z","dependencies_parsed_at":"2023-01-23T14:00:07.951Z","dependency_job_id":null,"html_url":"https://github.com/lyn-euler/icont-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lyn-euler/icont-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Ficont-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Ficont-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Ficont-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Ficont-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyn-euler","download_url":"https://codeload.github.com/lyn-euler/icont-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyn-euler%2Ficont-cli/sbom","scorecard":{"id":607336,"data":{"date":"2025-08-11","repo":{"name":"github.com/lyn-euler/icont-cli","commit":"3d4d707713abad2597d10907485bf7cf983567a2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":0,"reason":"Found 0/15 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/lyn-euler/icont-cli/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/lyn-euler/icont-cli/node.js.yml/master?enable=pin","Warn: npmCommand not pinned by hash: tools/svg2ttf.sh:6","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   2 npmCommand dependencies pinned"],"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":"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":"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":"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 2 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":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883"],"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-21T01:54:08.301Z","repository_id":42800910,"created_at":"2025-08-21T01:54:08.301Z","updated_at":"2025-08-21T01:54:08.301Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29846209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","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":["cli","dart","flutter","fluttericon","icon","iconfont","iconfonts","node","svg","ttf"],"created_at":"2024-10-02T15:05:30.811Z","updated_at":"2026-02-26T00:45:47.258Z","avatar_url":"https://github.com/lyn-euler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icont-cli\nA tool which convert svg(s) to tff, and output `.dart` file for flutter project\nAnd u can copy result(s) to dist dir.\n## Install\n\n```shell\nnpm install -g icont-cli\n```\n\n## Usage \n\n### convert svg(s) to ttf \u0026 dart file\n\n```shell\nUsage: icont [options] [command]\n\nConvert SVG(s) to ttf file\n\nOptions:\n  -v, --version           output the version number\n  -i, --input \u003cpath|dir\u003e  input svg dir or file path (default: \"svg\")\n  -o, --output \u003cdir\u003e      output path (default: \"output\")\n  -n, --fontname \u003cname\u003e   output font name (default: \"iconfonts\")\n  -h, --help              display help for command\n\nCommands:\n  copy [options]          copy file to target dir.\n```\n\n\n### copy files\n\n```shell\nUsage: icont copy [options]\n\ncopy file to target dir.\n\nOptions:\n  -d, --dist \u003cdir\u003e     dist dir\n  -s, --src \u003cdir\u003e      copy form dir\n  -e, --ext \u003cextname\u003e  file ext name\n  -h, --help           display help for command\n```\n\n## Flutter Project Configuration Demo\n\n- pubspec.yaml\n\n```shell\nfonts:\n    - family: iconfonts\n      fonts:\n        - asset: iconfonts/iconfonts.ttf\n```\n\n- script sample\n\n```shell\n#!/usr/bin/env bash\nif [ ! `command -v icont` ]; then\n  npm install -g icont-cli\nfi\n\ntemp_dir='.icont'\nfonts_dir='fonts'\ndart_path='lib'\n\n# svg to ttf \u0026 dart\nicont -i svg -o $temp_dir\n\n# copy to target dir\nicont copy -s $temp_dir -d $fonts_dir -e .ttf\nicont copy -s $temp_dir -d $dart_path -e .dart\n\n# delete temp dir\n# rm -rf $temp_dir\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyn-euler%2Ficont-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyn-euler%2Ficont-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyn-euler%2Ficont-cli/lists"}