{"id":41090758,"url":"https://github.com/kapitanov/habrabot","last_synced_at":"2026-01-22T14:34:56.114Z","repository":{"id":64458009,"uuid":"185053709","full_name":"kapitanov/habrabot","owner":"kapitanov","description":"RSS Telegram bot for Habr.com","archived":false,"fork":false,"pushed_at":"2024-05-01T18:46:38.000Z","size":143,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T21:43:06.858Z","etag":null,"topics":["habr","habrahabr","telegram","telegram-channel"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/kapitanov.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":"2019-05-05T16:08:14.000Z","updated_at":"2024-01-17T23:22:22.000Z","dependencies_parsed_at":"2023-10-02T08:00:44.657Z","dependency_job_id":"cf16d757-80eb-491a-a314-15fa439f4068","html_url":"https://github.com/kapitanov/habrabot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kapitanov/habrabot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kapitanov%2Fhabrabot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kapitanov%2Fhabrabot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kapitanov%2Fhabrabot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kapitanov%2Fhabrabot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kapitanov","download_url":"https://codeload.github.com/kapitanov/habrabot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kapitanov%2Fhabrabot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["habr","habrahabr","telegram","telegram-channel"],"created_at":"2026-01-22T14:34:55.453Z","updated_at":"2026-01-22T14:34:56.106Z","avatar_url":"https://github.com/kapitanov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Habrabot\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/kapitanov/habrabot/Go)\n![Latest release](https://img.shields.io/github/release/kapitanov/habrabot)\n![License](https://img.shields.io/github/license/kapitanov/habrabot)\n\nA telegram bot that publishes items from an RSS feed into a Telegram channel.\n\nWritten for [Habr.com](https://habr.com/) but can be used for any RSS feed.\n\n## How to run\n\nFirst, you would need to register a bot for Telegram using [`@BotFather`](https://t.me/BotFather).\nSee [here](https://core.telegram.org/bots/api#authorizing-your-bot) for more details.\n\nThen, create a Telegram channel to post messages into.\nNote that you may use the same bot for multiple channels.\n\nThe, you should add your bot to the channel as an administrator.\n\nFinally, create a `.env` file:\n\n```shell\nTELEGRAM_TOKEN=my-telegram-bot-token\nTELEGRAM_CHANNEL=@MyAwesomeChannel\nRSS_FEED=https://habr.com/ru/rss/all/\n```\n\nHere:\n\n* `TELEGRAM_TOKEN` is the token you obtained from `@BotFather`, e.g. `1234567890:AABBCCdde-ffGGHHiiJJkkLLmmNNooPPqqRR`.\n* `TELEGRAM_CHANNEL` is the name of the channel you created, e.g. `@MyAwesomeChannel`.\n* `RSS_FEED` is an URL of the RSS feed you want to publish, e.g. `https://habr.com/ru/rss/all/`.\n\nSee `example.env` for more details.\n\n\u003e If you want to save a copy of each RSS feed item into a locac directory,\n\u003e add the following variable:\n\u003e \n\u003e ```shell\n\u003e CC_PATH=/data/cc/\n\u003e ```\n\nNow, you may create a `docker-compose.yaml` file that will instruct Docker how to run the bot:\n\n```yaml\nversion: '3'\nservices:\n    habrabot:\n        image: ghcr.io/kapitanov/habrabot:latest\n        restart: always\n        env_file: ./.env\n        environment:\n            BOLTDB_PATH: \"/data/boltdb.dat\"\n        logging:\n            driver: \"json-file\"\n            options:\n                max-size: \"10m\"\n                max-file: \"1\"\n        volumes:\n          - ./data/:/data\n```\n\nAt this point, you should have the following files in your working directory:\n\n```shell\n$ ls -1a\ndocker-compose.yaml\n.env\n```\n\nNow, you may run the bot using the following command:\n\n```shell\ndocker compose up -d\n```\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkapitanov%2Fhabrabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkapitanov%2Fhabrabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkapitanov%2Fhabrabot/lists"}