Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
64643b5
ライセンス文言修正
tegnike Feb 18, 2025
8c044d0
スポンサー追加
tegnike Feb 24, 2025
f7a6070
マイクボタンの制御・無音時間の検知
tegnike Feb 26, 2025
eeb7005
自動翻訳スクリプト追加
tegnike Feb 26, 2025
5b29225
バージョン更新
tegnike Feb 26, 2025
82d22db
LnagGraphに置換
tegnike Feb 27, 2025
00dfa94
翻訳スクリプトのテスト追加
tegnike Feb 27, 2025
93a8de8
エラー対応
tegnike Feb 27, 2025
0db56ce
claude-3.7-sonnet 追加
tegnike Feb 27, 2025
f5a1c2a
翻訳スクリプトの修正
tegnike Feb 27, 2025
b729987
翻訳スクリプト修正
tegnike Feb 27, 2025
81b97a5
翻訳スクリプト修正
tegnike Feb 27, 2025
95b32b1
翻訳スクリプト修正
tegnike Feb 27, 2025
41bdcee
翻訳スクリプトのライブラリ更新
tegnike Feb 27, 2025
a1e582c
翻訳スクリプト修正
tegnike Feb 27, 2025
50b7c62
翻訳スクリプト更新
tegnike Feb 27, 2025
b01fc29
Auto-translate: Update docs/README_en.md from README.md
github-actions[bot] Feb 27, 2025
0184471
Auto-translate: Update docs/README_zh.md from README.md
github-actions[bot] Feb 27, 2025
6ea6d1a
Auto-translate: Update docs/README_ko.md from README.md
github-actions[bot] Feb 27, 2025
9451f97
Revert "Auto-translate: Update docs/README_ko.md from README.md"
tegnike Feb 27, 2025
6358cc1
Revert "Auto-translate: Update docs/README_zh.md from README.md"
tegnike Feb 27, 2025
4d54690
Revert "Auto-translate: Update docs/README_en.md from README.md"
tegnike Feb 27, 2025
e34df26
翻訳スクリプトMAXリミット更新&差分のみを対象とさせる
tegnike Feb 27, 2025
52d97cf
翻訳スクリプトコミット単位を元ファイル毎に
tegnike Feb 27, 2025
48c58ca
不具合修正
tegnike Feb 27, 2025
c194be1
gemini-2.0-flash-lite削除
tegnike Feb 27, 2025
0890b14
github actionsを一時的に削除
tegnike Feb 27, 2025
d470abd
Live2D Cubism2系のサポートを削除
tegnike Feb 27, 2025
97cf3a8
Merge branch 'develop' into feature/fix-bugs4
tegnike Feb 27, 2025
d6b0889
ライセンス文言修正
tegnike Feb 28, 2025
fe02c4f
gpt-4.5-preview追加
tegnike Feb 28, 2025
e1b612f
lint & buildエラー修正
tegnike Feb 28, 2025
068d2d4
スライドが見切れてしまう不具合修正
tegnike Feb 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,18 @@ aituber-kit/
- src/components/settings/voice.tsx
- src/components/settings/youtube.tsx
- src/features/stores/settings.ts

## ライセンスに関するドキュメント
- README.md
- LICENSE
- docs/license.md
- docs/license_en.md
- docs/license_ko.md
- docs/license_zh.md
- docs/license-faq.md
- docs/license-faq_en.md
- docs/license-faq_ko.md
- docs/license-faq_zh.md
---

以上の内容を順守し、タスクを遂行してください。
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ NEXT_PUBLIC_YOUTUBE_LIVE_ID=""
# Whether to enable to receive Youtube chat (true or false)
NEXT_PUBLIC_YOUTUBE_MODE=""

# Language (ja, en, zh, zh-TW, ko)
# Language (ja, en, ko, zh, vi, fr, es, pt, de, ru, it, ar, hi, pl)
NEXT_PUBLIC_SELECT_LANGUAGE=""

# Background Image Path
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"rules": {
"prettier/prettier": "error"
},
"ignorePatterns": ["public/scripts/*"]
"ignorePatterns": ["public/scripts/*", "scripts/**", ".mypy_cache/**"]
}
37 changes: 37 additions & 0 deletions .github/workflows/old/auto-translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Auto Translate

on:
pull_request:
branches:
- develop
types: [opened, synchronize, reopened]

jobs:
auto-translate:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests langgraph==0.2.60 pydantic langchain-openai==0.2.14

