{"id":22177653,"url":"https://github.com/fauzaanu/fooocus-telegram","last_synced_at":"2026-04-25T23:34:31.467Z","repository":{"id":244731973,"uuid":"816094274","full_name":"fauzaanu/fooocus-telegram","owner":"fauzaanu","description":"Telegram based improvements while using fooocus on mobile over network","archived":false,"fork":false,"pushed_at":"2024-06-17T10:50:05.000Z","size":602,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T21:44:14.153Z","etag":null,"topics":["fooocus","sdxl","stable-diffusion","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fauzaanu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-17T03:02:10.000Z","updated_at":"2024-06-17T10:50:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4528b76d-adcf-443d-8b47-0260136abe2c","html_url":"https://github.com/fauzaanu/fooocus-telegram","commit_stats":null,"previous_names":["fauzaanu/fooocus-telegram"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fauzaanu/fooocus-telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzaanu%2Ffooocus-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzaanu%2Ffooocus-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzaanu%2Ffooocus-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzaanu%2Ffooocus-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fauzaanu","download_url":"https://codeload.github.com/fauzaanu/fooocus-telegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzaanu%2Ffooocus-telegram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32280976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fooocus","sdxl","stable-diffusion","telegram"],"created_at":"2024-12-02T08:30:18.995Z","updated_at":"2026-04-25T23:34:31.453Z","avatar_url":"https://github.com/fauzaanu.png","language":"Python","readme":"# 📷 Fooocus Telegram\n\n![img.png](assets/img.png)\n\n## 🤔 Why use this\n\n### 📱 **Enhanced Mobile Experience**\n- **Problem**: When using Fooocus from a mobile device, the connection drops when the browser loses focus. This disconnect makes it impossible to retrieve images directly on mobile.\n- **Solution**: This script sends images to Telegram, ensuring you receive your generated images without staying connected to the server.\n\n### 💾 **Efficient Storage Management**\n- **Problem**: Your PC storage can quickly fill up with generated images you don't need.\n- **Solution**: By sending images to Telegram, which works across all devices and never deletes files, you keep your PC storage clean and manage your outputs better.\n\n### 🌐 **Universal Access**\n- **Convenience**: Access your images anytime, anywhere via Telegram without manually transferring files. Telegram ensures your files are safely stored and accessible from any device.\n- **Shared Foocus**: If you perheps makes the server public, (within homenetwork or even online), this could enhance the experience for other users who use it via mobile as well.\n\n\u003e Had an itch, so I scratched it. 🤷‍♂️\n\n## 🌟 Features\n\n1. **Monitor Output Path**: Watches for new images in the Fooocus output directory.\n2. **Send to Telegram**: Automatically sends images to your Telegram chat or channel.\n3. **Share Styles JSON**: Sends a styles JSON file to recreate the image (default name is the image seed).\n4. **Clean Up**: Deletes the image and log file from the output path after sending.\n\n## 📋 Requirements\n\n1. **Fooocus Config**: Ensure metadata is enabled.\n2. **Telegram Bot Token**: Needed to send messages.\n3. **Telegram Chat ID**: Specify the chat or channel to send images.\n4. **Python Environment**: Separate from Fooocus recommended (untested with shared env).\n\n## 🛠 Future Improvements\n\n- Telegram-based management of Fooocus\n- Load new presets and styles automatically\n- Full interaction with Fooocus via Telegram\n\n## 🎨 Usage\n\nRun the script alongside the Fooocus server to enjoy a seamless mobile experience. You can use create-bat.py to generate\na Windows batch file for easy startup. You can place this batch file in the same directory as the fooocus batch files.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffauzaanu%2Ffooocus-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffauzaanu%2Ffooocus-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffauzaanu%2Ffooocus-telegram/lists"}