{"id":23383776,"url":"https://github.com/mdwheele/marky","last_synced_at":"2025-04-11T01:22:09.590Z","repository":{"id":31356705,"uuid":"34919545","full_name":"mdwheele/marky","owner":"mdwheele","description":"Marky Markov and the Chamber of Secrets","archived":false,"fork":false,"pushed_at":"2021-03-22T21:12:43.000Z","size":10,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:28:59.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/mdwheele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-01T19:17:48.000Z","updated_at":"2021-03-22T21:12:46.000Z","dependencies_parsed_at":"2022-09-08T07:21:28.359Z","dependency_job_id":null,"html_url":"https://github.com/mdwheele/marky","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fmarky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fmarky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fmarky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdwheele%2Fmarky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdwheele","download_url":"https://codeload.github.com/mdwheele/marky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248323500,"owners_count":21084520,"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-21T22:29:55.667Z","updated_at":"2025-04-11T01:22:09.552Z","avatar_url":"https://github.com/mdwheele.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marky\n\nMarky is a markov-chain based text generator... it will be a continuance of the work at http://www.haykranen.nl/2008/09/21/markov.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require mdwheele/marky\n```\n\n## Usage\n\n**From Raw Text**:\n\n``` php\nrequire_once('vendor/autoload.php');\n\nuse Marky\\Marky;\n\n// Strips new-lines, but that's it...\n$marky = Marky::fromString('something long here is better');\n\necho $marky-\u003egenerate(500);\n```\n\n**From a File**:\n\n``` php\nrequire_once('vendor/autoload.php');\n\nuse Marky\\Marky;\n\n$marky = Marky::fromFile('source.txt');\n\necho $marky-\u003egenerate(500);\n```\n\n## Testing\n\n``` bash\n$ phpunit\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email mdwheele@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Dustin Wheeler](https://github.com/mdwheele)\n- [Hay Kranen](http://www.haykranen.nl/2008/09/21/markov)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdwheele%2Fmarky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdwheele%2Fmarky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdwheele%2Fmarky/lists"}