https://github.com/pvonmoradi/pac-menu
A simple menu-driven bash client for repology.org (unofficial)
https://github.com/pvonmoradi/pac-menu
dmenu-scripts linux linux-distribution packaging repology
Last synced: 6 months ago
JSON representation
A simple menu-driven bash client for repology.org (unofficial)
- Host: GitHub
- URL: https://github.com/pvonmoradi/pac-menu
- Owner: pvonmoradi
- License: mit
- Created: 2025-09-25T18:00:46.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-10-04T10:43:59.000Z (6 months ago)
- Last Synced: 2025-10-04T12:26:32.773Z (6 months ago)
- Topics: dmenu-scripts, linux, linux-distribution, packaging, repology
- Language: Shell
- Homepage:
- Size: 1.75 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pac-menu
A simple (unofficial) bash client for [repology.org](https://repology.org/) to
quickly check the packaging status of a package among differnt distributions of
GNU/Linux or other supported repositories of repology.
## Dependencies
- `jq fq curl notify-send xdg-open`
- `dmenu | rofi | fuzzel` : only one is needed
In a Debian-like distro, these can be installed with:
``` shell
sudo apt install jq fq curl libnotify-bin dmenu # or rofi/fuzzel
```
## Usage
Check `pac-menu -h`:
```console
Display packaging status in different repositories via repology.org
Usage: pac-menu [OPTIONS] PACKAGE-NAME
Options:
-d : Use selector menu to enter package-name
-V : Print version
-h : Print help message
```
## Examples
- `pac-menu thunar`
- `pac-menu -d`: (then type query in dmenu)
- `pac-menu ripgr`: this would invoke a API search, then a "refine query" step
would be shown before proceeding to showing final results
Call with `-d` on invoking via keybinding. A [desktop
file](contrib/repology.desktop) is provided.
## Customization
On top of the script, these variables can be edited:
- `selector_app` : depending on Xorg (dmenu) or Wayland (rofi/fuzzel)
- `priority_repo` : distro name that you want its status shown first
- `selector_font`
- `use_custom_redirection` : use predefined project urls instead of repology
## Development
- linter: `shellcheck`
- formatter: `shfmt -i 4 -bn -ci -sr`