{"id":16674900,"url":"https://github.com/lukasss93/telegram-stickeroptimizer","last_synced_at":"2025-09-06T19:32:55.862Z","repository":{"id":42566901,"uuid":"343954274","full_name":"Lukasss93/telegram-stickeroptimizer","owner":"Lukasss93","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.","archived":false,"fork":false,"pushed_at":"2025-01-29T23:18:22.000Z","size":6235,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T09:43:04.152Z","etag":null,"topics":["laravel","php","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lukasss93.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.bot.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"Lukasss93","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-03-03T00:39:00.000Z","updated_at":"2025-07-08T23:15:28.000Z","dependencies_parsed_at":"2024-01-04T20:31:11.457Z","dependency_job_id":"b8264917-329c-4800-9074-d91019b57d05","html_url":"https://github.com/Lukasss93/telegram-stickeroptimizer","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/Lukasss93/telegram-stickeroptimizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasss93%2Ftelegram-stickeroptimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasss93%2Ftelegram-stickeroptimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasss93%2Ftelegram-stickeroptimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasss93%2Ftelegram-stickeroptimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lukasss93","download_url":"https://codeload.github.com/Lukasss93/telegram-stickeroptimizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasss93%2Ftelegram-stickeroptimizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273953509,"owners_count":25197316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","php","telegram-bot"],"created_at":"2024-10-12T12:44:50.895Z","updated_at":"2025-09-06T19:32:55.835Z","avatar_url":"https://github.com/Lukasss93.png","language":"PHP","funding_links":["https://github.com/sponsors/Lukasss93"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://i.imgur.com/6Wi7eHS.png\" alt=\"logo\"/\u003e\n\n# Telegram Bot: Sticker Optimizer\n\n[![link](https://img.shields.io/badge/bot-%40newstickeroptimizerbot-blue)](https://t.me/newstickeroptimizerbot)\n![status](https://img.shields.io/badge/status-online-green)\n[![link](https://img.shields.io/badge/news-%40LKS93C-blue)](https://t.me/LKS93C)\n[![link](https://img.shields.io/badge/support-%40Lukasss93Support-orange)](https://t.me/Lukasss93Support)\n![GitHub](https://img.shields.io/github/license/Lukasss93/telegram-stickeroptimizer)\n\n\u003e Optimize an image or sticker to a png file to make its size smaller than or equal to 512Kb,\n\u003e so that you will be able to add it to a sticker pack using the [@stickers](https://t.me/stickers) bot.\n\n## 🛠 Built with\n\n- Programming language: PHP\n- Language framework: [Laravel](https://github.com/laravel/laravel)\n- Bot framework: [Nutgram](https://github.com/SergiX44/Nutgram)\n\n## 🛡 Requirements\n\n- Apache / nginx\n- SSL support\n- PHP ≥ 8.4\n    - ext-json\n    - ext-pdo\n    - ext-gd\n    - webp support\n- Imagick\n- MariaDB ≥ 10.2.3 or Postgresql ≥ 9.5 or SQLite with JSON1 extension\n- SystemD (to process async jobs)\n- Crontab (to update cached statistics)\n- GIT\n\n## 🗃️ Flow chart\n![flow](.assets/flow.png)\n\n## 🚀 First deploy\n\n0. `cd \u003cvhost-folder\u003e`\n1. `git clone https://github.com/\u003cusername\u003e/telegram-stickeroptimizer.git`\n2. `cd telegram-stickeroptimizer`\n3. `php artisan migrate`\n4. `cp .env.example .env`\n5. Edit the `.env` file with your preferences\n6. `wget https://getcomposer.org/download/latest-2.x/composer.phar`\n7. `php composer.phar install`\n8. `sudo chmod -R 775 bootstrap/`\n9. `sudo chmod -R 775 storage/`\n10. `php artisan storage:link`\n11. Create a new cron: `* * * * * cd /path-to-your-project \u0026\u0026 php artisan schedule:run \u003e\u003e /dev/null 2\u003e\u00261`\n12. Configure a SystemD Unit to execute: `php artisan queue:work --queue=news --memory=512`\n13. `php artisan nutgram:register-commands`\n14. `php artisan nutgram:hook:set https://\u003cdomain\u003e.\u003ctls\u003e/hook`\n\n## 🌠 Continuous deployment\nThis project will be updated in production at every pushed tag to master branch.\u003cbr\u003e\nCheck this github workflow: [deploy.yml](.github/workflows/deploy.yml)\n\n## ☑ TODO List\nCheck the [Projects](https://github.com/Lukasss93/telegram-stickeroptimizer/projects/2) page.\n\n## 📃 Changelog\nPlease see the [changelog.md](changelog.md) for more information on what has changed recently.\n\n## 🏅 Credits\n- [Luca Patera](https://github.com/Lukasss93)\n- [All Contributors](https://github.com/Lukasss93/telegram-stickeroptimizer/contributors)\n\n## 📖 License\nPlease see the [LICENSE.md](LICENSE.md) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasss93%2Ftelegram-stickeroptimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukasss93%2Ftelegram-stickeroptimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasss93%2Ftelegram-stickeroptimizer/lists"}