{"id":18850499,"url":"https://github.com/manthanank/blogs-to-telegram","last_synced_at":"2026-02-10T15:04:15.705Z","repository":{"id":251253374,"uuid":"836858464","full_name":"manthanank/blogs-to-telegram","owner":"manthanank","description":"Blogs To Telegram","archived":false,"fork":false,"pushed_at":"2025-09-18T05:18:27.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T04:56:50.629Z","etag":null,"topics":["api","blogs","devto","github-actions","telegram","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":null,"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/manthanank.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["manthanank"],"open_collective":"manthanank","buy_me_a_coffee":"manthanank","patreon":"manthanank"}},"created_at":"2024-08-01T17:48:40.000Z","updated_at":"2025-09-18T05:18:31.000Z","dependencies_parsed_at":"2025-03-18T20:24:11.496Z","dependency_job_id":"6a4a599f-430a-40fe-bba0-71ef4f073a4d","html_url":"https://github.com/manthanank/blogs-to-telegram","commit_stats":null,"previous_names":["manthanank/blogs-to-telegram"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manthanank/blogs-to-telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fblogs-to-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fblogs-to-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fblogs-to-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fblogs-to-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manthanank","download_url":"https://codeload.github.com/manthanank/blogs-to-telegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fblogs-to-telegram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29303340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T14:34:17.295Z","status":"ssl_error","status_checked_at":"2026-02-10T14:33:22.845Z","response_time":65,"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":["api","blogs","devto","github-actions","telegram","telegram-bot","telegram-bot-api"],"created_at":"2024-11-08T03:29:42.460Z","updated_at":"2026-02-10T15:04:15.700Z","avatar_url":"https://github.com/manthanank.png","language":null,"funding_links":["https://github.com/sponsors/manthanank","https://opencollective.com/manthanank","https://buymeacoffee.com/manthanank","https://patreon.com/manthanank"],"categories":[],"sub_categories":[],"readme":"# Blogs To Telegram\n\nThis GitHub Actions workflow automatically posts new articles from your DEV.to account to a specified Telegram chat. The workflow runs every hour and checks for new articles. If a new article is found, it sends a message to the Telegram chat with the article's title and URL.\n\n## Setup\n\n1. **Fork the repository**: Fork this repository to your own GitHub account.\n\n2. **Add Secrets**: Add the following secrets to your GitHub repository:\n   - `DEVTO_API_KEY`: Your DEV.to API key.\n   - `TELEGRAM_BOT_TOKEN`: Your Telegram bot token.\n   - `TELEGRAM_CHAT_ID`: The chat ID where you want to post the messages.\n\n3. **Configure the Workflow**: The workflow is defined in `.github/workflows/post-to-telegram.yml`. It is scheduled to run every hour but can also be triggered manually.\n\n## How It Works\n\n1. **Fetch DEV.to Articles**: The workflow fetches the latest published articles from your DEV.to account using the DEV.to API.\n\n2. **Check for New Articles**: It compares the ID of the latest article with the ID stored in `last_posted_article_id.txt`. If they are different, it means a new article has been posted.\n\n3. **Post to Telegram**: If a new article is found, the workflow sends a message to the specified Telegram chat with the article's title and URL.\n\n4. **Update Last Posted Article ID**: The workflow updates the `last_posted_article_id.txt` file in the repository to keep track of the last posted article.\n\n## Running the Workflow\n\nThe workflow runs automatically every hour. You can also trigger it manually from the Actions tab in your GitHub repository.\n\n## Example\n\nHere is an example of the message that will be posted to Telegram:\n\nNew DEV.to article published: [\"How to Automate Your Workflow with GitHub Actions\"](https://dev.to/yourusername/how-to-automate-your-workflow-with-github-actions)\n\n## Contributing\n\nFeel free to contribute to this project and help make it better. You can create a pull request with your changes or open an issue if you have any questions or suggestions.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Important Note About Workflow Behavior\n\n- The workflow only checks the **latest** published article on DEV.to.\n- It will post to Telegram **only if the latest article is new** (i.e., its ID is greater than the one stored in `last_posted_article_id.txt`).\n- **Limitation:** If you publish multiple articles between workflow runs, only the most recent (latest) article will be posted to Telegram. Older articles may be skipped.\n\n## Troubleshooting\n\nIf your article is not posted to Telegram:\n\n- Make sure your GitHub repository secrets are set correctly:\n  - `DEVTO_API_KEY` (your DEV.to API key)\n  - `TELEGRAM_BOT_TOKEN` (your Telegram bot token)\n  - `TELEGRAM_CHAT_ID` (the chat/channel ID for posting)\n- Check the Actions tab for workflow run logs and errors.\n- Ensure your Telegram bot is in the target chat and has permission to post.\n- Confirm that your latest article's ID is greater than the one in `last_posted_article_id.txt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Fblogs-to-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanthanank%2Fblogs-to-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Fblogs-to-telegram/lists"}