{"id":15739802,"url":"https://github.com/d-rivera-c-zz/haiku-generator","last_synced_at":"2025-04-28T12:22:58.213Z","repository":{"id":94327244,"uuid":"84516703","full_name":"d-rivera-c-zz/haiku-generator","owner":"d-rivera-c-zz","description":"Generate haikus","archived":false,"fork":false,"pushed_at":"2019-01-11T02:07:24.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T09:31:34.672Z","etag":null,"topics":["generator","haiku","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-rivera-c-zz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2017-03-10T03:47:19.000Z","updated_at":"2023-02-18T14:07:43.000Z","dependencies_parsed_at":"2023-07-28T00:01:31.303Z","dependency_job_id":null,"html_url":"https://github.com/d-rivera-c-zz/haiku-generator","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.25,"last_synced_commit":"b2e31a56c924a0adfbe72012b0945a776f248b5e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-rivera-c-zz%2Fhaiku-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-rivera-c-zz%2Fhaiku-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-rivera-c-zz%2Fhaiku-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-rivera-c-zz%2Fhaiku-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-rivera-c-zz","download_url":"https://codeload.github.com/d-rivera-c-zz/haiku-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311726,"owners_count":21569084,"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":["generator","haiku","javascript"],"created_at":"2024-10-04T02:07:45.991Z","updated_at":"2025-04-28T12:22:58.196Z","avatar_url":"https://github.com/d-rivera-c-zz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haiku generator\n\nJust generates haikus. In english.\n\n[Haiku rules](http://grammar.yourdictionary.com/style-and-usage/rules-for-writing-haiku.html):\n\n\u003e There are no specific rules for writing haiku; however, the structure of haiku is always the same, including the following features:  \n\u003e - Only three lines, totaling 17 syllables throughout  \n\u003e - The first line is only 5 syllables  \n\u003e - The second line is 7 syllables  \n\u003e - The third line is 5 syllables like the first  \n\u003e - Punctuation and capitalization rules are up to the poet, and need not follow rigid rules used in structuring sentences  \n\u003e - Haiku does not have to rhyme, in fact many times it does not rhyme at all  \n\u003e - Some haiku can include the repetition of words or sounds\n\n## Installation\n\n````\n$\u003e git clone https://github.com/d-rivera-c/haiku-generator.git\n$\u003e cd haiku-generator\n$\u003e npm install\n````\n\n## Usage\n\nCall the haiku generator default behaviour. Uses random words for the whole haiku. These are _real_ english words.\n\n````\n$\u003e node haiku.js\n````\n\n### Options\n\nThere's a few cli options you can use to generate different type of haikus\n\n#### --all_random\n\nDefault behaviour, uses all random unrelated words.\n\n#### -- theme (word)\n\nYou can suggest a word so the haiku is related to the \"theme\". Uses an [API](https://api.datamuse.com) to get related words.\nThe final haiku could be \"related\" but not necessarily using the words.\n\n````\n$\u003e node haiku.js --theme wind // haiku hopefully related to wind\n````\n\n#### Others -- TO BE IMPLEMENTED\n\n## Make it talk\n\nUse this command to make the computer read the generated haiku\n\n````\n$\u003e node haiku.js \u003cadditional params\u003e | tee /dev/tty | say\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-rivera-c-zz%2Fhaiku-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-rivera-c-zz%2Fhaiku-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-rivera-c-zz%2Fhaiku-generator/lists"}