Skip to content

nakomochi/sync-edit-google-slide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Slides Sync

ローカルJSONファイルとGoogle Slidesを双方向同期するツール

Setup

1. Google Cloud Console

  1. Google Cloud Console でプロジェクト作成
  2. APIs & ServicesEnable APIs → "Google Slides API" を有効化
  3. APIs & ServicesOAuth consent screen → 設定
    • User Type: External
    • Test users に自分のメールを追加
  4. APIs & ServicesCredentialsCreate CredentialsOAuth client ID
    • Application type: Desktop app
    • JSONをダウンロード → credentials.json としてプロジェクトルートに配置

2. 環境設定

cp .env.example .env

.env を編集:

PRESENTATION_ID=your_presentation_id_here

Presentation IDはスライドのURL https://docs.google.com/presentation/d/{PRESENTATION_ID}/edit から取得

3. 実行

bun install
bun start

初回はブラウザでGoogle認証が開く。

Usage

  • data/slides.json を編集 → Google Slidesに反映
  • Google Slidesで編集 → data/slides.json に反映(1秒以内)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors