https://github.com/boshtannik/simple-text-menu
Implementation of idea of simple in setup / use text menu. Could be used via web sockets, terminals, chat interfaces, etc..
https://github.com/boshtannik/simple-text-menu
Last synced: 3 months ago
JSON representation
Implementation of idea of simple in setup / use text menu. Could be used via web sockets, terminals, chat interfaces, etc..
- Host: GitHub
- URL: https://github.com/boshtannik/simple-text-menu
- Owner: boshtannik
- License: gpl-3.0
- Created: 2022-08-28T14:20:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T11:21:36.000Z (about 2 years ago)
- Last Synced: 2025-01-20T07:34:04.027Z (5 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-text-menu
Implementation of idea of simple in setup / use text menu. Is for using via text prompt: (Terminal, Sockets, Chat clients, etc..)The idea of recursive engine to draw dialog menus with different contexts that are
simple to organize was born, when i was implementing text-like menu wuth multiple
choices for the user interface on the microcontroller.So, the similar idea might be used to provide user interface in IOT devices,
or the menu itself can also be rendered on server machine, and then might be
sent trough text sending protocols, like TCP, and then just wait for user input
to process further actions.The idea lays in the tree-like structure of menus hierarchy. Like:
```
Menu
|
+---Sound
| |
| +--- On / Off (Callable handler that handles user input)
| |
| +--- Volume (Callable handler that handles user input)
|
+---Display
| |
| +--- On / Off (Callable handler that handles user input)
| |
| +--- Brightness (Callable handler that handles user input)
|
+---Etc...
```