{"id":22881498,"url":"https://github.com/luludotdev/markov","last_synced_at":"2025-07-10T01:03:11.230Z","repository":{"id":57639661,"uuid":"301383259","full_name":"luludotdev/markov","owner":"luludotdev","description":"CLI tool to analyse text and generate like sentences using markov chains.","archived":false,"fork":false,"pushed_at":"2020-10-06T09:00:21.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T16:02:17.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/luludotdev.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":"2020-10-05T11:21:43.000Z","updated_at":"2020-10-06T08:59:22.000Z","dependencies_parsed_at":"2022-08-27T19:52:19.085Z","dependency_job_id":null,"html_url":"https://github.com/luludotdev/markov","commit_stats":null,"previous_names":["luludotdev/markov","lolpants/markov"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/luludotdev/markov","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fmarkov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fmarkov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fmarkov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fmarkov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luludotdev","download_url":"https://codeload.github.com/luludotdev/markov/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luludotdev%2Fmarkov/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506771,"owners_count":23619063,"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":[],"created_at":"2024-12-13T17:37:31.473Z","updated_at":"2025-07-10T01:03:11.208Z","avatar_url":"https://github.com/luludotdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💬 Markov ![Golang Build](https://github.com/lolPants/markov/workflows/Golang%20Build/badge.svg)\n\u003e CLI tool to analyse text and generate like sentences using markov chains.\n\n## 💾 Installation\nMarkov is built into a single binary. You can build this yourself with Golang tooling or download a prebuilt release from the [Releases](https://github.com/lolPants/markov/releases) page.\n\nNightly builds are also available as artifacts on the [Actions](https://github.com/lolPants/markov/actions?query=workflow%3A%22Golang+Build%22) page.\n\n## 🚀 Usage\nMarkov is a CLI tool, and as such you can read the included help with `markov --help`.\n\n```\nAvailable Commands:\n  analyse     Read lines from stdin and output a model file to stdout\n  completion  Generate completion script\n  generate    Read model from stdin and output generated lines to stdout\n  help        Help about any command\n  version     Print version information\n\nFlags:\n  -h, --help      help for markov\n  -v, --version   print version\n\nUse \"markov [command] --help\" for more information about a command.\n```\n\n## 📋 Example\n\u003e This example assumes you are running a Bash-like shell and have already organised your sample lines into a line separated `lines.txt` file.\n\n```sh\n# Store model for repeated use\n$ markov analyse \u003c ./lines.txt \u003e ./model.json\n$ markov generate \u003c ./model.json\n\n# As a one liner\n$ cat ./lines.txt | markov analyse | markov generate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluludotdev%2Fmarkov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluludotdev%2Fmarkov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluludotdev%2Fmarkov/lists"}