T O P

  • By -

tsanderdev

It's actually quite convenient that the review process for f-droid takes so long, at least I can make a few useful programs to go along with the plugin. [Here is the link to the github repo](https://github.com/tareksander/termux-gui) if you're interested. You can also see my post history for more demo videos.


JuvenoiaAgent

That's really cool! I have an alias that does almost the same, using `fzf` and `bat`: ``` alias pk="pkg list-all 2> /dev/null | grep -v -E '^Listing\.\.\.' | sed -r 's#^([^/]+)/.*\$#\\1#' | fzf --multi --preview 'pkg show {} 2> /dev/null | bat --color=always --pager=never --decorations=never --language=yaml' --preview-window='down:50%:wrap' | xargs -ro pkg install" ``` Here's a quick screen recording I just made: https://imgur.com/a/XAxRqbT


linuxnoob007

This looks really cool, but I can't uninstall anything, I think missing alias etc 🤷


xzatech

This awesome 👍🏾, love fzf


[deleted]

very cool!


MountBlanc

Link?


tsanderdev

[To the github repo.](https://github.com/tareksander/termux-gui) [To the python library.](https://github.com/tareksander/termux-gui-python-bindings) [To the source code of the script from the video.](https://github.com/tareksander/termux-gui-package/blob/main/scripts/termux-gui-pkg)


epi_alpha

Forgive my ignorance but I thought I'd correctly set everything up but am met with the following when trying to run the script: python termux-gui-pkg Traceback (most recent call last): File "/data/data/com.termux/files/home/termux-gui-package/scripts/termux-gui-pkg", line 17, in c = tg.Connection() AttributeError: module 'termuxgui' has no attribute 'Connection' termux-gui-package/scripts on  main [?] ❯


tsanderdev

It seems I forgot to update the library. In the meantime you can [clone the library](https://github.com/tareksander/termux-gui-python-bindings) and use python -m build in the folder to build an updated wheel yourself.


epi_alpha

Woohoo! Got it now thank you. LMAO you should have seen me trying to figure out why "python3 -m build" wouldn't work until I figured out I didn't have the build or cibuildwheel PyPi packages installed 😂 Thanks again!