Optimize an image or sticker to a png file to make its size smaller than or equal to 512Kb, so that you will be able to add it to a sticker pack using the @stickers bot.
- Apache / nginx
- SSL support
- PHP ≥ 8.4
- ext-json
- ext-pdo
- ext-gd
- webp support
- Imagick
- MariaDB ≥ 10.2.3 or Postgresql ≥ 9.5 or SQLite with JSON1 extension
- SystemD (to process async jobs)
- Crontab (to update cached statistics)
- GIT
cd <vhost-folder>git clone https://github.com/<username>/telegram-stickeroptimizer.gitcd telegram-stickeroptimizerphp artisan migratecp .env.example .env- Edit the
.envfile with your preferences wget https://getcomposer.org/download/latest-2.x/composer.pharphp composer.phar installsudo chmod -R 775 bootstrap/sudo chmod -R 775 storage/php artisan storage:link- Create a new cron:
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1 - Configure a SystemD Unit to execute:
php artisan queue:work --queue=news --memory=512 php artisan nutgram:register-commandsphp artisan nutgram:hook:set https://<domain>.<tls>/hook
This project will be updated in production at every pushed tag to master branch.
Check this github workflow: deploy.yml
Check the Projects page.
Please see the changelog.md for more information on what has changed recently.
Please see the LICENSE.md file for more information.

