https://github.com/luisadha/drawercli
A cli app for termux to open user android apps with Termuxlauncher backend as your main launcher
https://github.com/luisadha/drawercli
android cli fzf fzf-interface fzf-preview-pane fzf-scripts java launcher nix-on-droid nixpkgs shell termux termux-api termux-apps termux-environment termux-hacking termux-tool termux-tools termuxlauncher ztmexluis-compability
Last synced: 3 months ago
JSON representation
A cli app for termux to open user android apps with Termuxlauncher backend as your main launcher
- Host: GitHub
- URL: https://github.com/luisadha/drawercli
- Owner: luisadha
- License: mit
- Archived: true
- Created: 2023-11-04T17:43:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-23T18:58:52.000Z (5 months ago)
- Last Synced: 2025-01-04T11:23:44.963Z (4 months ago)
- Topics: android, cli, fzf, fzf-interface, fzf-preview-pane, fzf-scripts, java, launcher, nix-on-droid, nixpkgs, shell, termux, termux-api, termux-apps, termux-environment, termux-hacking, termux-tool, termux-tools, termuxlauncher, ztmexluis-compability
- Language: Shell
- Homepage: https://bpkg.sh/pkg/drawercli
- Size: 192 KB
- Stars: 22
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://img.shields.io/github/license/luisadha/drawercli.svg) 
[](https://img.shields.io/badge/Maintained%3F-no-red.svg)  App Drawer for Termux
Find drawercli on alrc-termux plugin
## Description
A cli app for termux to open user android apps with Termuxlauncher backend as your main launcher, installation of termuxlauncher apps is necessary for the script to work. [Follow the installation instructions](https://github.com/amsitlab/termuxlauncher/releases)## Features
- Interactive by scrolling the screen to select apps and typing to find favorite apps (this parts has been improved on new update).
- Updated app list in Termuxlauncher.
- Display frequently opened apps.
- Makes app suggestions to open with a specified number.
- Calculate total user applications
- Support touchscreen
- Can be installed in ~/.shortcuts to run via Termux:widget
- Can be installed on ztmexluis or luis-toolbox.sh
> [!NOTE]
> Without Termuxlauncher & Termux this tool won't work.## Dependencies & Requirements
#### A. Download and install these apk's
* Termuxlauncher apk's [Check this!](https://github.com/amsitlab/termuxlauncher/releases)
* Termux:widget (optional) [Find on Play store](https://play.google.com/store/apps/details?id=com.termux.widget)#### B. Other
* Android minimum version 5.0 up to Android 11
#### C. Install packages
* ```input``` keyevent (is in /system/bin make sure it is part of the $PATH variable) (**Optional**)
* git, curl, fzf, coreutils, sed, grep and which.
* termux-setup-storage## Install with Bash Package Manager ([bpkg](https://bpkg.sh/bpkg/))
```sh
bpkg install -g luisadha/drawercli
```* Install with Make
```make
make install
```* Install with Nix-build
```nix
nix-build
```
```nix
nix-env -i ./result
```## Uninstall
- general (i.e.: termux)
```sh
rm -f ${PREFIX}/bin/drawercli
```
- nix-on-droid```nix
nix-env -e drawercli
nix-env --rollback
```- gnumake
```make
make uninstall
```
## Optional Config
Try our custom configurations, Termux config is stored in ~/.termux/termux.properties```json
extra-keys-style = none
extra-keys = [[{key: "drawercli \n", popup: KEYBOARD, display: drawercli}]]
```
## Usage```sh
drawercli -S 4 | -uCommand-line-based app drawer to display a list of all user-installed apps on the device and many other features.
drawercli requires the termuxlauncher to be installed and used at least once to use this tool.
Available options:
-S NUMBER To display app recommendations to open, recommendations will be displayed according to the given number.
-c, --clear-history To clear the history of opened app activities.
-r To refresh the list of apps, newly installed apps will be displayed after the refresh.
-s, --skip Does nothing, literally opens Termux itself.
-u To display the most frequently used apps.
-w, --see-wallpaper To view the wallpaper or open the current-wallpaper app.
-h, --help To display this help message.
```
## Tested
| Platform | Status |
| :---------------- | :------: |
| Termux | ✅ |
| Nix-on-droid | ✅ |
| Acode Terminal Plugin | ❌ |## Issue
1. Fix shebang on nix```bash
sed -i '1s|#!/data/data/com.termux.nix/files/usr/bin/bash|#!/data/data/com.termux.nix/files/home/.nix-profile/bin/bash|' $(command -v drawercli)
```2. Issues related to nix-on-droid, Try clearing this duplicate package garbage fix
```bash
nix-collect-garbage
```## Author
@luisadha
## Contributor
@zaedstudioshpkentang
## 💰 Support my work by Donating
[](https://www.buymeacoffee.com/luisadha)
[](https://www.paypal.com/paypalme/luisadha01)## Thanks
- github.com/amsitlab/termuxlauncher
- junegunn.github.io/fzf
- github.com/bpkg/bpkg