Bash Simple Curses
Bash library for creating terminal windows and dashboards without dependencies

What it is
Bash Simple Curses is an open source bash library that enables developers to create terminal based windows and dashboards for monitoring and presentation purposes. The library runs entirely in bash with no external dependencies making it lightweight and portable across Unix like systems. It is designed as a presentation layer rather than an interactive form builder and the documentation recommends tools like whiptail or dialog for form heavy interfaces.
The library provides a set of functions such as window creation, text appending, separators, tabbed output, file display, and command execution output capture. These functions can be combined to build structured dashboards that refresh in a main loop. The API is intentionally simple so that shell script authors can add visual structure to existing scripts without learning a new language or installing packages.
System administrators, DevOps engineers, and bash script authors benefit most from this tool when they need to display job status, service health, or log summaries in a terminal window. Because it works by sourcing a single script file it integrates easily into existing automation pipelines, cron jobs, or container entrypoints where a quick visual overview is valuable.
Getting started requires downloading the simple_curses.sh file, sourcing it in a script, defining a main function that declares windows and content, and then calling main_loop to start the display. The documentation includes a clear example showing two side by side windows with dynamic command output. A full command reference covers additional helpers like append_tabbed and append_file for more complex layouts.
The project stands out for its zero dependency approach and its focus on dashboard style presentation rather than full terminal application frameworks. Hosted on Read the Docs with MkDocs, the documentation is versioned, searchable, and maintained alongside the source code. This makes it a practical choice for teams that want terminal UIs without the overhead of heavier libraries.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- View documentation and function reference
- Learn how to create terminal dashboards
- Download or source the library script
- See usage examples with code snippets
- Browse versioned documentation history
Who it's for
Bash developers, system administrators, DevOps engineers building terminal interfaces
Frequently asked questions about bashsimplecurses.readthedocs.io
›What is Bash Simple Curses used for
It is a bash library for building terminal dashboards and windowed displays to present monitoring data, job results, or command output in a structured layout.
›How do I install Bash Simple Curses
Download the simple_curses.sh file and source it in your bash script using source path/to/simple_curses.sh.
›Can Bash Simple Curses create interactive forms
No, it is a presentation library. For interactive forms the documentation suggests using whiptail or dialog instead.
›What functions does Bash Simple Curses provide
Core functions include window, append, addsep, append_command, append_tabbed, append_file, endwin, col_right, and main_loop for building dashboard layouts.
›Does Bash Simple Curses have any dependencies
The library has zero external dependencies and runs on standard bash.
›Where can I find the complete command reference
The documentation site includes a command reference section linked from the main page covering all available functions.
›Is Bash Simple Curses actively maintained
The project is hosted on Read the Docs with versioned documentation including master and stable branches indicating ongoing maintenance.
