mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-06-06 10:12:43 +00:00
c0f3e3f860
Windows-only floating, draggable circular bubble showing Claude Code and Codex usage. Derivative of CodeZeno/Claude-Code-Usage-Monitor (MIT), relicensed under Apache 2.0 with upstream attribution in NOTICE. - Ported verbatim: poller, updater, tray_icon, theme, localization, diagnose, models (~2,700 LOC) - Original: bubble (circular layered window, drag-anywhere via WM_NCHITTEST+HTCAPTION, snap-to-edge, Ctrl+Wheel resize, auto-hide on fullscreen), panel (expanded 5h/7d view), app (orchestrator, single-instance mutex, polling thread, context menu, dual-bubble lifecycle), settings (settings.json persistence) - Cargo.toml features cover Win32 GDI, HiDpi, Registry, Threading, Shell, WindowsAndMessaging, and KeyboardAndMouse
49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
Claude Code Usage Bubble
|
|
Copyright 2026 tiennm99
|
|
|
|
This product includes software developed as a derivative work of
|
|
"Claude Code Usage Monitor" (https://github.com/CodeZeno/Claude-Code-Usage-Monitor),
|
|
Copyright (c) 2026 Code Zeno Pty Ltd, originally licensed under the MIT License.
|
|
|
|
The following modules are ported with minor adaptations from that
|
|
upstream project:
|
|
|
|
src/models.rs
|
|
src/diagnose.rs
|
|
src/theme.rs
|
|
src/poller.rs
|
|
src/updater.rs
|
|
src/tray_icon.rs
|
|
src/localization/*
|
|
|
|
The floating-bubble UI (src/bubble.rs), expanded panel (src/panel.rs),
|
|
settings persistence (src/settings.rs), and orchestrator (src/app.rs)
|
|
are original to this project.
|
|
|
|
The original upstream MIT license text is reproduced below for the
|
|
ported portions:
|
|
|
|
MIT License
|
|
|
|
Copyright (c) 2026 Code Zeno Pty Ltd
|
|
|
|
Permission is hereby granted, free of charge, to any person
|
|
obtaining a copy of this software and associated documentation
|
|
files (the "Software"), to deal in the Software without restriction,
|
|
including without limitation the rights to use, copy, modify, merge,
|
|
publish, distribute, sublicense, and/or sell copies of the Software,
|
|
and to permit persons to whom the Software is furnished to do so,
|
|
subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be
|
|
included in all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|