{"repo":"Lukasss93/telegram-stickeroptimizer","free":true,"listed":false,"github":"https://github.com/Lukasss93/telegram-stickeroptimizer","clone":"git clone https://github.com/Lukasss93/telegram-stickeroptimizer.git","description":"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.","language":"PHP","stars":23,"topics":["laravel","telegram-bot","php"],"license":"AGPL-3.0","category":"workflow-automation","readme_excerpt":"Telegram Bot: Sticker Optimizer 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. 🛠 Built with - Programming language: PHP - Language framework: Laravel - Bot framework: Nutgram 🛡 Requirements - 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 🗃️ Flow chart 🚀 First deploy 0. cd 1. git clone https://github.com/ /telegram-stickeroptimizer.git 2. cd telegram-stickeroptimizer 3. php artisan migrate 4. cp .env.example .env 5. Edit the .env file with your preferences 6. wget https://getcomposer.org/download/latest-2.x/composer.phar 7. php composer.phar install 8. sudo chmod -R 775 bootstrap/ 9. sudo chmod -R 775 storage/ 10. php artisan storage:link 11. Create a new cron: cd /path-to-your-project && php artisan schedule:run /dev/null 2 &1 12. Configure a SystemD Unit to execute: php artisan queue:work --queue=news --memory=512 13. php artisan nutgram:register-commands 14. php artisan nutgram:hook:set https:// . /hook 🌠 Continuous deployment This project will be updated in production at every pushed tag to master branch. Check this github workflow: deploy.yml ☑ TODO List Check the Projects page. 📃 Changelog Please see the changelog.md for more information on what ha","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lukasss93","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lukasss93/telegram-stickeroptimizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}