{"id":25436679,"url":"https://github.com/dynamotn/dybatpho","last_synced_at":"2026-03-17T05:59:52.921Z","repository":{"id":276270075,"uuid":"928749208","full_name":"dynamotn/dybatpho","owner":"dynamotn","description":"My library for bash utility methods and tools","archived":false,"fork":false,"pushed_at":"2025-04-18T07:28:50.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T21:33:21.897Z","etag":null,"topics":["bash","bash-script","dybatpho","library","utility"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynamotn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["dynamotn"],"buy_me_a_coffee":"dynamotn"}},"created_at":"2025-02-07T07:00:46.000Z","updated_at":"2025-04-18T07:28:53.000Z","dependencies_parsed_at":"2025-03-03T19:27:50.904Z","dependency_job_id":"6b54255f-1eb2-48f8-8817-f920881b4d2d","html_url":"https://github.com/dynamotn/dybatpho","commit_stats":null,"previous_names":["dynamotn/bash-lib","dynamotn/dybatpho"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Fdybatpho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Fdybatpho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Fdybatpho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Fdybatpho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamotn","download_url":"https://codeload.github.com/dynamotn/dybatpho/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041794,"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","bash-script","dybatpho","library","utility"],"created_at":"2025-02-17T08:21:38.416Z","updated_at":"2026-03-17T05:59:52.915Z","avatar_url":"https://github.com/dynamotn.png","language":"Shell","funding_links":["https://github.com/sponsors/dynamotn","https://buymeacoffee.com/dynamotn"],"categories":[],"sub_categories":[],"readme":"# dybatpho\n\n![Bash Script](https://img.shields.io/badge/bash_script-%23121011.svg?style=for-the-badge\u0026logo=gnu-bash\u0026logoColor=white)\n[![Coverage Status](https://coveralls.io/repos/github/dynamotn/dybatpho/badge.svg?branch=main)](https://coveralls.io/github/dynamotn/dybatpho?branch=main)\n[![CI](https://github.com/dynamotn/dybatpho/actions/workflows/ci.yaml/badge.svg)](https://github.com/dynamotn/dybatpho/actions/workflows/ci.yaml)\n[![Latest release](https://img.shields.io/github/release/dynamotn/dybatpho.svg)](https://github.com/dynamotn/dybatpho/releases/latest)\n\n\u003e **dybatpho** – A powerful collection of bash functions to help you build scripts efficiently, quickly, and maintainably!\n\n---\n\n## 🚀 Why choose **dybatpho**?\n\n- **Save time:** A curated set of the most popular \u0026 useful functions for working with Bash scripts.\n- **Easy integration:** Flexibly use as a submodule, subtree, or manual clone.\n- **Battle-tested:** Used in many projects, personal dotfiles, and in real CI/CD workflows.\n- **Extensible:** Easily add your own modules or customize to fit your needs.\n- **Community-driven:** Always open to feedback, suggestions, and PRs from everyone.\n\n## 📖 What is `dybatpho`?\n\n`dybatpho` is a portmanteau of `đi bát phố` - meaning \"to wander and explore\", just like this repo helps you discover and use handy bash functions freely and flexibly.\n\n# ⚡️ Quick Start\n\n1. **Add `dybatpho` to your project** (pin the version if needed):\n\n   - **Submodule:**\n\n     ```sh\n     git submodule add --depth 1 https://github.com/dynamotn/dybatpho.git \u003cpath\u003e\n     git submodule update \u003cpath\u003e --remote\n     ```\n\n   - **Subtree:**\n\n     ```sh\n     git subtree add --prefix main --squash \u003c path \u003e https://github.com/dynamotn/dybatpho.git\n     git subtree pull --prefix main --squash \u003c path \u003e https://github.com/dynamotn/dybatpho.git\n     ```\n\n   - **Manual clone** (for CI/CD, etc.):\n\n     ```sh\n     git clone https://github.com/dynamotn/dybatpho.git\n     ```\n\n2. **Source the logic you need:**\n\n   ```sh\n   # Source the initialization script\n   . \u003c path-to-dybatpho \u003e /init.sh\n   ```\n\n   \u003e See more [example scripts](example/) or real-world usage in [my dotfiles](https://github.com/dynamotn/dotfiles).\n\n## 🗂 Directory Structure\n\n```\n.\n├── doc/            # Module documentation\n│   ├── *.md        # Usage guides \u0026 Reference for each module\n│   └── spec/       # Module specifications and design docs\n├── example/        # Example scripts for users\n├── scripts/        # Helper scripts (test, doc generation, etc.)\n├── src/            # Source code of modules\n├── test/           # Unit tests\n└── init.sh         # Initialization script, **must be sourced first**\n```\n\n## 📚 Contents \u0026 Featured Modules\n\n- [array.sh](doc/array.md) – Array manipulation\n- [string.sh](doc/string.md) – String operations\n- [text.sh](doc/text.md) – Multi-line text formatting\n- [logging.sh](doc/logging.md) – Easy logging\n- [helpers.sh](doc/helpers.md) – Miscellaneous utilities\n- [process.sh](doc/process.md) – Process management\n- [network.sh](doc/network.md) – Network utilities\n- [date.sh](doc/date.md) – Date and timestamp helpers\n- [json.sh](doc/json.md) – JSON and YAML helpers\n- [file.sh](doc/file.md) – File operations\n- [archive.sh](doc/archive.md) – Archive create/extract/list helpers\n- [table.sh](doc/table.md) – Plain-text and Markdown table rendering\n- [cli.sh](doc/cli.md) – CLI building support\n\n## 🎯 Usage Example\n\n```sh\n# Using the log function\n. dybatpho/init.sh\ndybatpho::register_err_handler\ndybatpho::info \"Greetings from dybatpho!\"\n```\n\nSee more at [example/](example/).\n\n## 💬 Contribution \u0026 Support\n\n- Open an Issue or Pull Request if you'd like to suggest ideas, fix bugs, or contribute new modules!\n- All feedback and contributions are welcome.\n\n---\n\n**Get started with dybatpho now to optimize your workflow and save time with your Bash scripts!**\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/dynamotn/dybatpho/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/dynamotn/dybatpho?style=social\" alt=\"Star dybatpho\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamotn%2Fdybatpho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamotn%2Fdybatpho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamotn%2Fdybatpho/lists"}