2023-02-17 13:01:56 +01:00
2023-02-15 13:57:34 +01:00
2023-02-15 13:25:16 +01:00
2023-02-17 10:32:12 +01:00
2023-02-17 12:59:01 +01:00
2023-02-15 13:25:16 +01:00
2023-02-17 10:32:12 +01:00
2023-02-17 11:45:53 +00:00
2023-02-15 00:19:14 +01:00
2023-02-17 10:32:12 +01:00
2023-02-17 13:01:56 +01:00
2023-02-15 13:25:16 +01:00
2023-02-17 12:50:24 +01:00

bash-tui-toolkit

pre-commit CircleCI Renovate

Toolkit to create simple Terminal UIs using plain bash builtins

Goals

  • provide a simple and clear default set of elements to use creating an interactive terminal UI
  • be clean and minimalistic
  • zero dependencies to be installed
  • parts can be used separately

Install

  1. Download the bundle (entire lib) or single compoennt from releases
  2. Source the bundle in your script or embed

Documentation

For a list of available modules and their documentation please check the docs/modules folder

Tested with

  • Ubuntu 20
  • Ubuntu 22
  • Alpine 3
  • MacOS
  • Windows (Git Bash)

Development

Requirements

  • bash 4+
  • docker 19+
  • GNU make

Generate documentation

To update the module documentation you just need to run

make generate-docs

This builds the documentation inside a docker container and updates the repo locally. Afterwards just commit the docs with your code changes

Build

To combine the script(s) you just need to run

make build

The combined artifacts can be found in dist/

Alternatives

Description
Toolkit to create simple Terminal UIs using plain bash builtins
Readme 174 KiB
Languages
Shell 90.1%
Makefile 7%
Dockerfile 2.9%