{"id":13624674,"url":"https://github.com/ruanyf/simple-bash-scripts","last_synced_at":"2026-03-27T04:07:02.973Z","repository":{"id":39598553,"uuid":"53779777","full_name":"ruanyf/simple-bash-scripts","owner":"ruanyf","description":"A collection of simple Bash scripts","archived":false,"fork":false,"pushed_at":"2025-01-15T13:55:30.000Z","size":63,"stargazers_count":1764,"open_issues_count":7,"forks_count":1054,"subscribers_count":58,"default_branch":"master","last_synced_at":"2025-05-25T00:07:49.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruanyf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-13T10:42:17.000Z","updated_at":"2025-05-22T10:59:12.000Z","dependencies_parsed_at":"2023-01-22T12:00:33.543Z","dependency_job_id":"a9a00572-97a6-4966-8e7f-8a641697975f","html_url":"https://github.com/ruanyf/simple-bash-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ruanyf/simple-bash-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyf%2Fsimple-bash-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyf%2Fsimple-bash-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyf%2Fsimple-bash-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyf%2Fsimple-bash-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruanyf","download_url":"https://codeload.github.com/ruanyf/simple-bash-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyf%2Fsimple-bash-scripts/sbom","scorecard":{"id":788451,"data":{"date":"2025-08-11","repo":{"name":"github.com/ruanyf/simple-bash-scripts","commit":"5cc29578a453ecd48f63d0bb412d5f2a6342035f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":6,"reason":"Found 11/17 approved changesets -- score normalized to 6","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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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 24 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-23T06:45:57.738Z","repository_id":39598553,"created_at":"2025-08-23T06:45:57.738Z","updated_at":"2025-08-23T06:45:57.738Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"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-08-01T21:01:45.083Z","updated_at":"2026-03-27T04:07:02.929Z","avatar_url":"https://github.com/ruanyf.png","language":"Shell","readme":"A collection of simple Bash scripts.\n\n## Getting Started\n\n1. [Hello.sh](scripts/hello-world.sh): get a simple output\n1. [Process.sh](scripts/process.sh): execute more than one command in a script\n1. [Interactive.sh](scripts/interactive.sh): a simple but very much interactive script\n1. [Special-Pattern.sh](scripts/special-pattern.sh): draw a diamond pattern with dots(.)\n1. [While-Read.sh](scripts/while-read.sh): read lines from a file using while loop\n1. [Read-Menu.sh](scripts/read-menu.sh): display a menu for system information\n1. [While-Menu.sh](scripts/while-menu.sh): a repeated menu for system information\n1. [Affect.sh](scripts/affect.sh): print a spinner loader\n1. [Colorful.sh](scripts/color.sh): provide you with the output of several colours\n1. [Convertlowercase.sh](scripts/convertlowercase.sh): convert data either from the file or standard input to lowercase\n1. [up.sh](scripts/up.sh): move up a directory in shell script\n1. [List-dir.sh](scripts/list-dir.sh): list files in a directory\n1. [Count-lines.sh](scripts/count-lines.sh): print out the line number of each file in current directory\n1. [Randomfile.sh](scripts/randomfile.sh): create unique file/folder automatically with date and time stamp\n1. [Random-emoji.sh](scripts/random-emoji.sh): print ramdom emojis\n1. [pomodoro.sh](scripts/pomodoro.sh): a simple pomodoro app written in bash\n\n## Programming\n\n1. [VersionCompare.sh](scripts/versioncompare.sh): compare two version number\n\n## Utility\n\n1. [Encrypt.sh](scripts/encrypt.sh): encrypt a file/folder with password\n1. [Archive-and-encrypt.sh](scripts/archive-and-encrypt.sh): archive a path into a file and encrypt the file\n1. [weather.sh](scripts/weather.sh): check the weather in a specified location or using the geolocation of the ip address by default.\n1. [WhereIP.sh](scripts/whereIP.sh): Get location of an IP address. \n## System Administration\n\n1. [DirectorySize.sh](scripts/directorysize.sh): output a specified directory's size\n1. [Test-File.sh](scripts/test-file.sh): evaluate the status of a file/directory\n1. [Server-Health.sh](scripts/server-health.sh): report server related information\n1. [CPU.sh](scripts/cpu.sh): report if CPU usage exceeds the threshold\n1. [Disk-Space.sh](scripts/disk-space.sh): check if the disk space crosses the limit\n1. [CollectNetworkInfo.sh](scripts/collectnetworkinfo.sh): gather information related to server\n1. [RemoteBackup.sh](scripts/remotebackup.sh): backup a local file into a remote server\n1. [HardwareInfo.sh](scripts/hardware_machine.sh): show hardware information for systems Linux \n1. [Get-Temperature.sh](scripts/get-temperature.sh): show CPU temperature\n\n## Math\n\n1. [Addition.sh](scripts/addition.sh): perform addition of two numbers\n1. [Subtraction.sh](scripts/subtraction.sh): perform subtraction of two numbers\n1. [Multiplication.sh](scripts/multiplication.sh): perform multiplication of two numbers\n1. [Division.sh](scripts/division.sh): perform division of two numbers\n1. [Simplecacl.sh](scripts/simplecalc.sh): a simple calculator\n1. [Table.sh](scripts/table.sh): print table of any number\n1. [EvenOdd.sh](scripts/evenodd.sh): check if a number input from standard input is odd or even\n1. [Factorial.sh](scripts/factorial.sh): generate the factorial of a number\n1. [Armstrong.sh](scripts/armstrong.sh): check if a provided number is Armstrong or not\n1. [Prime.sh](scripts/prime.sh): check if a number is prime or not\n1. [Fibonacci.sh](scripts/fibonacci.sh): test if a number being entered is a Fibonacci or not\n1. [Decimal2Binary.sh](scripts/decimal2binary.sh): convert Decimal Number to Binary\n1. [Binary2Decimal.sh](scripts/binary2decimal.sh): convert Binary Number back to decimal\n1. [Decimal2Hex.sh](scripts/dec2hex.sh): convert Decimal Number to Hex\n1. [Hex2Decimal](scripts/hextodec.sh): convert Hex number back to Decimal\n\n## Image manipulation\n\n1. [thumbnail.sh](scripts/thumbnail.sh): create 400px thumbnails from images in a folder\n\n## License\n\nMIT\n","funding_links":[],"categories":["Shell","Vim (text editor)"],"sub_categories":["Offline usage \u003ca href=\"https://github.com/chubin/cheat.sh#installation\"\u003einstall\u003c/a\u003e cheat script manually\u003cbr\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruanyf%2Fsimple-bash-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruanyf%2Fsimple-bash-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruanyf%2Fsimple-bash-scripts/lists"}