Home

Awesome

<img src="https://i.imgur.com/6Wi7eHS.png" alt="logo"/>

Telegram Bot: Sticker Optimizer

link status link link GitHub

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

🛡 Requirements

🗃️ Flow chart

flow

🚀 First deploy

  1. cd <vhost-folder>
  2. git clone https://github.com/<username>/telegram-stickeroptimizer.git
  3. cd telegram-stickeroptimizer
  4. php artisan migrate
  5. cp .env.example .env
  6. Edit the .env file with your preferences
  7. wget https://getcomposer.org/download/latest-2.x/composer.phar
  8. php composer.phar install
  9. sudo chmod -R 775 bootstrap/
  10. sudo chmod -R 775 storage/
  11. php artisan storage:link
  12. Create a new cron: * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
  13. Configure a SystemD Unit to execute: php artisan queue:work --queue=news --memory=512
  14. php artisan nutgram:register-commands
  15. php artisan nutgram:hook:set https://<domain>.<tls>/hook

🌠 Continuous deployment

This project will be updated in production at every pushed tag to master branch.<br> Check this github workflow: deploy.yml

☑ TODO List

Check the Projects page.

📃 Changelog

Please see the changelog.md for more information on what has changed recently.

🏅 Credits

📖 License

Please see the LICENSE.md file for more information.