Git Product home page Git Product logo

voicevox's Introduction

VOICEVOX

環境構築

.node-versionに記載されているバージョンの Node.js をインストールしてください。 インストール後、次のコマンドを実行してください。

npm ci

実行

.env.productionをコピーして.envを作成し、ENGINE_PATHvoicevox_engineがあるパスを指定します。 とりあえず製品版 VOICEVOX のディレクトリのパスを指定すれば動きます。

npm run electron:serve

音声合成エンジンのリポジトリはこちらです https://github.com/Hiroshiba/voicevox_engine

貢献者の方へ

Issueを解決するプルリクエストを作成される際は、別の方と同じIssueに取り組むことを避けるため、 Issue側で取り組み始めたことを伝えるか、最初にDraftプルリクエストを作成してください。

ビルド

npm run electron:build

コードフォーマット

コードのフォーマットを整えます。プルリクエストを送る前に実行してください。

npm run fmt

タイポチェック

typosを使ってタイポのチェックを行っています。 typosをインストールした後

typos

でタイポチェックを行えます。 もし誤判定やチェックから除外すべきファイルがあれば 設定ファイルの説明に従って_typos.tomlを編集してください.

Markdownlint

Markdownの文法チェックを行います。

npm run markdownlint

OpenAPI generator

音声合成エンジンが起動している状態で以下のコマンドを実行してください。

curl http://127.0.0.1:50021/openapi.json >openapi.json

$(npm bin)/openapi-generator-cli generate \
    -i openapi.json \
    -g typescript-fetch \
    -o src/openapi/ \
    --additional-properties=modelPropertyNaming=camelCase,supportsES6=true,withInterfaces=true,typescriptThreePlus=true

npm run lint

ライセンス

LGPL v3 と、ソースコードの公開が不要な別ライセンスのデュアルライセンスです。 別ライセンスを取得したい場合は、ヒホ(twitter: @hiho_karuta)に求めてください。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.