Open
Description
Feature description
A termux-widget command that shows the texts right in the home screen widget, like we use termux-notification or termux-toast.
Expected usage
termux-widget --id widget1 --title "Sample title" --text "Sample text"
This should show the passed text arguments. If this feature is available, the possibilities are extended like notifying script outputs, watching logs, piping other termux-api outputs to home screen.
I have currently implemented a prototype with Termux+Nginx+Meta Widget. Termux will wrap the texts inside an HTML tag. Meta Widget fetch the HTML from local Nginx service. But, this method is not that efficient.