{"id":16514958,"url":"https://github.com/eiri/mchain","last_synced_at":"2025-03-02T13:27:31.785Z","repository":{"id":57568416,"uuid":"105729170","full_name":"eiri/mchain","owner":"eiri","description":"Markov Chain Text Generator","archived":false,"fork":false,"pushed_at":"2017-10-04T04:00:43.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T01:37:19.813Z","etag":null,"topics":["cli","generator","golang","markov-chain"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"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/eiri.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}},"created_at":"2017-10-04T03:45:09.000Z","updated_at":"2018-09-20T16:27:28.000Z","dependencies_parsed_at":"2022-08-28T07:42:38.431Z","dependency_job_id":null,"html_url":"https://github.com/eiri/mchain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiri%2Fmchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiri%2Fmchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiri%2Fmchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiri%2Fmchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eiri","download_url":"https://codeload.github.com/eiri/mchain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241512190,"owners_count":19974539,"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":["cli","generator","golang","markov-chain"],"created_at":"2024-10-11T16:14:33.478Z","updated_at":"2025-03-02T13:27:31.752Z","avatar_url":"https://github.com/eiri.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markov Chain Text Generator\n\n## Summary\n\nBasic implementation of [Markov chain](https://en.wikipedia.org/wiki/Markov_chain) text generator. Bit on a sloppy side, but I needed something quick to generate bunch of dummy text for makeup and layout, so here we are.\n\n## Installation\n\n```bash\n$ go get github.com/eiri/mchain\n$ go install\n```\n\n## Usage\n\n```\n$ mchain -h\nUsage of mchain:\n  -count int\n        number of words to generate (default 25)\n  -input string\n        path to source text\n\n$ mchain --input ~/Downloads/samples/rrc.txt --count 120\nWhen this kidnapping idea struck us. It was, as Bill was, and as good a runner\nas I am, he was a fire burning behind the big rock at the rising of the\nexternal outward surface of Alabama that lay exposed to my view. \"Perhaps,\"\nsays I to myself, \"it has not yet been discovered that the wolves have borne\naway the tender lambkin from the box under the tree, got the knife away from\nthe boy amused and quiet till I tell you. About two miles from Summit was a\nsling that Red Chief had said I could about how the kidnapping had been\nkidnapped and chained to a bed in Bedlam. Besides being a thorough gentleman,\nI think can.\n```\n\n## Licence\n\n[MIT](https://github.com/eiri/mchain/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiri%2Fmchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feiri%2Fmchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiri%2Fmchain/lists"}