{"id":25954132,"url":"https://github.com/bratpeki/bash-scripts","last_synced_at":"2026-04-12T05:31:03.599Z","repository":{"id":110849610,"uuid":"383190666","full_name":"bratpeki/bash-scripts","owner":"bratpeki","description":"My Bash scripts.","archived":false,"fork":false,"pushed_at":"2023-01-02T09:29:58.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T23:44:46.045Z","etag":null,"topics":["bash","linux","posix-compliant","shell-script"],"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/bratpeki.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,"zenodo":null}},"created_at":"2021-07-05T15:43:48.000Z","updated_at":"2024-11-13T13:23:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"04a7a58a-8e8c-4ef5-8edc-c8fe5a31dd29","html_url":"https://github.com/bratpeki/bash-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bratpeki/bash-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bratpeki%2Fbash-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bratpeki%2Fbash-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bratpeki%2Fbash-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bratpeki%2Fbash-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bratpeki","download_url":"https://codeload.github.com/bratpeki/bash-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bratpeki%2Fbash-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31705574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T05:11:36.334Z","status":"ssl_error","status_checked_at":"2026-04-12T05:11:27.332Z","response_time":58,"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":["bash","linux","posix-compliant","shell-script"],"created_at":"2025-03-04T15:49:13.709Z","updated_at":"2026-04-12T05:31:03.575Z","avatar_url":"https://github.com/bratpeki.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A bunch of Bash scripts I have created.\n\n## Current list:\n\n| Name         | Function                                                  |\n| -            | -                                                         |\n| `bgman`      | Manage background images using `feh`                      |\n| `cheat`      | Easily bring up a `curl` cheat sheet from cheat.sh        |\n| `kblayout`   | Manage keyboard layouts in `X11`                          |\n| `qrcodeterm` | Generate QR codes in the terminal                         |\n| `screencap`  | Capture the screen using `scrot`                          |\n| `wtrcode`    | Read weather information via `curl` using location codes  |\n| `wtrin`      | Read weather information via `curl` using input arguments |\n| `ytmpv`      | Stream YouTube videos via `mpv` using `youtube-dl`        |\n\n## Requirements\n\n### Adding bash-scripts to PATH\n\nIf you cloned the repository to `$HOME/github/bash-scripts`, you should add the following line to your `.bashrc`:\n\n```sh\nPATH=$PATH:$HOME/github/bash-scripts\n```\n\n### Dependencies\n\n| Tool name    | Tool provider                                                            | Script where the tool is used             | Reason for use                                                               |\n| -            | -                                                                        | -                                         | -                                                                            |\n| `curl`       | [`curl`](https://curl.se/)                                               | `cheat`, `qrcodeterm`, `wtrcode`, `wtrin` | Accessing terminal-friendly websites                                         |\n| `dmenu`      | [`dmenu`](https://tools.suckless.org/dmenu/)                             | `screencap`, `wtrcode`, `ytmpv`           | Selection making, alternatively use [`fzf`](https://github.com/junegunn/fzf) |\n| `feh`        | [`feh`](https://github.com/derf/feh)                                     | `bgman`                                   | Handle backgrounds                                                           |\n| `localectl`  | [`systemd`](https://systemd.io/)                                         | `kblayout`                                | Getting supported keyboard layouts                                           |\n| `mpv`        | [`mpv`](https://mpv.io/)                                                 | `ytmpv`                                   | Playing video information                                                    |\n| `scrot`      | [`scrot`](https://manpages.ubuntu.com/manpages/xenial/man1/scrot.1.html) | `screencap`                               | Screenshot making                                                            |\n| `setxkbmap`  | [`X11`](https://www.x.org/wiki/)                                         | `kblayout`                                | Setting the keyboard layout                                                  |\n| `youtube-dl` | [`youtube-dl`](https://youtube-dl.org/)                                  | `ytmpv`                                   | Getting YouTube's video formats                                              |\n\n## Configuration\n\nYou can configure the scripts that have configuration files via\n```sh\n$HOME/.config/bash-scripts/\n```\n\nScripts that use configuration files are listed below:\n\n| Script             | Intended use                      | Should it be manually edited? |\n| -                  | -                                 | -                             |\n| kblayout           | Favorite layouts                  | ✔️                             |\n| wtrcode            | Weather codes                     | ✔️                             |\n\n## Thanks\n\nThe following scripts were made possible by:\n\n- ⭐ [Igor Chubin](https://github.com/chubin)'s [wttr.in](https://github.com/chubin/wttr.in), [qrenco.de](https://github.com/chubin/qrenco.de) and [cheat.sh](https://github.com/chubin/cheat.sh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbratpeki%2Fbash-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbratpeki%2Fbash-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbratpeki%2Fbash-scripts/lists"}