https://github.com/derektbrown/pacmanity
Package List Gist Backup via ALPM-Hooks
https://github.com/derektbrown/pacmanity
arch-linux gist pacman yaourt
Last synced: 5 months ago
JSON representation
Package List Gist Backup via ALPM-Hooks
- Host: GitHub
- URL: https://github.com/derektbrown/pacmanity
- Owner: DerekTBrown
- Created: 2016-02-09T18:16:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-10-07T12:54:07.000Z (over 4 years ago)
- Last Synced: 2024-11-25T16:39:24.921Z (7 months ago)
- Topics: arch-linux, gist, pacman, yaourt
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 42
- Watchers: 4
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pacmanity
Keeps a list of installed packages in a Gist at your GitHub account.## Installation
**1. Download and install:**
- From [AUR](https://aur.archlinux.org/packages/pacmanity/) using an AUR helper:
```bash
$ -S pacmanity
```
Some popular AUR helpers are [`yaourt`](https://github.com/archlinuxfr/yaourt), [`trizen`](https://github.com/trizen/trizen) and [`yay`](https://github.com/Jguer/yay).- From [AUR](https://aur.archlinux.org/packages/pacmanity/) using `makepkg`:
```bash
$ wget https://github.com/derektbrown/pacmanity/tarball/master -O - | tar xz
$ cd DerekTBrown-pacmanity-*/
$ makepkg -si
```**2. Setup:**
During the installation of the package you will be prompted to log in to your GitHub account.
## Usage
Once installed, Pacmanity automatically maintains a list of your installed packages in a private Gist at your GitHub account.
The list gets updated every time you install, update or remove packages, keeping track of the current explicitly installed packages from both Arch [official repos](https://www.archlinux.org/packages/) and [AUR](https://aur.archlinux.org/). They are listed in the Gist in that particular order (official, then AUR), separated by a blank line.
No hassle: just install Pacmanity, follow the prompts and you are done.
A pacman hook will be installed and conveniently run when needed to.## Recovery
By cloning the Gist file to your fresh Arch installation you can easily bulk-install them:

```bash
$ git clone [email protected]:.git
$ cd
```- Using `pacman` to install only official packages:
```bash
$ sed -e '/^$/q' $(hostname).pacmanity | sudo pacman -S -
```- Using an AUR helper to install all packages:
```bash
$ -S $(tr '\n' ' ' < $(hostname).pacmanity)
```- Using an AUR helper to install only AUR packages:
```bash
$ -S $(sed -e '/^$/d' $(hostname).pacmanity | tr '\n' ' ')
```## Screenshots
Navigate to your [Gist](https://gist.github.com) in GitHub and you will find:
- List of currently installed packages from official repos:

- List of currently installed packages from AUR:

- Every package installation will be automatically added to the Gist:

- Every package removal will also be reported in the Gist:
