ローカルJSONファイルとGoogle Slidesを双方向同期するツール
- Google Cloud Console でプロジェクト作成
- APIs & Services → Enable APIs → "Google Slides API" を有効化
- APIs & Services → OAuth consent screen → 設定
- User Type: External
- Test users に自分のメールを追加
- APIs & Services → Credentials → Create Credentials → OAuth client ID
- Application type: Desktop app
- JSONをダウンロード →
credentials.jsonとしてプロジェクトルートに配置
cp .env.example .env.env を編集:
PRESENTATION_ID=your_presentation_id_here
Presentation IDはスライドのURL
https://docs.google.com/presentation/d/{PRESENTATION_ID}/editから取得
bun install
bun start初回はブラウザでGoogle認証が開く。
data/slides.jsonを編集 → Google Slidesに反映- Google Slidesで編集 →
data/slides.jsonに反映(1秒以内)