### Build Script for Claude Usage Widget Source: https://github.com/niccolo-sabato/claude-usage-widget/blob/main/README.md This PowerShell script automates the build process for the Claude Usage Widget. It utilizes PyInstaller for packaging, copies documentation, and uses Inno Setup for creating the installer. The output is a Windows executable installer. ```powershell .\scripts\build.ps1 ``` -------------------------------- ### Browser Settings Method Source: https://github.com/niccolo-sabato/claude-usage-widget/blob/main/guide/session-key-guide.html This method requires no installation and works with any browser. It is considered a medium-difficulty option for obtaining the session key. ```html Browser Settings No installation needed, any browser Medium ▶ ``` -------------------------------- ### Chrome Extension Installation and Usage Source: https://github.com/niccolo-sabato/claude-usage-widget/blob/main/guide/session-key-guide.html Install the Claude Session Key extension for one-click copying of your session key. This method is recommended for ease of use and works with Chromium-based browsers. ```html Install the Claude Session Key extension: [Install Extension](https://chromewebstore.google.com/detail/claude-session-key/ppofmhjkjfinjpidlidepeonimpjmadj) Go to [claude.ai](https://claude.ai) and make sure you're logged in Click the Claude Session Key extension icon in your toolbar Click "Copy to Clipboard" and paste the key in the widget setup Works with Chrome, Edge, Brave, and other Chromium browsers. ``` -------------------------------- ### Developer Tools for Direct Cookie Access Source: https://github.com/niccolo-sabato/claude-usage-widget/blob/main/guide/session-key-guide.html For developers, this method allows direct access to cookies via browser developer tools. No installation is required. ```html Developer Tools For developers - direct cookie access Advanced ▶ ``` -------------------------------- ### Widget Configuration Options Source: https://github.com/niccolo-sabato/claude-usage-widget/blob/main/README.md This JSON object shows the configurable options for the Claude Usage Widget. It includes settings for session key, language, refresh rate, display modes, and update checks. Most options are managed automatically, but manual editing is possible. ```json { "session_key": "sk-ant-sid01-...", // managed automatically "language": "en", // "en" | "it" | "ja" "refresh_ms": 180000, // auto-refresh cadence "countdown_display": "dot", // "dot" (pulsing) | "full" (numeric) "show_sync_time": true, // show the last-update timestamp "essential_bars": ["session"], // bars shown in the collapsed row "always_check_updates": false, // skip the 24h update-check throttle "debug_tk_scaling": null // simulate higher DPI for layout testing } ``` -------------------------------- ### Internationalization Configuration (English) Source: https://github.com/niccolo-sabato/claude-usage-widget/blob/main/guide/session-key-guide.html This JavaScript object contains English translations for the widget's UI elements, including titles, descriptions, and button labels. ```javascript const I18N = { en: { title: 'Session Key Setup', subtitle: 'Choose a method to get your Claude.ai session key', browser_detected: 'Browser detected', m1_title: 'Chrome Extension', m1_desc: 'Install once, one click to copy', tag_recommended: 'Recommended', m1_s1: 'Install the Claude Session Key extension:', m1_btn: 'Install Extension', m1_s2: 'Go to claude.ai and make sure you\u2019re logged in', m1_s3: 'Click the Claude Session Key extension icon in your toolbar', m1_s4: 'Click "Copy to Clipboard" and paste the key in the widget setup', m1_note: 'Works with Chrome, Edge, Brave, and other Chromium browsers.', m2_title: 'Browser Settings', m2_desc: 'No installation needed, any browser', tag_medium: 'Medium', m3_title: 'Developer Tools', m3_desc: 'For developers - direct cookie access', tag_advanced: 'Advanced', settings_note: 'This method works without installing anything. The exact menu labels may vary by browser version and language.', footer_repo_btn: 'Open GitHub repo', }, // ... other languages ... } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.