{"id":13495356,"url":"https://github.com/Dieterbe/libui-sh","last_synced_at":"2025-03-28T16:32:23.725Z","repository":{"id":54824421,"uuid":"556496","full_name":"Dieterbe/libui-sh","owner":"Dieterbe","description":"a shell library providing useful UI functions","archived":false,"fork":false,"pushed_at":"2021-01-27T06:48:47.000Z","size":207,"stargazers_count":71,"open_issues_count":3,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-28T13:05:32.831Z","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/Dieterbe.png","metadata":{"files":{"readme":"README","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}},"created_at":"2010-03-10T20:52:27.000Z","updated_at":"2024-07-28T01:41:52.000Z","dependencies_parsed_at":"2022-08-14T04:00:35.333Z","dependency_job_id":null,"html_url":"https://github.com/Dieterbe/libui-sh","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dieterbe%2Flibui-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dieterbe%2Flibui-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dieterbe%2Flibui-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dieterbe%2Flibui-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dieterbe","download_url":"https://codeload.github.com/Dieterbe/libui-sh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222395824,"owners_count":16977629,"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":[],"created_at":"2024-07-31T19:01:33.889Z","updated_at":"2024-10-31T10:30:59.189Z","avatar_url":"https://github.com/Dieterbe.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"== A library providing UI functions for shell scripts ==\n\nWhen you write bash/shell scripts, do you write your own error/debug/logging/abort functions?\nLogic that requests the user to input a boolean, string, password, selection out of a list,\ndate/time, integer, ... ?\n\nLibui-sh is written to take care of all that.\nlibui-sh is meant to a be a general-purpose UI abstraction library for shell scripts.\nLow impact, easy to use, but still flexible.\ncli by default, can optionally use ncurses dialogs as well.\n\nTo start using it, you only need to source it and you can start calling its functions.\nTo reconfigure it (i.e. to change UI type, debug settings, logfile location),\njust run the command libui_sh_init\n\nThe library is not strictly a UI library, it also contains a few useful functions like\ncheck_is_in (check if an element can be found in a set - usually an array) and\nseteditor (interactive $EDITOR selection)\n\nIt also comes with a shell color definitions file, just source libui-colors.sh to use them.\n\nDependencies:\n- bash (for cli interface)\n- optionally: dialog (for ncurses interface)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDieterbe%2Flibui-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDieterbe%2Flibui-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDieterbe%2Flibui-sh/lists"}