# Kkurei AI Dashboard — Setup Guide

Follow this file step by step yourself, or give it to an AI assistant such as Claude Code or Codex and ask it to "help me install following this guide".

- Download page: https://kkurei.com/en/dashboard/
- Kkurei AI Dashboard is a free app that shows how much Codex and Claude Code usage you have left.
- **Kkurei Free**, included in the same folder, is a desktop cat (Grey) that shows usage gauges beneath it.
- It is not an official OpenAI or Anthropic app. Usage values stay on your computer and are never sent to a Kkurei server.

---

## Rules for the AI assistant

1. First check the user's operating system (Windows or Mac) and follow only that section.
2. Run each step's **Check** command and show the result to the user before moving on. Skip steps that are already done.
3. The user must do these things personally. Do not do them; stop and tell the user what to click:
   - Signing in to accounts in the browser (Codex, Claude)
   - Allowing operating system security prompts (Windows "PC protected", Mac "Open")
   - Clicking buttons in installer windows
4. Never ask for, display or write down passwords, auth tokens or API keys.
5. Only run the downloaded ZIP if its SHA256 matches the value on the download page.
6. Before changing system settings (PATH, installing programs), tell the user what will change.
7. If stuck, read "Troubleshooting" at the end first; if still stuck, show the user the exact error text.

---

## Windows (Windows 10/11, 64-bit)

### Step 1. Install Python

The dashboard needs Python 3.10 or later.

1. Download the latest Python 3 Windows installer (64-bit) from https://www.python.org/downloads/windows/ and run it.
2. On the first screen, tick **Add python.exe to PATH**.
3. Choose **Customize installation** and make sure **tcl/tk and IDLE** and **py launcher** are ticked (they are by default).

Check (open a new Command Prompt or PowerShell):

```
py --version
py -3 -c "import tkinter; print('tkinter ok')"
```

Success when you see `Python 3.10` or later and `tkinter ok`.

### Step 2. Download and extract the ZIP

1. On https://kkurei.com/en/dashboard/ click **Download for Windows**.
2. Right-click the ZIP → **Extract All**. Do not run files from inside the ZIP.
3. Move the extracted folder to a permanent place (for example Documents). Keep the files together in that folder.

Check: the folder contains `Kkurei Free.exe`, `AI Usage Dashboard.pyw`, `Start Dashboard.cmd` and `dashboard.py`.

### Step 3. Open the dashboard

1. The first time, double-click **Start Dashboard.cmd**. It checks Python, the black window closes, and the dashboard opens.
2. After that, double-click **AI Usage Dashboard.pyw** to open it without any console window.
3. If "Windows protected your PC" appears, click **More info → Run anyway**. The app is not code-signed.

Check: a window titled "사용량 대시보드" (Usage dashboard) opens. Anything missing appears under "처음 사용 안내" (first-use guide) at the top.

### Step 4. Connect Codex (only if you use Codex)

