{"id":21313730,"url":"https://github.com/wbnns/zensocial","last_synced_at":"2025-04-14T20:31:54.786Z","repository":{"id":263928543,"uuid":"891821734","full_name":"wbnns/zensocial","owner":"wbnns","description":"Post to Bluesky, Farcaster and X from Telegram with less distraction","archived":false,"fork":false,"pushed_at":"2025-02-11T16:39:36.000Z","size":28,"stargazers_count":10,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T09:03:37.832Z","etag":null,"topics":["bluesky","build-in-public","farcaster","gtd","productivity","telegram","twitter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wbnns.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-11-21T02:32:35.000Z","updated_at":"2025-02-11T16:39:39.000Z","dependencies_parsed_at":"2024-11-21T03:37:14.407Z","dependency_job_id":null,"html_url":"https://github.com/wbnns/zensocial","commit_stats":null,"previous_names":["wbnns/zensocial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fzensocial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fzensocial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fzensocial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fzensocial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wbnns","download_url":"https://codeload.github.com/wbnns/zensocial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955749,"owners_count":21189221,"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":["bluesky","build-in-public","farcaster","gtd","productivity","telegram","twitter"],"created_at":"2024-11-21T18:06:18.689Z","updated_at":"2025-04-14T20:31:54.769Z","avatar_url":"https://github.com/wbnns.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zensocial\n\n![Alt](https://repobeats.axiom.co/api/embed/ad68b3ae22cfd10a0d261f83bbe72dcadb0770d1.svg \"Zensocial\")\n\n## About\n\nPost to Bluesky, Farcaster and X from Telegram with less distraction\n\n## Features\n\n- Cross-post text content to Bluesky, X and Farcaster simultaneously\n- Support for images (automatically uploaded to Imgur for Farcaster)\n- URL embedding\n- Line break preservation\n- Independent posting (continues if one platform fails)\n- Rate limit handling with exponential backoff\n\n## Setup\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/wbnns/zensocial.git\ncd zensocial\n```\n\n2. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n3. Create a `.env` file from the example:\n```bash\ncp .env.example .env\n```\n\n4. Configure your environment variables in `.env`:\n- Get a Telegram Bot Token from [@BotFather](https://t.me/botfather)\n- Create a Twitter Developer account and get API keys\n- Get your Farcaster authorization header\n- Create an Imgur application and get client ID\n- Generate an app password for your Bluesky account\n\n## Usage\n\n1. Start the bot:\n```bash\npython src/app.py\n```\n\n2. In Telegram:\n- Send text to cross-post\n- Optionally send an image within 36 seconds\n- The bot will post to both platforms and report the status\n\n## Status Messages\n\nThe bot provides clear status messages:\n- \"Posted: Bluesky, Farcaster, X\" - Successfully posted to all platforms\n- \"Posted: Bluesky, Farcaster | Failed: X \" - Posted to Bluesky and Farcaster only\n\n## Development\n\nThe code is organized into two main parts:\n1. Platform-independent utilities and configurations\n2. Platform-specific posting logic with independent error handling\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Built with python-telegram-bot\n- Uses Tweepy for X integration\n- Uses Imgur for image hosting\n\n## Support\n\nFor support, please create an issue in the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbnns%2Fzensocial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwbnns%2Fzensocial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbnns%2Fzensocial/lists"}