{"id":15605150,"url":"https://github.com/david-lor/dalle-mini-telegram-bot","last_synced_at":"2025-04-26T16:20:03.610Z","repository":{"id":37031773,"uuid":"501770463","full_name":"David-Lor/dalle-mini-telegram-bot","owner":"David-Lor","description":"A Telegram bot interface for DALL·E mini","archived":false,"fork":false,"pushed_at":"2025-01-01T03:28:20.000Z","size":492,"stargazers_count":50,"open_issues_count":3,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-26T10:31:45.350Z","etag":null,"topics":["dalle","dalle-mini","python","python3","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"https://telegram.me/dalle_mini_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/David-Lor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2022-06-09T18:41:28.000Z","updated_at":"2025-04-17T22:18:33.000Z","dependencies_parsed_at":"2025-03-07T19:31:11.993Z","dependency_job_id":"4085fcb3-3b45-4331-a7ba-4bea05a4fb06","html_url":"https://github.com/David-Lor/dalle-mini-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":"David-Lor/generic-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fdalle-mini-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fdalle-mini-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fdalle-mini-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Lor%2Fdalle-mini-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David-Lor","download_url":"https://codeload.github.com/David-Lor/dalle-mini-telegram-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250976114,"owners_count":21516878,"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","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":["dalle","dalle-mini","python","python3","telegram","telegram-bot","telegram-bot-api"],"created_at":"2024-10-03T04:02:39.195Z","updated_at":"2025-04-26T16:20:03.589Z","avatar_url":"https://github.com/David-Lor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DALL·E mini Telegram bot\n\n[![@dalle_mini_bot](https://img.shields.io/badge/Telegram%20Bot-@dalle_mini_bot-blue?logo=telegram\u0026style=plastic)](https://telegram.me/dalle_mini_bot)\n\nA Telegram bot interface for [DALL·E mini](https://github.com/borisdayma/dalle-mini).\nRequest 9 AI-generated images from any prompt you give, directly from Telegram.\n\n![Bot logo, generated by DALL·E mini with the prompt \"a cat playing with a paper plane\"](docs/bot-logo.jpg)\n\n[![Telegram Bot screenshot](docs/Telegram-DalleMiniBot-screenshot.png)](https://telegram.me/dalle_mini_bot)\n\n## Features\n\n- Request from Telegram, return the 9 pictures result as an album\n- Status report while the images are being generated (the bot sends a 'typing-like' status to the user, until all its requests are completed)\n- If the server is too busy, keep retrying until success (or timeout)\n\nThe bot is deployed here: [https://telegram.me/dalle_mini_bot](https://telegram.me/dalle_mini_bot)\n\n## Changelog\n\n- v0.2.2\n  - Support Redis authentication\n  - Fixed exceptions not being included on \"Request failed\" log records\n  - Fixed loguru incompatibility with ApiTelegramException\n  - Ignore errors when pushing logs to Redis\n- v0.2.1\n  - Graceful shutdown (configurable; wait until pending requests are completed, while not accepting new requests)\n  - Retry Telegram Bot API requests on 'Too Many Requests' error; usage of requests.Session\n  - Set bot commands via API on startup, for Telegram hinting\n  - Limit prompt text length on Generate command (configurable min/max limits via settings)\n  - Add Redis integration for sending logs to Redis queue\n  - Improvements in log records\n- v0.1.1\n  - Send message to users while the image is being generated, informing that it may take a while; the message is deleted on success or controlled error\n  - Add `/about` command\n  - Timeout chat 'typing-like' action \u0026 stop it when bot blocked by user\n  - Remove chats with count of 0 from Counters\n  - Setting for deleting Telegram bot Webhook on startup\n- v0.0.2\n  - Add pysocks requirement\n  - Detect when bot blocked by user on middleware\n- v0.0.1\n  - Initial release\n    - Generate images from `/generate` command, return as album\n    - `/generate` command rate limited at chat level (concurrent requests limit)\n    - `/generate` command sends a 'typing-like' status to the user, while the prompt/s requested are being generated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-lor%2Fdalle-mini-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-lor%2Fdalle-mini-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-lor%2Fdalle-mini-telegram-bot/lists"}