{"id":13823359,"url":"https://github.com/Brawl345/rssbot","last_synced_at":"2025-07-08T17:33:26.816Z","repository":{"id":75507824,"uuid":"467103358","full_name":"Brawl345/rssbot","owner":"Brawl345","description":"RSS Bot for the Telegram Messenger","archived":false,"fork":false,"pushed_at":"2024-11-17T12:43:30.000Z","size":111,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T13:39:20.440Z","etag":null,"topics":["golang","rss","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Brawl345.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03-07T13:21:41.000Z","updated_at":"2024-11-17T12:43:33.000Z","dependencies_parsed_at":"2024-01-13T15:45:05.389Z","dependency_job_id":"f8a650a9-b6b7-482d-8602-1481c5912853","html_url":"https://github.com/Brawl345/rssbot","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brawl345%2Frssbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brawl345%2Frssbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brawl345%2Frssbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brawl345%2Frssbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brawl345","download_url":"https://codeload.github.com/Brawl345/rssbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225453321,"owners_count":17476701,"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":["golang","rss","telegram-bot"],"created_at":"2024-08-04T09:00:31.902Z","updated_at":"2024-11-20T01:30:30.779Z","avatar_url":"https://github.com/Brawl345.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# RSS Bot for Telegram\n\nRSS Bot for Telegram written in Go. Uses a MySQL database to store the latest entries.\n\nOnly one user (the \"admin\") can manage the bot, but it's possible to let the bot post into channels.\n\nThe bot's language is German, but it should be self-explanatory.\n\n## Features\n* Checks feeds every minute (after all checks are finished)\n* Concurrent checks\n* Can post private, in channels or groups\n* Custom post format with a `post.gohtml` file\n* Supports \"replacements\" where specific words will be removed (limited Regex is also supported). This is useful for spam like \"Read more on XYZ\" and stuff\n\n## Usage\n\n1. Download binary for your system from Releases or build it yourself\n2. Copy \".env.example\" to \".env\" and fill it in\n3. (Optional) Create a `post.gohtml` with a custom Go HTML template that will be used for posts (see below)\n4. Run and done! Database migrations are applied automatically.\n\nFeeds are checked every minute after the latest check finished (it waits for five seconds the first time after the bot starts).\n\n### Use your own template\n\nThe bot reads the `post.gohtml` from the same directory and uses it as a [Go template](https://pkg.go.dev/text/template) where it inserts the data. Take a look inside the [handler/feed_check.go](handler/feed_check.go) file (the `TemplateData` struct) to see all available fields. You can find the default template inside the [config/config.go](config/config.go) file. [Limited HTML](https://core.telegram.org/bots/api#html-style) is supported and all fields are sanitized with HTML tags removed and \"replacements\" applied. \n\nExample:\n\n```gohtml\n\u003cb\u003e[#RSS] {{.Title}}\u003c/b\u003e\n\u003ci\u003e{{.FeedTitle}}\u003c/i\u003e\n{{- if ne .Content \"\" }}\n{{.Content}}\n{{- end }}\n\u003ca href=\"{{.PostLink}}\"\u003e{{.PostDomain}}\u003c/a\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrawl345%2Frssbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBrawl345%2Frssbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrawl345%2Frssbot/lists"}