|
| 1 | +EasyBashGUI |
| 2 | +=========== |
| 3 | + |
| 4 | +Simplified way to code bash made GUI frontend dialogs! Check the youtube video: |
| 5 | + |
| 6 | +[](https://www.youtube.com/watch?v=FEn4doXmiX0) |
| 7 | + |
| 8 | +## Introduction to EBG |
| 9 | + |
| 10 | +.. there is [bashlib](https://github.com/cyberark/bash-lib) that is for the code |
| 11 | +itselft, well so then for the GUIs there are **EasyBashGUI** then! |
| 12 | + |
| 13 | +**E**asy **B**ash **G**ui shortened as EBG, is a Posix compliant Bash functions |
| 14 | +library that aims to give unified GUI functions using frontends for dialogs boxeds |
| 15 | +(from the user's point of view are frontends but from the EGB side are backends) |
| 16 | + |
| 17 | +#### Backends environments GUI |
| 18 | + |
| 19 | +EBG implements differents dialogs boxes! You don't have to worry about what |
| 20 | +environment you are running the script in, as **EasyBashGUI** will handle this |
| 21 | +transparently, based on the availability of the backends (frontends). |
| 22 | + |
| 23 | +* Console mode: |
| 24 | + * dialog |
| 25 | + * whiptail |
| 26 | +* Graphical mode: |
| 27 | + * yad |
| 28 | + * gtkdialog |
| 29 | + * kdialog |
| 30 | + * zenity |
| 31 | + * xdialog |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +#### Compatibilty and runtime |
| 36 | + |
| 37 | +EBG is coded in `bash`, and uses most of `coreutils` commands, but it may work in |
| 38 | +any other env, becouse those are just used internally. |
| 39 | + |
| 40 | +## Components |
| 41 | + |
| 42 | +EBG is fully modular: |
| 43 | + |
| 44 | +* `easybashgui` a launcher that will be the endpoint sourcered in your scripts |
| 45 | +* `easybashgui-debug` that toggles some debug options managed by the previus component |
| 46 | +* `easybashgui.lib` that managed the backends, called as widget library |
| 47 | +* `easydialog-legacy` stand-alone to create dialog boxes externally (as old nowadays) |
| 48 | +* `easybashlib` used for for optional functions like cleaning temporally working dir |
| 49 | + |
| 50 | +## Quick start |
| 51 | + |
| 52 | +``` bash |
| 53 | +source easybashgui |
| 54 | + |
| 55 | +message "hola" |
| 56 | +``` |
| 57 | + |
| 58 | +Pretty easy!? right? Read the "Quick start usage" section at the [docs/install.md](docs/install.md#quick-start-usage) |
| 59 | +file! |
| 60 | + |
| 61 | +### INSTALLATION |
| 62 | + |
| 63 | +Please check [docs/install.md](docs/install.md) document file! |
| 64 | + |
| 65 | +### Documentation |
| 66 | + |
| 67 | +Please check [docs/README.md](docs/README.md) document file! |
| 68 | + |
| 69 | +## Credits. |
| 70 | + |
| 71 | +Thanks to Bash, Yad, Gtkdialog, Xdialog, Kdialog, Zenity, Cdialog, and Whiptail authors, this library was nothing without their work. Many thanks. |
| 72 | +Thanks to Frank Dietermann for suggestion though to make EBG "posix compliant" (since vers. 11.X.X ) |
| 73 | +Thanks to Jose Joao Dias de Almeida for the makefile tip. |
| 74 | +Thanks to Chris "cgat" for his many ideas and suggestions that lead to version's "5.X.X" EasyBashGUI "revolution". |
| 75 | +Thanks to Davide Depau for his tests and support, and his effort to make EasyBashGUI Debian policy compliant, and finally for his man page. |
| 76 | +Thanks to Christian Prause for his patience and Git support. |
| 77 | +Thanks to Lucio Messina for "Debian policy" tips and support. |
| 78 | +Thanks to zen0bit for first try and README impulse revival. |
| 79 | + |
| 80 | +Please, let me know if my work has been useful for you. |
| 81 | +Vittorio Cagnetta |
| 82 | +vaisarger@gmail.com |
| 83 | +https://github.com/BashGui/easybashgui |
| 84 | + |
| 85 | +## LICENSE |
| 86 | + |
| 87 | +GPLv3+ |
0 commit comments