Timeshift auto-snapshot script for Ubuntu and Debian based systems which creates snapshots of your system with timeshift before a package install, remove or upgrade using DPkg::Pre-Invoke hook in apt. Fork of timeshift-autosnap from AUR.
Why do you think that https://github.com/Antynea/grub-btrfs is a good alternative to timeshift-autosnap-apt