{"id":47811309,"url":"https://github.com/krisfur/fex","last_synced_at":"2026-04-03T18:12:13.257Z","repository":{"id":339765255,"uuid":"1163291660","full_name":"krisfur/fex","owner":"krisfur","description":"Interactive system package search TUI in rust.","archived":false,"fork":false,"pushed_at":"2026-03-18T21:55:46.000Z","size":316,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-19T10:55:15.891Z","etag":null,"topics":["cli","interactive-search","package-installer","package-management","search","terminal-based","tui"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/fex","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krisfur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-21T11:58:49.000Z","updated_at":"2026-03-18T22:45:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/krisfur/fex","commit_stats":null,"previous_names":["krisfur/fex"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/krisfur/fex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Ffex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Ffex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Ffex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Ffex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisfur","download_url":"https://codeload.github.com/krisfur/fex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisfur%2Ffex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","interactive-search","package-installer","package-management","search","terminal-based","tui"],"created_at":"2026-04-03T18:12:12.536Z","updated_at":"2026-04-03T18:12:13.252Z","avatar_url":"https://github.com/krisfur.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fex\n\nA universal interactive package search TUI.\n\n![screenshot](./screenshot.png)\n\n## Supported Providers\n\n- **apk** - Alpine Linux\n- **apt** - Debian/Ubuntu\n- **brew** - Homebrew (macOS/Linux)\n- **dnf** - Fedora/RHEL\n- **flatpak** - Flatpak (cross-distro, searches Flathub and other remotes)\n- **nix** - Nix/NixOS\n- **pacman** - Arch Linux (official repos)\n- **paru** - Arch AUR helper (official repos + AUR)\n- **snap** - Snap (cross-distro, searches the Snap Store)\n- **xbps** - Void Linux\n- **yay** - Arch AUR helper (official repos + AUR)\n- **zerobrew** - Zerobrew (Homebrew drop-in)\n- **zypper** - openSUSE\n\n\u003e On some systems the first search may be slow if the package manager cache needs updating.\n\n## Installation\n\nInstall `rust` following official instructions [here](https://rust-lang.org/tools/install/).\n\nThen simply run:\n\n```bash\ncargo install fex\n```\n\nOn macOS with Homebrew, you can also install it from the tap:\n\n```bash\nbrew install krisfur/tap/fex\n```\n\n## Building\n\nWith `cargo`:\n\n```bash\ncargo build --release\n```\n\nThe binary ends up at `target/release/fex`.\n\n## Usage\n\n```bash\nfex                 # Auto-detect best available provider\nfex -p pacman       # Use a specific provider\nfex -l              # List available providers\nfex -h              # Show help\nfex -V              # Show version\n```\n\n## Controls\n\n| Key | Action |\n|-----|--------|\n| Type | Search for packages |\n| Up / Down | Navigate results |\n| PgUp / PgDn | Navigate by page |\n| Home / End | Jump to first / last result |\n| Enter | Install selected package |\n| Escape | Clear search |\n| Ctrl+X | Quit |\n\n## Testing with Docker\n\nInstall Docker (example for Arch):\n\n```bash\nsudo pacman -S docker\nsudo systemctl enable --now docker\nsudo usermod -aG docker $USER\nnewgrp docker  # or logout/login\n```\n\nThen run a distro container with `fex` already built:\n\n```bash\n./testing/test.sh alpine    # Alpine (apk)\n./testing/test.sh arch      # Arch Linux (pacman, yay)\n./testing/test.sh fedora    # Fedora (dnf)\n./testing/test.sh flatpak   # Flatpak with Flathub\n./testing/test.sh homebrew  # Linuxbrew (brew)\n./testing/test.sh nixos     # NixOS (nix)\n./testing/test.sh opensuse  # openSUSE (zypper)\n./testing/test.sh snap      # Snap Store (requires privileged — handled automatically)\n./testing/test.sh ubuntu    # Ubuntu (apt)\n./testing/test.sh void      # Void Linux (xbps)\n./testing/test.sh zerobrew  # Zerobrew (brew symlink)\n```\n\nPodman works as a drop-in replacement — the script detects it automatically.\n\n## Adding a New Provider\n\n1. Create `src/providers/yourprovider.rs` and implement the `Provider` trait:\n   - `name()` — provider name string\n   - `is_available()` — check if the tool exists (`command_exists(\"tool\")`)\n   - `search(query)` — run the search command and return a `SearchResult`\n   - `install_command(pkg)` — return the install command string\n   - Optionally override `source_color(source)` for colored source badges\n2. Declare the module in `src/providers/mod.rs` and add it to `create_provider()`, `auto_detect_provider()`, and `get_available_providers()`\n\n## Inspiration\n\nBased on my prior work on the C++26 version of this [paclook](https://github.com/krisfur/paclook).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisfur%2Ffex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisfur%2Ffex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisfur%2Ffex/lists"}