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://gitlab.com/btrfs-assistant/btrfs-assistant is a good alternative to timeshift-autosnap-apt