1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"repo": "aml-one/deepseekusagetracker", "files": {"README.md": {"db2210016e957c0e14fe400b6a69bdd66d016c2e": {"t": 1785746424.9921308, "n": 4457, "h": "25a114022fbca6d6", "c": "<p align=\"center\">\n <img src=\"https://github.com/aml-one/DeepSeekUsageTracker/blob/master/Images/deepseek.png?raw=true\" width=\"96\" alt=\"DeepSeek Usage Tracker\">\n</p>\n\n<h1 align=\"center\">DeepSeek Usage Tracker</h1>\n\n<p align=\"center\">\n A tiny desktop widget that shows your DeepSeek API balance at a glance.<br>\n Always on top. Dark themed. Updates automatically.\n</p>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/badge/platform-Windows%2010%2B-blue?style=flat-square\" alt=\"Platform\">\n <img src=\"https://img.shields.io/badge/.NET-10.0-blueviolet?style=flat-square\" alt=\".NET\">\n <img src=\"https://img.shields.io/badge/license-MIT-green?style=flat-square\" alt=\"License\">\n</p>\n\n---\n\n## What is this?\n\nA lightweight **240×140 px** WPF widget that sits in the corner of your screen and periodically checks your DeepSeek API balance using the official [`/user/balance`](https://api-docs.deepseek.com/api/get-user-balance) endpoint. No bloat, no browser tab — just your remaining balance or usage percentage, always visible.\n\n### Features\n\n- **Two display modes** — toggle between balance ($) and usage percentage with an iOS-style switch\n- **Balance mode** — shows remaining funds in your DeepSeek account\n- **Percentage mode** — set your topped-up amount, see a yellow progress bar filling up as you spend\n- **Live API fetch** — calls the DeepSeek API directly with your key\n- **Automatic refresh** — configurable from 1m to 60m (default 10m)\n- **Countdown timer** — shows `04:32` or `56s` until next refresh\n- **Double-click refresh** — tap the balance to update immediately\n- **Always on top** — stays visible over other windows\n- **Borderless & draggable** — click anywhere to move it around\n- **Dark theme** — custom-styled controls, radial gradient background, no Windows chrome\n- **Status indicator** — green dot when connected, red on errors or invalid key\n- **Settings popup** — click the ⚙ gear to configure API key, display mode, topped-up amount, and refresh interval\n- **Portable** — settings stored in `%ProgramData%\\DeepSeekUsageTracker\\`\n\n### Screenshot\n\n<p align=\"center\">\n <img src=\"https://github.com/aml-one/DeepSeekUsageTracker/blob/master/widget.png?raw=true\" width=\"240\" alt=\"Widget screenshot\">\n</p>\n\n> Balance mode (left) and percentage mode (right) with progress bar.\n\n---\n\n## Download\n\nGrab the latest build from the [Executable](../Executable/) folder:\n\n<p align=\"center\">\n <a href=\"https://github.com/aml-one/DeepSeekUsageTracker/raw/refs/heads/master/Executable/DeepSeekUsageTracker.exe\">\n <strong>⬇ Download DeepSeekUsageTracker.exe</strong>\n </a>\n</p>\n\nJust double-click to run. No installer needed.\n\n> **Windows may show a SmartScreen warning** on first launch — click \"More info\" → \"Run anyway\".\n\n---\n\n## How to use\n\n### 1. Get your API key\n\nGo to [platform.deepseek.com/api_keys](https://platform.deepseek.com/api_keys) and create or copy your key. It starts with `sk-`.\n\n### 2. Configure the widget\n\n- Click the **⚙** gear icon in the bottom-right corner\n- Paste your API key into the password field\n- Choose a **display mode**:\n - **Balance** — shows remaining funds in USD\n - **Percentage** — shows used % with a progress bar (requires setting your topped-up amount)\n- Choose a refresh interval (`1m` / `5m` / `10m` / `30m` / `60m`)\n- Click **Save**\n\nThe widget immediately fetches your balance and begins counting down to the next refresh.\n\n### 3. That's it\n\n| Action | How |\n|--------|-----|\n| Move the widget | Click & drag anywhere |\n| Refresh now | Double-click the balance card |\n| Change settings | Click ⚙ |\n| Switch display mode | Settings → iOS toggle |\n| Close the widget | Alt+F4 or right-click taskbar → Close |\n\n---\n\n## Build from source\n\n```bash\ngit clone https://github.com/your-org/deepseek-usage.git\ncd deepseek-usage/DeepSeekUsageTracker\ndotnet run\n```\n\nRequires [.NET 10 SDK](https://dotnet.microsoft.com/download).\n\nTo produce a single-file executable:\n\n```bash\ndotnet publish -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o ../Executable\n```\n\n---\n\n## Tech stack\n\n| Layer | Technology |\n|-------|-----------|\n| UI | WPF (Windows Presentation Foundation) |\n| API | `GET https://api.deepseek.com/user/balance` |\n| Config | JSON in `%ProgramData%\\DeepSeekUsageTracker\\` |\n| Timer | `DispatcherTimer` with per-second countdown |\n\n---\n\n## License\n\nMIT — use it, fork it, ship it.\n\n---\n\n<p align=\"center\">\n <sub>Made by <strong>AmL</strong> · 2026</sub>\n</p>\n"}, "07a70ed5bf09d10ababbb9d917fbed4d9cd4781b": {"t": 1785764036.5289018, "n": 4387, "h": "cfa0d12f287b0553", "c": "<p align=\"center\">\n <img src=\"https://github.com/aml-one/DeepSeekUsageTracker/blob/master/Images/deepseek.png?raw=true\" width=\"96\" alt=\"DeepSeek Usage Tracker\">\n</p>\n\n<h1 align=\"center\">DeepSeek Usage Tracker</h1>\n\n<p align=\"center\">\n A tiny desktop widget that shows your DeepSeek API balance at a glance.<br>\n Always on top. Dark themed. Updates automatically.\n</p>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/badge/platform-Windows%2010%2B-blue?style=flat-square\" alt=\"Platform\">\n <img src=\"https://img.shields.io/badge/.NET-10.0-blueviolet?style=flat-square\" alt=\".NET\">\n <img src=\"https://img.shields.io/badge/license-MIT-green?style=flat-square\" alt=\"License\">\n</p>\n\n---\n\n## What is this?\n\nA lightweight **240×140 px** WPF widget that sits in the corner of your screen and periodically checks your DeepSeek API balance using the official [`/user/balance`](https://api-docs.deepseek.com/api/get-user-balance) endpoint. No bloat, no browser tab — just your remaining balance or usage percentage, always visible.\n\n### Features\n\n- **Two display modes** — toggle between balance ($) and usage percentage with an iOS-style switch\n- **Balance mode** — shows remaining funds in your DeepSeek account\n- **Percentage mode** — set your topped-up amount, see a yellow progress bar filling up as you spend\n- **Live API fetch** — calls the DeepSeek API directly with your key\n- **Automatic refresh** — configurable from 1m to 60m (default 10m)\n- **Countdown timer** — shows `04:32` or `56s` until next refresh\n- **Double-click refresh** — tap the balance to update immediately\n- **Always on top** — stays visible over other windows\n- **Borderless & draggable** — click anywhere to move it around\n- **Dark theme** — custom-styled controls, radial gradient background, no Windows chrome\n- **Status indicator** — green dot when connected, red on errors or invalid key\n- **Settings popup** — click the ⚙ gear to configure API key, display mode, topped-up amount, and refresh interval\n- **Portable** — settings stored in `%ProgramData%\\DeepSeekUsageTracker\\`\n\n### Screenshot\n\n<p align=\"center\">\n <img src=\"https://github.com/aml-one/DeepSeekUsageTracker/blob/master/widget.png?raw=true\" width=\"240\" alt=\"Widget screenshot\">\n</p>\n\n> Balance mode (left) and percentage mode (right) with progress bar.\n\n---\n\n## Download\n\nGrab the latest build from the [Executable](../Executable/) folder:\n\n<p align=\"center\">\n <a href=\"Executable/DeepSeekUsageTracker.exe\">\n <strong>⬇ Download DeepSeekUsageTracker.exe</strong>\n </a>\n</p>\n\nJust double-click to run. No installer needed.\n\n> **Windows may show a SmartScreen warning** on first launch — click \"More info\" → \"Run anyway\".\n\n---\n\n## How to use\n\n### 1. Get your API key\n\nGo to [platform.deepseek.com/api_keys](https://platform.deepseek.com/api_keys) and create or copy your key. It starts with `sk-`.\n\n### 2. Configure the widget\n\n- Click the **⚙** gear icon in the bottom-right corner\n- Paste your API key into the password field\n- Choose a **display mode**:\n - **Balance** — shows remaining funds in USD\n - **Percentage** — shows used % with a progress bar (requires setting your topped-up amount)\n- Choose a refresh interval (`1m` / `5m` / `10m` / `30m` / `60m`)\n- Click **Save**\n\nThe widget immediately fetches your balance and begins counting down to the next refresh.\n\n### 3. That's it\n\n| Action | How |\n|--------|-----|\n| Move the widget | Click & drag anywhere |\n| Refresh now | Double-click the balance card |\n| Change settings | Click ⚙ |\n| Switch display mode | Settings → iOS toggle |\n| Close the widget | Alt+F4 or right-click taskbar → Close |\n\n---\n\n## Build from source\n\n```bash\ngit clone https://github.com/your-org/deepseek-usage.git\ncd deepseek-usage/DeepSeekUsageTracker\ndotnet run\n```\n\nRequires [.NET 10 SDK](https://dotnet.microsoft.com/download).\n\nTo produce a single-file executable:\n\n```bash\ndotnet publish -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o ../Executable\n```\n\n---\n\n## Tech stack\n\n| Layer | Technology |\n|-------|-----------|\n| UI | WPF (Windows Presentation Foundation) |\n| API | `GET https://api.deepseek.com/user/balance` |\n| Config | JSON in `%ProgramData%\\DeepSeekUsageTracker\\` |\n| Timer | `DispatcherTimer` with per-second countdown |\n\n---\n\n## License\n\nMIT — use it, fork it, ship it.\n\n---\n\n<p align=\"center\">\n <sub>Made by <strong>AmL</strong> · 2026</sub>\n</p>\n"}, "a18a7987355dc2b170d6fcd07a2719e479ad1fa1": {"t": 1785764037.9700785, "n": 4267, "h": "2e0bae6f24855902", "c": "<p align=\"center\">\n <img src=\"Images/deepseek.png\" width=\"96\" alt=\"DeepSeek Usage Tracker\">\n</p>\n\n<h1 align=\"center\">DeepSeek Usage Tracker</h1>\n\n<p align=\"center\">\n A tiny desktop widget that shows your DeepSeek API balance at a glance.<br>\n Always on top. Dark themed. Updates automatically.\n</p>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/badge/platform-Windows%2010%2B-blue?style=flat-square\" alt=\"Platform\">\n <img src=\"https://img.shields.io/badge/.NET-10.0-blueviolet?style=flat-square\" alt=\".NET\">\n <img src=\"https://img.shields.io/badge/license-MIT-green?style=flat-square\" alt=\"License\">\n</p>\n\n---\n\n## What is this?\n\nA lightweight **240×140 px** WPF widget that sits in the corner of your screen and periodically checks your DeepSeek API balance using the official [`/user/balance`](https://api-docs.deepseek.com/api/get-user-balance) endpoint. No bloat, no browser tab — just your remaining balance or usage percentage, always visible.\n\n### Features\n\n- **Two display modes** — toggle between balance ($) and usage percentage with an iOS-style switch\n- **Balance mode** — shows remaining funds in your DeepSeek account\n- **Percentage mode** — set your topped-up amount, see a yellow progress bar filling up as you spend\n- **Live API fetch** — calls the DeepSeek API directly with your key\n- **Automatic refresh** — configurable from 1m to 60m (default 10m)\n- **Countdown timer** — shows `04:32` or `56s` until next refresh\n- **Double-click refresh** — tap the balance to update immediately\n- **Always on top** — stays visible over other windows\n- **Borderless & draggable** — click anywhere to move it around\n- **Dark theme** — custom-styled controls, radial gradient background, no Windows chrome\n- **Status indicator** — green dot when connected, red on errors or invalid key\n- **Settings popup** — click the ⚙ gear to configure API key, display mode, topped-up amount, and refresh interval\n- **Portable** — settings stored in `%ProgramData%\\DeepSeekUsageTracker\\`\n\n### Screenshots\n\n<p align=\"center\">\n <img src=\"Images/deepseek_yellow.png\" width=\"240\" alt=\"Widget screenshot\">\n</p>\n\n> Balance mode (left) and percentage mode (right) with progress bar.\n\n---\n\n## Download\n\nGrab the latest build from the [Executable](../Executable/) folder:\n\n<p align=\"center\">\n <a href=\"../Executable/DeepSeekUsageTracker.exe\">\n <strong>⬇ Download DeepSeekUsageTracker.exe</strong>\n </a>\n</p>\n\nJust double-click to run. No installer needed.\n\n> **Windows may show a SmartScreen warning** on first launch — click \"More info\" → \"Run anyway\".\n\n---\n\n## How to use\n\n### 1. Get your API key\n\nGo to [platform.deepseek.com/api_keys](https://platform.deepseek.com/api_keys) and create or copy your key. It starts with `sk-`.\n\n### 2. Configure the widget\n\n- Click the **⚙** gear icon in the bottom-right corner\n- Paste your API key into the password field\n- Choose a **display mode**:\n - **Balance** — shows remaining funds in USD\n - **Percentage** — shows used % with a progress bar (requires setting your topped-up amount)\n- Choose a refresh interval (`1m` / `5m` / `10m` / `30m` / `60m`)\n- Click **Save**\n\nThe widget immediately fetches your balance and begins counting down to the next refresh.\n\n### 3. That's it\n\n| Action | How |\n|--------|-----|\n| Move the widget | Click & drag anywhere |\n| Refresh now | Double-click the balance card |\n| Change settings | Click ⚙ |\n| Switch display mode | Settings → iOS toggle |\n| Close the widget | Alt+F4 or right-click taskbar → Close |\n\n---\n\n## Build from source\n\n```bash\ngit clone https://github.com/your-org/deepseek-usage.git\ncd deepseek-usage/DeepSeekUsageTracker\ndotnet run\n```\n\nRequires [.NET 10 SDK](https://dotnet.microsoft.com/download).\n\nTo produce a single-file executable:\n\n```bash\ndotnet publish -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o ../Executable\n```\n\n---\n\n## Tech stack\n\n| Layer | Technology |\n|-------|-----------|\n| UI | WPF (Windows Presentation Foundation) |\n| API | `GET https://api.deepseek.com/user/balance` |\n| Config | JSON in `%ProgramData%\\DeepSeekUsageTracker\\` |\n| Timer | `DispatcherTimer` with per-second countdown |\n\n---\n\n## License\n\nMIT — use it, fork it, ship it.\n\n---\n\n<p align=\"center\">\n <sub>Made by <strong>AmL</strong> · 2026</sub>\n</p>\n"}, "f3d19677b11eb4d4fb38a01395e691efdcf4c210": {"t": 1785764039.5746546, "n": 3803, "h": "a8b4d299ee95d451", "c": "<p align=\"center\">\n <img src=\"https://github.com/aml-one/DeepSeekUsageTracker/blob/master/Images/deepseek.png?raw=true\" width=\"96\" alt=\"DeepSeek Usage Tracker\">\n</p>\n\n<h1 align=\"center\">DeepSeek Usage Tracker</h1>\n\n<p align=\"center\">\n A tiny desktop widget that shows your DeepSeek API balance at a glance.<br>\n Always on top. Dark themed. Updates automatically.\n</p>\n\n<p align=\"center\">\n <img src=\"https://img.shields.io/badge/platform-Windows%2010%2B-blue?style=flat-square\" alt=\"Platform\">\n <img src=\"https://img.shields.io/badge/.NET-10.0-blueviolet?style=flat-square\" alt=\".NET\">\n <img src=\"https://img.shields.io/badge/license-MIT-green?style=flat-square\" alt=\"License\">\n</p>\n\n---\n\n## What is this?\n\nA lightweight **240×140 px** WPF widget that sits in the corner of your screen and periodically checks your DeepSeek API balance using the official [`/user/balance`](https://api-docs.deepseek.com/api/get-user-balance) endpoint. No bloat, no browser tab — just your remaining balance, always visible.\n\n### Features\n\n- **Live balance** — calls the DeepSeek API directly with your key\n- **Automatic refresh** — configurable from 1m to 60m (default 10m)\n- **Countdown timer** — shows `04:32` or `56s` until next refresh\n- **Double-click refresh** — tap the balance to update immediately\n- **Always on top** — stays visible over other windows\n- **Borderless & draggable** — click anywhere to move it around\n- **Dark theme** — custom-styled controls, no Windows chrome\n- **Settings popup** — click the ⚙ gear to paste your API key and set the interval\n- **Portable** — settings stored in `%ProgramData%\\DeepSeekUsageTracker\\`\n\n### Screenshot\n\n<p align=\"center\">\n <img src=\"https://github.com/aml-one/DeepSeekUsageTracker/blob/master/widget.png?raw=true\" width=\"240\" alt=\"Widget screenshot\">\n</p>\n\n> Balance display with green dot (Available), countdown timer, and settings gear.\n> Dot turns red on connection errors or invalid key.\n\n---\n\n## Download\n\nGrab the latest build from the [Executable](Executable/) folder:\n\n<p align=\"center\">\n <a href=\"Executable/DeepSeekUsageTracker.exe\">\n <strong>⬇ Download DeepSeekUsageTracker.exe</strong>\n </a>\n</p>\n\nJust double-click to run. No installer needed.\n\n> **Windows may show a SmartScreen warning** on first launch — click \"More info\" → \"Run anyway\".\n\n---\n\n## How to use\n\n### 1. Get your API key\n\nGo to [platform.deepseek.com/api_keys](https://platform.deepseek.com/api_keys) and create or copy your key. It starts with `sk-`.\n\n### 2. Paste it into the widget\n\n- Click the **⚙** gear icon in the bottom-right corner\n- Paste your key into the password field\n- Choose a refresh interval (`1m` / `5m` / `10m` / `30m` / `60m`)\n- Click **Save**\n\nThe widget immediately fetches your balance and begins counting down to the next refresh.\n\n### 3. That's it\n\n| Action | How |\n|--------|-----|\n| Move the widget | Click & drag anywhere |\n| Refresh now | Double-click the balance number |\n| Change settings | Click ⚙ |\n| Close the widget | Alt+F4 or right-click taskbar → Close |\n\n---\n\n## Build from source\n\n```bash\ngit clone https://github.com/your-org/deepseek-usage.git\ncd deepseek-usage/DeepSeekUsageTracker\ndotnet run\n```\n\nRequires [.NET 10 SDK](https://dotnet.microsoft.com/download).\n\nTo produce a single-file executable:\n\n```bash\ndotnet publish -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o ../Executable\n```\n\n---\n\n## Tech stack\n\n| Layer | Technology |\n|-------|-----------|\n| UI | WPF (Windows Presentation Foundation) |\n| API | `GET https://api.deepseek.com/user/balance` |\n| Config | JSON in `%ProgramData%\\DeepSeekUsageTracker\\` |\n| Timer | `DispatcherTimer` with per-second countdown |\n\n---\n\n## License\n\nMIT — use it, fork it, ship it.\n\n---\n\n<p align=\"center\">\n <sub>Made by <strong>AmL</strong> · 2026</sub>\n</p>\n"}}}} |