{"id":17989534,"url":"https://github.com/evilfreelancer/rss-to-telegram-bot","last_synced_at":"2025-11-03T17:00:07.016Z","repository":{"id":42646770,"uuid":"505202186","full_name":"EvilFreelancer/rss-to-telegram-bot","owner":"EvilFreelancer","description":"Simple bot for reading posts from rss and ","archived":false,"fork":false,"pushed_at":"2025-04-06T11:55:32.000Z","size":30,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T12:30:04.875Z","etag":null,"topics":["php8","rss","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/evilfreelancer","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EvilFreelancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-19T19:33:45.000Z","updated_at":"2025-04-06T11:55:35.000Z","dependencies_parsed_at":"2024-03-28T17:27:08.230Z","dependency_job_id":"048c2c96-66ae-4b81-9178-37c2b7b54f6f","html_url":"https://github.com/EvilFreelancer/rss-to-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/EvilFreelancer/rss-to-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frss-to-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frss-to-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frss-to-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frss-to-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvilFreelancer","download_url":"https://codeload.github.com/EvilFreelancer/rss-to-telegram-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frss-to-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282494848,"owners_count":26678624,"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-11-03T02:00:05.676Z","response_time":108,"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":["php8","rss","telegram-bot"],"created_at":"2024-10-29T19:14:53.703Z","updated_at":"2025-11-03T17:00:06.979Z","avatar_url":"https://github.com/EvilFreelancer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSS to Telegram bot\n\nSmall project for scraping RSS feed and repost new messages to Telegram group/channel.\n\n## How to use\n\n1. Clone repo\n\n```shell\ngit clone https://github.com/EvilFreelancer/rss-to-telegram-bot.git\n```\n\n2. Switch to project root\n\n```shell\ncd rss-to-telegram-bot\n```\n\n3. Create `.env` file from example\n\n```shell\ncp .env.dist .env\n```\n\n4. Fix `.env` parameters, you at least need to add list of RSS feed sources and API token of Telegram-bot\n\n5. Run the script\n\n```shell\nphp -f rss-to-telegram.php\n```\n\n## Example docker-compose.yml\n\nThis project already has Dockerfile, so you may build your own\ndocker image and use it.\n\n```yaml\nversion: \"2.4\"\n\nservices:\n\n  rss-to-telegram-bot:\n    restart: \"unless-stopped\"\n    build:\n      context: .\n    environment:\n      # Timeout in seconds between requests to rss feed\n      RSSREADER_TIMEOUT: 600\n      # Path to RSS feed cache folder\n      RSSREADER_CACHE_DIR: /app/cache\n      # Limiting the number of recent posts\n      RSSREADER_LIMIT: 50\n      # List of comma-separated URLs of RSS sources\n      RSSREADER_SOURCES: https://portal1/news/rss/,https://portal2/rss/\n      # If you want to show categories as hash-tags\n      RSSREADER_SHOW_CATEGORIES_AS_TAGS: false\n      # Telegram Channel Name\n      TELEGRAM_CHANNEL_NAME: evilfreelancer\n      # Telegram Access Token\n      TELEGRAM_TOKEN: nnnnnnnnnnnnn:xxxXXXxXxXxXxXXxXxxXxxxxXx\n    volumes:\n      - ./bot_cache:/app/cache:rw\n    logging:\n      driver: \"json-file\"\n      options:\n        max-size: \"50k\"\n```\n\n## Environment variables\n\n| Name                              | Default value                         | Description                                 |\n|-----------------------------------|---------------------------------------|---------------------------------------------|\n| RSSREADER_TIMEOUT                 | 3600 _(in seconds)_                   | Timeout between requests for updates        |\n| RSSREADER_CACHE_DIR               | /tmp/.rssreader_cache                 | Path to directory with cache                |\n| RSSREADER_LIMIT                   | 0 _(0, empty or not set - unlimited)_ | Limiting the number of recent posts         |\n| RSSREADER_SOURCES                 | _null_                                | List of comma-separated URLs of RSS sources | \n| RSSREADER_SHOW_CATEGORIES_AS_TAGS | false                                 | If you want to show categories as hash-tags | \n| TELEGRAM_CHANNEL_NAME             | _null_                                | Telegram Channel Name                       |\n| TELEGRAM_TOKEN                    | _null_                                | Telegram Access Token                       |\n\n## Links\n\n* https://github.com/Compolomus/RssReader\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Frss-to-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilfreelancer%2Frss-to-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Frss-to-telegram-bot/lists"}