it is a shell script, I can paste it in gedit save it in /home/user/.local/bin as flatpak-automatic-updater set it as executable, then it can be run as a command in terminal.
to run it regularly you need to make a timer.
courtesy of @stalebrim from thist post
You need to create two files:
/etc/systemd/system/flatpak-automatic-updater.service
[Unit]
Description=Run flatpak update
[Service]
Type=oneshot
ExecStart=/home/user/.local/bin/flatpak-automatic-updater
/etc/systemd/system/eopkg.timer
[Timer]
OnBootSec=10min
OnUnitActiveSec=12h
Unit=flatpak-automatic-updater.service
[Install]
WantedBy=multi-user.target #tis can bee changed if necesary
Then enable the timer with sudo systemctl enable eopkg.timer --now