- alexa-api/: Echo デバイスに TTS を送る Node.js API サーバー
- server.js: alexa-remote2 を使わない直接 Alexa API 実装
- GET /api/language で CSRF トークン取得
- GET /api/bootstrap でカスタマー ID 取得
- POST /api/behaviors/preview で TTS 実行
- Dockerfile + docker-compose.yml: windmill_windmill-internal ネットワーク接続
- auth4.js: Amazon Japan OpenID フローで Cookie 取得(WORKING)
- scripts/alexa_speak.ts: Windmill から alexa-api を呼び出すスクリプト
Windmill (u/admin/alexa_speak) → alexa_api:3500/speak → Echo デバイス の
パスで日本語 TTS が動作することを確認済み。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
326 B
JSON
17 lines
326 B
JSON
{
|
|
"name": "alexa-api",
|
|
"version": "1.0.0",
|
|
"description": "Alexa TTS API server for Windmill integration",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"alexa-cookie2": "^5.0.3",
|
|
"alexa-remote2": "^5.0.0"
|
|
}
|
|
}
|