Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 10 additions & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,21 @@ bun reset-project # クリーン状態にリセット

### APIキーの設定

Jules APIキーは2つの方法で設定できます:

**方法1:環境変数(開発時に推奨)**
ルートディレクトリに`.env`ファイルを作成し、キーを追加します:
```bash
JULES_API_KEY=あなたの_api_key
```
Comment on lines +136 to +142

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここでは.env + JULES_API_KEY を推奨していますが、Expo のクライアント側で参照できる環境変数は EXPO_PUBLIC_ 接頭辞が必要です。また、このリポジトリは .env 自体は gitignore されておらず(.env*.local のみ)、API キーを誤ってコミットしやすいです。.env.local + EXPO_PUBLIC_JULES_API_KEY=... への変更と「コミットしない」注意書きを追加してください。

Copilot uses AI. Check for mistakes.

**方法2:アプリ内設定**
1. アプリを開く
2. **Settings**タブに移動
3. Jules APIキーを入力
4. キーはデバイスにセキュアに保存されます

> APIキーは[Google Cloud Console](https://console.cloud.google.com/)またはJulesの設定ページから取得できます。
> 💡 APIキーは[Google Cloud Console](https://console.cloud.google.com/)またはJulesの設定ページから取得できます。

## プロジェクト構成

Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,17 @@ bun reset-project # Reset to clean state

### API Key Setup

You can configure your Jules API key in two ways:

**Method 1: Environment Variable (Recommended for development)**
Create a `.env` file in the root directory and add your key:
```bash
JULES_API_KEY=your_api_key_here
```
Comment on lines +159 to +163

Copilot AI Mar 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section recommends .env + JULES_API_KEY, but Expo client code only receives env vars prefixed with EXPO_PUBLIC_. Additionally, .env is not currently gitignored in this repo (only .env*.local is), so this guidance can lead to accidental key commits. Consider switching the docs to .env.local with EXPO_PUBLIC_JULES_API_KEY=... and a brief “don’t commit” note.

Copilot uses AI. Check for mistakes.

**Method 2: In-App Settings**
1. Open the app
2. Navigate to **Settings** tab
2. Navigate to the **Settings** tab
3. Enter your Jules API Key
4. The key is securely stored on your device

Expand Down
Loading
Loading