{"id":25711419,"url":"https://github.com/nkeramov/bash_scripts","last_synced_at":"2026-05-05T08:31:01.541Z","repository":{"id":215770840,"uuid":"606804494","full_name":"Nkeramov/bash_scripts","owner":"Nkeramov","description":"Some useful bash scripts","archived":false,"fork":false,"pushed_at":"2025-11-15T23:08:59.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-16T01:12:24.130Z","etag":null,"topics":["bash","bash-automation","bash-script","nifi"],"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/Nkeramov.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,"zenodo":null}},"created_at":"2023-02-26T16:08:56.000Z","updated_at":"2025-11-15T23:09:03.000Z","dependencies_parsed_at":"2025-06-11T01:21:09.134Z","dependency_job_id":"60f946d5-ca0b-491c-b622-981991fc61ad","html_url":"https://github.com/Nkeramov/bash_scripts","commit_stats":null,"previous_names":["nkeramov/bash_scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nkeramov/bash_scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nkeramov%2Fbash_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nkeramov%2Fbash_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nkeramov%2Fbash_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nkeramov%2Fbash_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nkeramov","download_url":"https://codeload.github.com/Nkeramov/bash_scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nkeramov%2Fbash_scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32641925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["bash","bash-automation","bash-script","nifi"],"created_at":"2025-02-25T10:34:46.442Z","updated_at":"2026-05-05T08:31:01.534Z","avatar_url":"https://github.com/Nkeramov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash scripts\n\n[![made-with-bash](https://img.shields.io/badge/Made%20with-Bash-1f425f.svg)](https://www.gnu.org/software/bash/)\n[![license](https://img.shields.io/badge/licence-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n\nThis project contains some useful bash scripts created for making the life easier.\n\n## Description\n\n### nifi_install\n\nScript for install Apache NiFi, NiFi Registry and NiFi toolkit. \n\nAccepts args: \n  1. the NiFi version to be installed (-v or --version)\n  2. the NiFi user login (-l or --login)\n  3. the NiFi user password (-p or --password)\n  4. the installation dir (-d or -- dir)\n\nMake sure your password is at least 12 characters long.\n\nThe version may not be specified, in which case the latest version will be installed.\n\nAdds environment variables: \n  1. `NIFI_VERSION`\n  2. `NIFI_HOME`\n  3. `NIFI_REGISTRY_HOME`\n  4. `NIFI_TOOLKIT_HOME`\n  5. `NIFI_BOOTSTRAP_FILE`\n  6. `NIFI_PROPS_FILE`\n  7. `NIFI_REGISTRY_PROPS_FILE`\n  8. `NIFI_TOOLKIT_PROPS_FILE`\n  9. `NIFI_INPUT`\n  10. `NIFI_OUTPUT`\n\nAlso script adds aliases for commands to start, stop, restart and get status \nfor NiFi (`NIFI_START`, `NIFI_STOP`, `NIFI_RESTART`, `NIFI_STATUS`) and \nNiFi Registry (`NIFI_REGISTRY_START`, `NIFI_REGISTRY_STOP`, `NIFI_REGISTRY_RESTART`, `NIFI_REGISTRY_STATUS`):\n\nUse command to run:\n```bash\n  bash -i ./nifi_install.sh -v 1.23.2 -l admin -p strong_password -d /opt\n```\n\nIf the specified environment variables or command aliases already exist, they are updated, otherwise they will be created. Does not require root rights.\n\nRunning in interactive mode is required to correctly detect existing aliases.\n\nKeep in mind that the minimum password length is 12 characters.\n\n### nifi_setup\nScript for apply recommended system settings for Apache NiFi described in [Apache NiFi Development Quickstart](https://en.wikipedia.org/wiki/ARTag). Requires root rights.\n\n### check_java\nScript to check if JDK is installed and JAVA_HOME environment variable is correct. Does not require root rights.\nIf the JAVA_HOME is incorrect, the script will attempt to determine the correct path and offer to save it in environment variables.\n\n### git_config\nScript to configure git options such as username, email, credentials and aliases.\n\n### google_drive_download\nScript to download files from Google Drive with wget. Arguments file ID and output filename.\n\n### bash_color\nScript for formatting text output (setting color, background, style).\n\n## 🚀 Quick start\n\nMost of the files are intended to be placed in ~/bin, which is included in the PATH variable by default in most Unix systems.\nMake scripts executable by this command: `chmod +x \u003cfilename\u003e`.\n\n## 🤝 Contributing\n\nIf you want to contribute, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push to your fork and create a pull request.\n\n## 📝 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkeramov%2Fbash_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkeramov%2Fbash_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkeramov%2Fbash_scripts/lists"}