{"id":29622620,"url":"https://github.com/bdrupieski/markovchaintextgenerator","last_synced_at":"2025-07-21T04:13:24.461Z","repository":{"id":75155474,"uuid":"48648890","full_name":"bdrupieski/MarkovChainTextGenerator","owner":"bdrupieski","description":"generate sentences from forum posts","archived":false,"fork":false,"pushed_at":"2015-12-27T15:09:52.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T18:21:48.620Z","etag":null,"topics":["awful-forums","csharp","markov-chain","markov-text"],"latest_commit_sha":null,"homepage":"","language":"C#","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/bdrupieski.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}},"created_at":"2015-12-27T14:54:39.000Z","updated_at":"2016-04-04T14:24:13.000Z","dependencies_parsed_at":"2023-02-26T15:45:25.776Z","dependency_job_id":null,"html_url":"https://github.com/bdrupieski/MarkovChainTextGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bdrupieski/MarkovChainTextGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrupieski%2FMarkovChainTextGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrupieski%2FMarkovChainTextGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrupieski%2FMarkovChainTextGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrupieski%2FMarkovChainTextGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdrupieski","download_url":"https://codeload.github.com/bdrupieski/MarkovChainTextGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrupieski%2FMarkovChainTextGenerator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266237602,"owners_count":23897421,"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":["awful-forums","csharp","markov-chain","markov-text"],"created_at":"2025-07-21T04:13:17.334Z","updated_at":"2025-07-21T04:13:24.449Z","avatar_url":"https://github.com/bdrupieski.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a Markov Chain text generator I wrote for fun from scratch one night. I wrote it primarily to generate sentences from posts scraped from the Something Awful forums.\n\nThe design is partially inspired by [this code](https://github.com/jt-halbert/spark-workshop/blob/master/followalong-20151206.scala) from an Apache Spark workshop I attended.\n\nThe code to train a model on text and generate new sentences is in the project MarkovChainTextGeneratorModel.\n\nThe project SomethingAwfulTextGenerator scrapes specific Something Awful forum threads and trains a model on the scraped posts, then generates a file with new sentences generated from those posts. To use SomethingAwfulTextGenerator you will need to supply your own cookies in order to successfully download any HTML. The cookies sit in a git-ignored .json file in this project. Add a file to the project that looks like this with your own cookie values:\n\n```json\n{\n  \"__cfduid\": \"your\",\n  \"bbuserid\": \"cookie\",\n  \"bbpassword\": \"values\",\n  \"aduserid\": \"go\",\n  \"__csdrc\": \"in\",\n  \"sessionid\": \"these\",\n  \"sessionhash\": \"properties\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdrupieski%2Fmarkovchaintextgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdrupieski%2Fmarkovchaintextgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdrupieski%2Fmarkovchaintextgenerator/lists"}