- name: Run translation script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO_FULL_NAME: ${{ github.repository }}
run: python scripts/auto_translate.py
44 changes: 44 additions & 0 deletions .github/workflows/old/issue-analyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Issue Analyzer

on:
issues:
types: [opened]
workflow_dispatch:
inputs:
issue_number:
description: 'Issue Number'
required: true
issue_title:
description: 'Issue Title'
required: true
issue_body:
description: 'Issue Body'
required: true

jobs:
analyze-issue:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests anthropic==0.47.2

- name: Analyze issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
ISSUE_NUMBER: ${{ github.event.inputs.issue_number || github.event.issue.number }}
ISSUE_TITLE: ${{ github.event.inputs.issue_title || github.event.issue.title }}
ISSUE_BODY: ${{ github.event.inputs.issue_body || github.event.issue.body }}
run: python scripts/analyze_issue.py
19 changes: 19 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ビルド成果物
.next/
build/
dist/
out/

# 依存関係
node_modules/

# キャッシュ
.mypy_cache/
.cache/

# スクリプト
scripts/

# その他
.git/
.DS_Store
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,26 +211,21 @@ cp .env.example .env
### Live2Dの仕様に際して

Live2D表示のために非公式ライブラリの [pixi-live2d-display](https://github.com/RaSan147/pixi-live2d-display) を使用しています。
Live2Dは開発用SDKとしてCubismというライブラリが提供されており、AITuberKitでは、Cubism 3以降のモデルをサポートしています。

Live2Dは開発用SDKとしてCubismというライブラリが提供されており、現在Cubism 2.1、Cubism 3、Cubism 4、そしてCubism 5が存在します。Cubism 4はCubism 3のモデルと互換性があり、最新のCubism 5はCubism 4と互換性があります。

Cubism 2.1とCubism 4/5を使用することで、すべてのバリアントのLive2Dモデルをサポートしています。
なお、本プロジェクトでは、Live2D社の許可を得て、公式SDKを使用しています。

#### Cubism Core

この機能を利用する前に、以下のCubism Core(Cubismランタイムライブラリ)ファイルを両方とも `public/scripts` に設置する必要があります:

1. `live2dcubismcore.min.js`(Cubism 4/5用)
Live2D機能を利用する場合、以下のファイルを `public/scripts` に設置してください:

- [公式サイト](https://www.live2d.com/sdk/download/web/)からダウンロード可能
- または[こちら](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js)から入手可能(注:本番環境での使用は推奨されません)
`live2dcubismcore.min.js`(Cubism 4/5用)

2. `live2d.min.js`(Cubism 2.1用)
- 2019年9月4日以降、公式サイトからはダウンロードできなくなっていますが、以下から入手可能:
- GitHub: [dylanNew/live2d](https://github.com/dylanNew/live2d/tree/master/webgl/Live2D/lib)
- CDN: https://cdn.jsdelivr.net/gh/dylanNew/live2d/webgl/Live2D/lib/live2d.min.js
- [公式サイト](https://www.live2d.com/sdk/download/web/)からダウンロード可能
- または[こちら](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js)から入手可能(注:本番環境での使用は推奨されません)

両方のファイルを設置することで、すべてのバージョンのLive2Dモデルをサポートすることができます。
Live2D社のCubism SDKを組み込んだソフトウェアを公開する際にはLive2D社との出版許諾契約の締結が必要になる可能性があります。詳しくは下記ページをご参照ください。
https://www.live2d.com/sdk/license/

### 背景画像の設定

Expand Down Expand Up @@ -337,6 +332,9 @@ Cubism 2.1とCubism 4/5を使用することで、すべてのバリアントの
<a href="https://github.com/MojaX2" title="MojaX2">
<img src="https://github.com/MojaX2.png" width="40" height="40" alt="MojaX2">
</a>
<a href="https://github.com/micchi99" title="micchi99">
<img src="https://github.com/micchi99.png" width="40" height="40" alt="micchi99">
</a>
</p>

他、プライベートスポンサー 複数名
Expand Down
24 changes: 11 additions & 13 deletions docs/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,26 +212,21 @@ cp .env.example .env
### Live2D Specifications

We use the unofficial library [pixi-live2d-display](https://github.com/RaSan147/pixi-live2d-display) for Live2D display.
Live2D provides a library called Cubism as a development SDK, and AITuberKit supports models from Cubism 3 onwards.

Live2D provides a library called Cubism as a development SDK, and currently there are Cubism 2.1, Cubism 3, Cubism 4, and Cubism 5. Cubism 4 is compatible with Cubism 3 models, and the latest Cubism 5 is compatible with Cubism 4.

By using Cubism 2.1 and Cubism 4/5, we support all variants of Live2D models.
Note that this project uses the official SDK with permission from Live2D.

#### Cubism Core

Before using this feature, you need to set the following Cubism Core (Cubism runtime library) files in both `public/scripts`:

1. `live2dcubismcore.min.js` (Cubism 4/5)
If you want to use the Live2D feature, please place the following file in `public/scripts`:

- [Official website](https://www.live2d.com/sdk/download/web/)
- [Alternative](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js) (Note: Not recommended for production use)
`live2dcubismcore.min.js` (for Cubism 4/5)

2. `live2d.min.js` (Cubism 2.1)
- Since September 4, 2019, the official website no longer allows downloads, but it is available from:
- GitHub: [dylanNew/live2d](https://github.com/dylanNew/live2d/tree/master/webgl/Live2D/lib)
- CDN: https://cdn.jsdelivr.net/gh/dylanNew/live2d/webgl/Live2D/lib/live2d.min.js
- Available for download from the [official website](https://www.live2d.com/sdk/download/web/)
- Or available from [here](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js) (Note: Not recommended for production use)

By setting both files, you can support all versions of Live2D models.
When publishing software that incorporates Live2D's Cubism SDK, you may need to enter into a publishing license agreement with Live2D. For details, please refer to the following page:
https://www.live2d.com/sdk/license/

### Background Image Setting

Expand Down Expand Up @@ -338,6 +333,9 @@ Your support will greatly contribute to the development and improvement of the A
<a href="https://github.com/MojaX2" title="MojaX2">
<img src="https://github.com/MojaX2.png" width="40" height="40" alt="MojaX2">
</a>
<a href="https://github.com/micchi99" title="micchi99">
<img src="https://github.com/micchi99.png" width="40" height="40" alt="micchi99">
</a>
</p>

Plus multiple private sponsors
Expand Down
24 changes: 11 additions & 13 deletions docs/README_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,26 +208,21 @@ cp .env.example .env
### Live2D 사양에 대하여

Live2D 표시를 위해 비공식 라이브러리 [pixi-live2d-display](https://github.com/RaSan147/pixi-live2d-display)를 사용하고 있습니다.
Live2D는 개발용 SDK로 Cubism이라는 라이브러리를 제공하고 있으며, AITuberKit는 Cubism 3 이상의 모델을 지원합니다.

Live2D는 개발용 SDK로 Cubism이라는 라이브러리를 제공하고 있으며, 현재 Cubism 2.1, Cubism 3, Cubism 4, 그리고 Cubism 5가 존재합니다. Cubism 4는 Cubism 3 모델과 호환성이 있으며, 최신 Cubism 5는 Cubism 4와 호환성이 있습니다.

Cubism 2.1과 Cubism 4/5를 사용함으로써 모든 버전의 Live2D 모델을 지원합니다.
또한, 본 프로젝트는 Live2D사의 허가를 받아 공식 SDK를 사용하고 있습니다.

#### Cubism Core

이 기능을 사용하기 전에, 다음 Cubism Core (Cubism 런타임 라이브러리) 파일을 모두 `public/scripts`에 설치해야 합니다:

1. `live2dcubismcore.min.js` (Cubism 4/5)
Live2D 기능을 사용하려면 다음 파일을 `public/scripts`에 설치해야 합니다:

- [공식 사이트](https://www.live2d.com/sdk/download/web/)에서 다운로드 가능
- 또는 [이곳](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js)에서 다운로드 가능 (참고: 프로덕션 환경에서의 사용은 권장되지 않습니다)
`live2dcubismcore.min.js` (Cubism 4/5용)

2. `live2d.min.js` (Cubism 2.1)
- 2019년 9월 4일 이후, 공식 사이트에서는 다운로드할 수 없습니다. 다음에서 다운로드 가능:
- GitHub: [dylanNew/live2d](https://github.com/dylanNew/live2d/tree/master/webgl/Live2D/lib)
- CDN: https://cdn.jsdelivr.net/gh/dylanNew/live2d/webgl/Live2D/lib/live2d.min.js
- [공식 사이트](https://www.live2d.com/sdk/download/web/)에서 다운로드 가능
- 또는 [이곳](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js)에서 다운로드 가능 (참고: 프로덕션 환경에서의 사용은 권장되지 않습니다)

두 파일을 설치하면 모든 버전의 Live2D 모델을 지원할 수 있습니다.
Live2D사의 Cubism SDK를 포함한 소프트웨어를 공개할 때는 Live2D사와의 출판 허가 계약 체결이 필요할 수 있습니다. 자세한 내용은 아래 페이지를 참조하세요.
https://www.live2d.com/sdk/license/

### 배경 이미지 설정

Expand Down Expand Up @@ -334,6 +329,9 @@ Cubism 2.1과 Cubism 4/5를 사용함으로써 모든 버전의 Live2D 모델을
<a href="https://github.com/MojaX2" title="MojaX2">
<img src="https://github.com/MojaX2.png" width="40" height="40" alt="MojaX2">
</a>
<a href="https://github.com/micchi99" title="micchi99">
<img src="https://github.com/micchi99.png" width="40" height="40" alt="micchi99">
</a>
</p>

그 외, 다수의 비공개 스폰서
Expand Down
50 changes: 22 additions & 28 deletions docs/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,25 @@ cp .env.example .env

## 小貼士

### 关于Live2D规格

Live2D显示使用非官方库 [pixi-live2d-display](https://github.com/RaSan147/pixi-live2d-display)。
Live2D提供了一个名为Cubism的库作为开发SDK,AITuberKit支持Cubism 3及更高版本的模型。

请注意,本项目已获得Live2D公司的许可使用官方SDK。

#### Cubism Core

如果要使用Live2D功能,请将以下文件放置在 `public/scripts` 中:

`live2dcubismcore.min.js` (适用于Cubism 4/5)

- 可从[官方网站](https://www.live2d.com/sdk/download/web/)下载
- 或者从[这里](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js)获取(注意:不建议在生产环境中使用)

在发布包含Live2D公司Cubism SDK的软件时,可能需要与Live2D公司签订出版许可协议。详情请参阅以下页面:
https://www.live2d.com/sdk/license/

### 背景固定方法

- 在 `public/bg-c.png` 更改背景圖片。請不要更改名稱。
Expand All @@ -225,34 +244,6 @@ cp .env.example .env
- 各種設置項目保存在瀏覽器的本地存儲中。
- 代碼塊中的元素不會被TTS讀取。

### 关于Live2D规格

Live2D显示使用非官方库 [pixi-live2d-display](https://github.com/RaSan147/pixi-live2d-display)。

Live2D提供了一个名为Cubism的库作为开发SDK,目前存在Cubism 2.1、Cubism 3、Cubism 4和Cubism 5。Cubism 4與Cubism 3模型兼容,最新的Cubism 5與Cubism 4兼容。

通过使用Cubism 2.1和Cubism 4/5,我们支持所有版本的Live2D模型。

#### Cubism Core

使用此功能之前,需要将以下Cubism Core(Cubismランタイムライブラリ)文件放置在 `public/scripts` 中:

1. `live2dcubismcore.min.js` (Cubism 4/5)

- [官方网站](https://www.live2d.com/sdk/download/web/)
- 或者[这里](https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js)(注意:不建议在生产环境中使用)

2. `live2d.min.js` (Cubism 2.1)
- 自2019年9月4日起,官方网站不再提供下载,但可以从以下位置获取:
- GitHub: [dylanNew/live2d](https://github.com/dylanNew/live2d/tree/master/webgl/Live2D/lib)
- CDN: https://cdn.jsdelivr.net/gh/dylanNew/live2d/webgl/Live2D/lib/live2d.min.js

设置这两个文件后,可以支持所有版本的Live2D模型。

### 背景图片设置

- 在 `public/bg-c.png` 更改背景圖片。請不要更改名稱。

## 相關文章

- [今天成為AITuber開發者 | Nike-chan](https://note.com/nike_cha_n/n/ne98acb25e00f)
Expand Down Expand Up @@ -338,6 +329,9 @@ Live2D提供了一个名为Cubism的库作为开发SDK,目前存在Cubism 2.1
<a href="https://github.com/MojaX2" title="MojaX2">
<img src="https://github.com/MojaX2.png" width="40" height="40" alt="MojaX2">
</a>
<a href="https://github.com/micchi99" title="micchi99">
<img src="https://github.com/micchi99.png" width="40" height="40" alt="micchi99">
</a>
</p>

以及多位匿名贊助者
Expand Down
Loading