{"id":16526006,"url":"https://github.com/clockvapor/reddit-markov-telegram-bot","last_synced_at":"2025-08-20T05:16:08.453Z","repository":{"id":86586388,"uuid":"151280219","full_name":"ClockVapor/reddit-markov-telegram-bot","owner":"ClockVapor","description":"Telegram bot that builds Markov chains for subreddits","archived":false,"fork":false,"pushed_at":"2019-12-06T19:20:28.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T22:39:36.217Z","etag":null,"topics":["kotlin","markov","markov-chain","markov-chains","reddit","telegram","telegram-bot","telegram-bots"],"latest_commit_sha":null,"homepage":"http://t.me/redditsimulatorbot","language":"Kotlin","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/ClockVapor.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}},"created_at":"2018-10-02T15:43:33.000Z","updated_at":"2021-02-03T01:51:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d75960a0-7eef-4734-b1bb-cd257ac66f0a","html_url":"https://github.com/ClockVapor/reddit-markov-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ClockVapor/reddit-markov-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClockVapor%2Freddit-markov-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClockVapor%2Freddit-markov-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClockVapor%2Freddit-markov-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClockVapor%2Freddit-markov-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClockVapor","download_url":"https://codeload.github.com/ClockVapor/reddit-markov-telegram-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClockVapor%2Freddit-markov-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271268859,"owners_count":24730026,"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-08-20T02:00:09.606Z","response_time":69,"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":["kotlin","markov","markov-chain","markov-chains","reddit","telegram","telegram-bot","telegram-bots"],"created_at":"2024-10-11T17:25:28.800Z","updated_at":"2025-08-20T05:16:08.429Z","avatar_url":"https://github.com/ClockVapor.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reddit-markov-telegram-bot\n\n`reddit-markov-telegram-bot` is a Telegram bot that builds a Markov chain for requested subreddits, and it uses those\nMarkov chains to generate \"new\" user comments from those subreddits when prompted. The process is similar to your phone\nkeyboard's predictive text capabilities.\n\n## Sample Usage\n\nStart a conversation with the bot or add it to your group here: http://t.me/redditsimulatorbot\n\n### /comment\nTo generate a comment from a subreddit, use the `/comment` command. The command expects a subreddit name following it\nto know which subreddit you want to generate a comment from: `/comment pics`. You can also include an optional \"seed\"\nword following the subreddit name to tell the bot which word to start with when it generates the comment:\n`/comment pics blah`\n\nWhen a subreddit is requested via this command, its newest comments are fetched and analyzed in bulk, and they are only\nfetched a maximum of once per hour to prevent redundant traffic and analysis.\n\n### /post\nTo generate a post from a subreddit (title and body), use the `/post` command. The command expects a subreddit name\nfollowing it to know which subreddit you want to generate a post from: `/post nostupidquestions`. The result will look\nlike this:\n\n```\nPost title\n-----\nPost body\n```\n\nWhen a subreddit is requested via this command, its top 100 hot posts are fetched and analyzed like so:\n\n1. The post's title is added to a separate Markov chain that only tracks post titles.\n2. If the post is a self post (only contains body text, and no direct link), its body text is added to the Markov chain\nthat only tracks body text.\n3. If the post is a link post, the link URL is added to the body text Markov chain as a single entry.\n\nJust like with the `/comment` command, posts are only fetched a maximum of once per hour.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclockvapor%2Freddit-markov-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclockvapor%2Freddit-markov-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclockvapor%2Freddit-markov-telegram-bot/lists"}