Skip to content

zewebdev1337/pacrepo

Repository files navigation

pacrepo

A small TUI for toggling pacman repositories on Arch btw

Screenshot

Features

  • View all configured pacman repositories
  • Toggle repositories on/off with a keypress
  • Automatic database sync after changes (pacman -Sy)
  • Sudo permission checking

Usage

sudo pacrepo

Building

  1. Ensure you have Go 1.16+ installed and clone this repository:
    git clone [email protected]:zewebdev1337/pacrepo.git
    cd pacrepo
  2. Build and install:
    go build -o pacrepo cmd/main.go
    sudo mv pacrepo /usr/local/bin/

Known Limitations

  • Only modifies repository sections ([options] and other sections are out of scope)
  • Skips known example/placeholder repository names

License

This project is released under the MIT License. Check the LICENSE file for details.