1. Install Codex CLI following the official guide (https://developers.openai.com/codex/quickstart). A common way is to install Node.js and run `npm install -g @openai/codex`. If the official guide differs, follow the official guide.
2. Open a new Command Prompt and sign in. The user signs in with their ChatGPT account in the browser.

```
codex login
codex login status
```

3. Click **새로고침** (Refresh) in the dashboard.

Check: the "GPT · Codex" card shows 5-hour and weekly bars. If Codex cannot be found, open ⚙ settings → **Codex 실행 파일** (Codex executable) and choose `codex.exe` (or `codex.cmd`).

### Step 5. Connect Claude Code (only if you use Claude Code)

1. Install Claude Code following the official guide (https://code.claude.com/docs/en/setup). On Windows this is usually `irm https://claude.ai/install.ps1 | iex` in PowerShell. If the official guide differs, follow the official guide.
2. Open a new Command Prompt and sign in with your Claude subscription. The user completes the browser sign-in.

```
claude auth login --claudeai
```

3. In the dashboard, open ⚙ settings → **Claude 연결** (Connect Claude). This registers a status line in Claude Code's settings that sends usage to the dashboard.
4. Run `claude` in any folder and ask one question. Usage arrives when Claude Code replies.

Check: the "Claude Code" card shows bars. Signing in to the Claude desktop app is separate from Claude Code in the terminal.

### Step 6. Show the cat

1. Click **캐릭터 켜기** (Show character) at the top of the dashboard, or double-click **Kkurei Free.exe**.
2. If "Windows protected your PC" appears, click **More info → Run anyway**.
3. If the cat does not appear, install the Microsoft Edge WebView2 Runtime (usually already on Windows 10/11).

Check: a grey cat walks on your desktop.

### Step 7. Show usage beneath the cat

1. In ⚙ settings → **꾸레이 밑에 표시** (Show under Kkurei), tick the limits you want (for example Codex · 5-hour limit).
2. Double-click the cat to open its menu; the 📊 button opens the dashboard again.

Check: the remaining amount and time until reset appear beneath the cat.

### (Optional) Start automatically

Turn on ⚙ settings → **Windows 로그인 시 자동 시작** (Start at Windows sign-in). Toggle it off and on again if you move the folder or Python.

---

## Mac (macOS 14 or later, Apple Silicon and Intel)

### Step 1. Download and extract the ZIP

1. On https://kkurei.com/en/dashboard/ click **Download for Mac** and double-click the ZIP.
2. Move the extracted folder as a whole into **Applications**. `AI Usage Dashboard.app` and `Kkurei Free.app` must stay in the same folder.

### Step 2. Check Python 3

```
python3 --version
```

If it is missing, run `xcode-select --install` (the user clicks the installer buttons).

### Step 3. Open the dashboard

1. Right-click `AI Usage Dashboard.app` → **Open**.
2. If still blocked: System Settings → Privacy & Security → **Open Anyway** for this app.

### Step 4. Connect Codex and Claude Code

Same as Windows steps 4 and 5: install from the official guides, then sign in from Terminal.

```
codex login
claude auth login --claudeai
```

The Mac version checks Claude usage by itself every 5 minutes. Click Refresh after signing in.

### Step 5. Show the cat and choose gauges

1. Click **캐릭터 켜기** (Show character). Kkurei Free may also need right-click → Open the first time.
2. In ⚙ settings → **꾸레이 밑에 표시**, tick the limits to show.

---

## Verify the download (SHA256)

The value must match the SHA256 shown on https://kkurei.com/en/dashboard/.

- Windows (PowerShell): `Get-FileHash "$HOME\Downloads\downloaded-file.zip" -Algorithm SHA256`
- Mac (Terminal): `shasum -a 256 ~/Downloads/downloaded-file.zip`

If it differs, do not open it; download again.

---

## Troubleshooting

| Problem | Fix |
|---|---|
| `py` is not found | Make sure "Add python.exe to PATH" and "py launcher" were ticked during install, then open a new Command Prompt. |
| `tkinter` is missing | Run the Python installer again → Modify → tick **tcl/tk and IDLE**. |
| Nothing happens when opening `.pyw` | Run `Start Dashboard.cmd` instead. If it fails, check `%LOCALAPPDATA%\UsageFloat\dashboard-error.log`. |
| Codex card says Codex CLI cannot be found | Run `where codex`, then pick that file in ⚙ settings → Codex 실행 파일. |
| Codex connection closed | Check `codex login status` and run `codex login` again if needed. |
| Claude card stays empty | Make sure you clicked ⚙ settings → Claude 연결 and then asked Claude Code one question. Sign in again with `claude auth login --claudeai`. |
| The cat shows but no gauge | Keep the dashboard running, make sure usage was fetched at least once, and tick an item in ⚙ settings → 꾸레이 밑에 표시. |
| Numbers show grey "확인 필요" (check needed) | The last update is more than an hour old. Refresh and check the sign-in. |
| The cat does not appear (Windows) | Install the Microsoft Edge WebView2 Runtime and run it again. |

Usage files are in `%LOCALAPPDATA%\UsageFloat` (Windows) and `~/Library/Application Support/UsageFloat` (Mac). When asking for help, never send passwords, tokens or login files — just the error text and OS version: https://kkurei.com/en/contact/
