{"id":26973934,"url":"https://github.com/kojix2/zunsay","last_synced_at":"2025-04-03T10:19:38.613Z","repository":{"id":285746512,"uuid":"959149920","full_name":"kojix2/zunsay","owner":"kojix2","description":"作りかけのVOICEVOXコマンドラインツール","archived":false,"fork":false,"pushed_at":"2025-04-02T12:29:10.000Z","size":65,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T13:29:33.367Z","etag":null,"topics":["crystal","crystal-language","voicevox"],"latest_commit_sha":null,"homepage":"https://kojix2.github.io/zunsay/","language":"Crystal","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/kojix2.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-02T10:51:10.000Z","updated_at":"2025-04-02T12:28:52.000Z","dependencies_parsed_at":"2025-04-02T13:39:41.878Z","dependency_job_id":null,"html_url":"https://github.com/kojix2/zunsay","commit_stats":null,"previous_names":["kojix2/zunsay"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fzunsay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fzunsay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fzunsay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fzunsay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kojix2","download_url":"https://codeload.github.com/kojix2/zunsay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981165,"owners_count":20863828,"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":["crystal","crystal-language","voicevox"],"created_at":"2025-04-03T10:19:37.941Z","updated_at":"2025-04-03T10:19:38.577Z","avatar_url":"https://github.com/kojix2.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zunsay（仮）\n\nVOICEVOX Engine の API を呼び出すための Crystal 製 CLI ツール。\n\nこのツールは作りかけなので、プロジェクトの名前からオプションまでコロコロ変わる可能性があります。\n\n## 必要条件\n\n- [VOICEVOX Engine](https://github.com/VOICEVOX/voicevox_engine) がインストールされ、起動していること\n\n## インストール\n\n### GitHub Release からバイナリを入手\n\n右の[Release](https://github.com/kojix2/zunsay/releases)からダウンロード\n\n※ MacOS版は動的リンクが決め打ちなので自分でビルドしないと動きません\n\n### ソースからビルド\n\n```bash\ngit clone https://github.com/kojix2/zunsay.git\ncd zunsay\nshards install\nshards build --release\nbin/zunsay --version\n```\n\nビルドされた実行ファイル `zunsay` をパスの通った場所に配置してください。\n\n## 使い方\n\n### 話者一覧の表示\n\n利用可能な話者（キャラクター）とそのスタイルの一覧を表示します：\n\n```bash\nzunsay speakers\n```\n\n### 音声合成\n\nテキストから音声を合成します：\n\n```bash\nzunsay synthesis -t \"こんにちは、世界\" -s 1 -o output.wav\n```\n\nまたは：\n\n```bash\nzunsay -t \"こんにちは、世界\" -s 1 -o output.wav\n```\n\n### オプション\n\n```\n使用方法: zunsay \u003cコマンド\u003e [オプション]\n\nコマンド:\n    speakers                         speakers    利用可能な話者一覧を表示\n    synthesis                        テキストから音声を合成\n    query                            音声合成用クエリの操作\n\n一般オプション:\n    -t TEXT, --text=TEXT             合成するテキスト\n    -s ID, --speaker=ID              話者ID (デフォルト: 1)\n    -o FILE, --output=FILE           出力ファイル名 (デフォルト: output.wav)\n    -S SCALE, --speed=SCALE          話速のスケール (デフォルト: 1.0)\n    -T SCALE, --pitch=SCALE          音高のスケール (デフォルト: 0.0)\n    -I SCALE, --intonation=SCALE     抑揚のスケール (デフォルト: 1.0)\n    -V SCALE, --volume=SCALE         音量のスケール (デフォルト: 1.0)\n    -P, --play                       音声合成後に自動再生する\n    --host=HOST                      VOICEVOX Engine のホスト (デフォルト: 127.0.0.1)\n    --port=PORT                      VOICEVOX Engine のポート (デフォルト: 50021)\n    --stdin                          標準入力からテキストを読み込む\n    --version                        バージョンを表示\n    -d, --debug                      エラー時にバックトレースを表示\n    -h, --help                       ヘルプを表示\n```\n\n## 開発\n\nこのツールは、kojix2 が自分で使うためにマイペースに作っています。\nたまに使って、気が向いたらメンテナンスします。\n\n1. リポジトリをクローンします\n2. 依存関係をインストールします: `shards install`\n3. コードを変更します\n4. テストを実行します: `crystal spec`\n\n## 貢献\n\n1. フォークします (\u003chttps://github.com/kojix2/zunsay/fork\u003e)\n2. 機能ブランチを作成します (`git checkout -b my-new-feature`)\n3. 変更をコミットします (`git commit -am 'Add some feature'`)\n4. ブランチにプッシュします (`git push origin my-new-feature`)\n5. プルリクエストを作成します\n\n## ライセンス\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkojix2%2Fzunsay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkojix2%2Fzunsay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkojix2%2Fzunsay/lists"}