- Make sure PHP is installed on your server (tested on PHP 8.4.5).
- Copy
flamodem.config.example.phptoflamodem.config.php, adjust the configuration options and put it into your desired upload directory. Copyindex.phpas well. - Make sure the upload directory is writable by your web server.
- Use this fork: https://github.com/aequabit/flameshot (PKGBUILD)
- Adjust
~/.config/flameshot/flameshot.ini.- Set
uploadCustomUrltoBASE_URL, as configured inflamodem.config.php. (Example:https://image.example.org) - Set
uploadClientSecrettoAUTH_TOKEN, as configured inflamodem.config.php. - To change the filename pattern, set
filenamePatternaccording to the strftime format. (Default:%F_%H-%M) - For randomized filenames, set
uploadRandomFilenametotrue. (Default:false)
- Set