{"id":22049342,"url":"https://github.com/krish-r/shcripts","last_synced_at":"2025-10-29T16:34:26.417Z","repository":{"id":171736729,"uuid":"648336291","full_name":"krish-r/shcripts","owner":"krish-r","description":"Collection of simple and tiny shell scripts (\u003c100 lines).","archived":false,"fork":false,"pushed_at":"2024-05-01T08:20:58.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T21:16:01.646Z","etag":null,"topics":["bash","cli","command-line","terminal"],"latest_commit_sha":null,"homepage":"","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/krish-r.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T18:28:45.000Z","updated_at":"2024-05-01T08:21:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f0e3617-3c2d-4fe3-90bc-1c493a41e6b3","html_url":"https://github.com/krish-r/shcripts","commit_stats":null,"previous_names":["krish-r/shcripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fshcripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fshcripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fshcripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fshcripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krish-r","download_url":"https://codeload.github.com/krish-r/shcripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245119590,"owners_count":20563763,"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","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":["bash","cli","command-line","terminal"],"created_at":"2024-11-30T14:14:57.664Z","updated_at":"2025-10-19T23:03:49.182Z","avatar_url":"https://github.com/krish-r.png","language":"Shell","readme":"# shcripts\n\nCollection of simple and tiny shell scripts (\u003c100 lines).\n\n## Dependencies\n\n-   curl\n-   fzf\n-   jq\n-   tealdeer (for tldr.sh)\n\n## Available Scripts\n\n|              |                                                                                                                               |\n| ------------ | ----------------------------------------------------------------------------------------------------------------------------- |\n| `cht.sh`     | fuzzy [cht.sh][cht.sh]                                                                                                        |\n| `ignore.sh`  | search and add `.gitignore` templates for various languages from [GitHub gitignore templates API][github_gitignore_templates] |\n| `license.sh` | search and add `LICENSE` file for popular licenses from [GitHub Licenses API][github_licenses]                                |\n| `tldr.sh`    | fuzzy [tealdeer][tealdeer] (tldr)                                                                                             |\n\n## Install instructions\n\n-   Copy the `.sh` file somewhere in the `$PATH`, and make it executable. (I keep the scripts in `~/.local/bin`)\n\n## Uninstall instructions\n\n-   Simply remove the script from the `$PATH`.\n\n## Usage instructions\n\n-   Simply call the `.sh` file from anywhere after adding them to the `$PATH` (for ex. `ignore.sh`).\n\n## Credits \u0026 Thanks to\n\n-   [ThePrimeagen][theprimeagen] for `cht.sh`\n-   [Elijah Manor][elijah_manor] for `tldr.sh`\n-   [cht.sh][cht.sh] \u0026 GitHub for the api's\n-   Awesome cli tools - curl, fzf, jq, tealdeer\n\n## Bonus\n\nIf you use [Kitty Terminal][kitty], you can add these to the custom keymaps\n\n```sh\n## cht.sh\nmap kitty_mod+space\u003e.\u003ec launch --hold sh -c \"if command -v cht.sh \u003e/dev/null 2\u003e\u00261; then cht.sh; else echo 'cht.sh not found'; fi\"\n\n## ignore.sh\nmap kitty_mod+space\u003e.\u003ei launch --cwd=current --hold sh -c \"if command -v ignore.sh \u003e/dev/null 2\u003e\u00261; then ignore.sh; else echo 'ignore.sh not found'; fi\"\n\n## license.sh\nmap kitty_mod+space\u003e.\u003el launch --cwd=current --hold sh -c \"if command -v license.sh \u003e/dev/null 2\u003e\u00261; then license.sh; else echo 'license.sh not found'; fi\"\n\n## tldr.sh\nmap kitty_mod+space\u003e.\u003et launch --hold sh -c \"if command -v tldr.sh \u003e/dev/null 2\u003e\u00261; then tldr.sh; else echo 'tldr.sh not found'; fi\"\n```\n\n[cht.sh]: https://cht.sh\n[github_gitignore_templates]: https://api.github.com/gitignore/templates\n[github_licenses]: https://api.github.com/licenses\n[kitty]: https://github.com/kovidgoyal/kitty/\n[tealdeer]: https://github.com/dbrgn/tealdeer\n[theprimeagen]: https://www.youtube.com/watch?v=hJzqEAf2U4I\n[elijah_manor]: https://www.youtube.com/watch?v=4EE7qlTaO7c\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrish-r%2Fshcripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrish-r%2Fshcripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrish-r%2Fshcripts/lists"}