{"id":15647459,"url":"https://github.com/mattn/go-haiku","last_synced_at":"2025-05-07T19:06:22.459Z","repository":{"id":36929350,"uuid":"41236587","full_name":"mattn/go-haiku","owner":"mattn","description":"俳句(Haiku) detection","archived":false,"fork":false,"pushed_at":"2025-02-24T11:46:17.000Z","size":60,"stargazers_count":45,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T13:05:23.062Z","etag":null,"topics":["go","golang","haiku"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"MicrosoftDocs/mslearn-tailspin-spacegame-web","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mattn","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-08-23T05:09:57.000Z","updated_at":"2025-02-24T11:46:19.000Z","dependencies_parsed_at":"2024-02-07T06:31:06.139Z","dependency_job_id":"98b7dce6-a5c0-427b-b03f-b4e821dbfb7a","html_url":"https://github.com/mattn/go-haiku","commit_stats":{"total_commits":71,"total_committers":3,"mean_commits":"23.666666666666668","dds":"0.028169014084507005","last_synced_commit":"2255b2bacd58e55e060f065deec55a0fa351e8b1"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-haiku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-haiku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-haiku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattn%2Fgo-haiku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattn","download_url":"https://codeload.github.com/mattn/go-haiku/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252940883,"owners_count":21828766,"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":["go","golang","haiku"],"created_at":"2024-10-03T12:19:33.439Z","updated_at":"2025-05-07T19:06:22.381Z","avatar_url":"https://github.com/mattn.png","language":"Go","funding_links":["https://github.com/sponsors/mattn"],"categories":[],"sub_categories":[],"readme":"# haiku\n\n古池や蛙飛び込む水の音\n\nHaiku Matcher\n\n## Interface\n\n```go\nif haiku.Match(text, []int{5, 7, 5}) {\n    log.Println(arg + \" is haiku\")\n}\n```\n\n```go\nfor _, h := range haiku.Find(text, []int{5, 7, 5}) {\n    log.Println(h + \"、575 じゃん\")\n}\n```\n\n## Usage\n\nFrom argument\n\n```\n$ haiku あぁ柿くへば鐘が鳴るなり法隆寺\n柿くへば 鐘が鳴るなり 法隆寺\n```\n\nFrom stdin\n\n```\n$ cat README.md | haiku\n古池や 蛙飛び込む 水の音\n```\n\nExtract 俳句 from URL with `-u` option\n\n```\n$ haiku -u \"https://ja.wikipedia.org/wiki/ハノイの塔\"\n中央に 穴の開いた 大きさの\n円盤の 上に大きな 円盤を\n有効な 問題として 有名で\n円盤を 移動させると すると次\n一回り 大きい物の 右隣\n一回り 大きい物の 右隣\n円盤を 対応付けた とき数字\n円盤を 動かすことで 解答が\n円盤を 別の柱に 移し替え\n```\n\nExtract 短歌 with `-r` option\n\n```\n$ haiku -r 5,7,5,7,7 -u \"https://ja.wikipedia.org/wiki/フクロウ\"\nフクロウが 鳴くと明日は 晴れるので 洗濯物を 干せという意味\n```\n\n## Installation\n\n```\n$ go get github.com/mattn/go-haiku/cmd/haiku\n```\n\n## License\n\nMIT\n\n## Author\n\nYasuhiro Matsumoto (a.k.a mattn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattn%2Fgo-haiku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattn%2Fgo-haiku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattn%2Fgo-haiku/lists"}