{"id":13961627,"url":"https://github.com/odb/shml","last_synced_at":"2025-09-13T16:12:37.011Z","repository":{"id":11452547,"uuid":"13913404","full_name":"odb/shml","owner":"odb","description":"SHell Markup Language | Style Framework for The Terminal","archived":false,"fork":false,"pushed_at":"2019-01-25T08:10:20.000Z","size":636,"stargazers_count":446,"open_issues_count":2,"forks_count":14,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-08-15T08:12:08.201Z","etag":null,"topics":["ansi-colors","bash","bash-script","emojis","icons","shell","shml"],"latest_commit_sha":null,"homepage":"http://shml.xyz","language":"Shell","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/odb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-28T00:48:12.000Z","updated_at":"2025-08-13T12:21:24.000Z","dependencies_parsed_at":"2022-08-30T07:11:07.652Z","dependency_job_id":null,"html_url":"https://github.com/odb/shml","commit_stats":null,"previous_names":["maxcdn/shml"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/odb/shml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odb%2Fshml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odb%2Fshml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odb%2Fshml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odb%2Fshml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odb","download_url":"https://codeload.github.com/odb/shml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odb%2Fshml/sbom","scorecard":{"id":114034,"data":{"date":"2025-08-04","repo":{"name":"github.com/odb/shml","commit":"e0a6b80fc5ac1444d1cbaeeb05a5d704c85a22d9"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":1.9,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/8 approved changesets -- score normalized to 1","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"47 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-j6gc-792m-qgm2","Warn: Project is vulnerable to: GHSA-pj73-v5mw-pm9j","Warn: Project is vulnerable to: GHSA-jxhc-q857-3j6g","Warn: Project is vulnerable to: GHSA-48wp-p9qv-4j64","Warn: Project is vulnerable to: GHSA-4qw4-jpp4-8gvp","Warn: Project is vulnerable to: GHSA-636f-xm5j-pj9m","Warn: Project is vulnerable to: GHSA-7vh7-fw88-wj87","Warn: Project is vulnerable to: GHSA-fmx4-26r3-wxpf","Warn: Project is vulnerable to: GHSA-2gw2-8q9w-cw8p","Warn: Project is vulnerable to: GHSA-4xjh-m3qx-49wc","Warn: Project is vulnerable to: GHSA-mqm2-cgpr-p4m6","Warn: Project is vulnerable to: GHSA-242x-7cm6-4w8j","Warn: Project is vulnerable to: GHSA-286v-pcf5-25rc","Warn: Project is vulnerable to: GHSA-2qc6-mcvw-92cw","Warn: Project is vulnerable to: GHSA-2rr5-8q37-2w7h","Warn: Project is vulnerable to: GHSA-353f-x4gh-cqq8","Warn: Project is vulnerable to: GHSA-4hm9-844j-jmxp","Warn: Project is vulnerable to: GHSA-59gp-qqm7-cw4j","Warn: Project is vulnerable to: GHSA-5w6v-399v-w3cc","Warn: Project is vulnerable to: GHSA-6qvp-r6r3-9p7h","Warn: Project is vulnerable to: GHSA-7553-jr98-vx47","Warn: Project is vulnerable to: GHSA-7rrm-v45f-jp64","Warn: Project is vulnerable to: GHSA-cf46-6xxh-pc75","Warn: Project is vulnerable to: GHSA-cgx6-hpwq-fhv5","Warn: Project is vulnerable to: GHSA-cr5j-953j-xw5p","Warn: Project is vulnerable to: GHSA-crjr-9rc5-ghw8","Warn: Project is vulnerable to: GHSA-fq42-c5rg-92c2","Warn: Project is vulnerable to: GHSA-gx8x-g87m-h5q6","Warn: Project is vulnerable to: GHSA-jc36-42cf-vqwj","Warn: Project is vulnerable to: GHSA-jw9f-hh49-cvp9","Warn: Project is vulnerable to: GHSA-mrxw-mxhj-p664","Warn: Project is vulnerable to: GHSA-pxvg-2qj5-37jq","Warn: Project is vulnerable to: GHSA-qxcg-xjjg-66mj","Warn: Project is vulnerable to: GHSA-r95h-9x8f-r3f7","Warn: Project is vulnerable to: GHSA-v4f8-2847-rwm7","Warn: Project is vulnerable to: GHSA-v6gp-9mmm-c6p5","Warn: Project is vulnerable to: GHSA-vmfx-gcfq-wvm2","Warn: Project is vulnerable to: GHSA-vr8q-g5c7-m54m","Warn: Project is vulnerable to: GHSA-vvfq-8hwr-qm4m","Warn: Project is vulnerable to: GHSA-x7rv-cr6v-4vm4","Warn: Project is vulnerable to: GHSA-xc9x-jj77-9p9j","Warn: Project is vulnerable to: GHSA-xh29-r2w5-wx8m","Warn: Project is vulnerable to: GHSA-xxx9-3xcr-gjj3","Warn: Project is vulnerable to: GHSA-5m2v-hc64-56h6","Warn: Project is vulnerable to: GHSA-vqcq-mrmw-mcmg","Warn: Project is vulnerable to: GHSA-5cm2-9h8c-rvfx","Warn: Project is vulnerable to: GHSA-jj47-x69x-mxrm"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T22:21:18.868Z","repository_id":11452547,"created_at":"2025-08-15T22:21:18.868Z","updated_at":"2025-08-15T22:21:18.868Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274989932,"owners_count":25386552,"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-09-13T02:00:10.085Z","response_time":70,"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":["ansi-colors","bash","bash-script","emojis","icons","shell","shml"],"created_at":"2024-08-08T17:01:18.950Z","updated_at":"2025-09-13T16:12:36.973Z","avatar_url":"https://github.com/odb.png","language":"Shell","readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cimg width=\"400\" src=\"docs/public/images/odb-shml-logo-readme.svg\" alt=\"SHML by ODB\"\u003e\n\u003c/div\u003e\n\nSHML v.1.1.0\n====\n\n[![Build Status](https://travis-ci.org/odb/shml.svg)](https://travis-ci.org/odb/shml)\n\nSHML is a shell framework for faster and easier script development.\n\n### Why\n\nHTML has CSS, terminals have \"ANSI/VT100 Control Sequences\". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = `\\033[33m` instead Yellow is `$(color yellow)`.\n\n### 1-liner Install\n```bash\n# Unix-like\n$ sudo bash -c 'curl -L https://raw.githubusercontent.com/odb/shml/1.1.0/shml.sh -o /usr/local/bin/shml \u0026\u0026 chmod +x /usr/local/bin/shml'\n\n# Homebrew\n$ brew install shml\n\n# npm\n$ npm install -g shml\n```\n\n### Download\n\n\u003e You can just download SHML without installing it...\n\n#### Git\n\n`$ git clone https://github.com/odb/shml.git`\n\n#### wget\n\n`$ wget https://raw.githubusercontent.com/odb/shml/master/shml.sh`\n\n### Sourcing\n\nIn order to use SHML you must tell your shell environment where it is located. Lets assume that we are writing a BASH script and want to use SHML.\n\nIf you installed in using the 1-liner above you would do:\n\n```bash\n#!/usr/bin/env bash\nsource $(which shml)\n```\nIf you downloaded SHML using git or wget you would do:\n\n```bash\n#!/usr/bin/env bash\nsource ./shml.sh\n```\n### Examples\n\n```bash\n#!/usr/bin/env bash\nsource \"$(which shml)\"\n\necho \"\n$(fgcolor red)\nThis will make the text red...\n$(fgcolor end)\n\"\n```\n\nView all examples: [https://odb.github.io/shml/getting-started/](https://odb.github.io/shml/getting-started/)\n\n### Contributing\n\nContributions are more than welcome. Before submitting ANY new features please read the [Contribution Guidelines](https://github.com/odb/shml/blob/master/CONTRIBUTING.md).\n\nTo report any bugs or if you have a feature request feel free to [open an issue](https://github.com/odb/shml/issues).\n\n#### Updating The Docs\nUpdating the docs requires Ruby/Jekyll to generate \u0026 view locally.\n\n**Run once:**\n```\n$ cd docs/\n$ gem install bundler\n$ bundle install\n```\n\n**Generate and serve:**\n```\n$ bundle exec jekyll s --watch\n```\nThen go to: `http://localhost:4000/shml/`\n","funding_links":[],"categories":["Command-Line Productivity","Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodb%2Fshml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodb%2Fshml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodb%2Fshml/lists"}