Conversation
- Implement Rust backend with ccusage CLI integration for usage data - Add custom provider support with JS script execution (boa_engine) - Create React frontend with Dashboard, ProviderEditor, and Settings - Set up TanStack Query for data management and auto-polling - Add system tray with real-time usage display - Include pricing service with models.dev API integration - Add comprehensive test suite (46 unit tests) - Configure CI/CD workflows for build and release - Add Claude Code skills and agents for development workflow
- Added a new tray window configuration in tauri.conf.json for the TokenMeter Tray. - Removed unused App.css file to streamline styles. - Implemented Tray component to display usage statistics and controls. - Created DailyBarChart component for visualizing daily usage costs. - Updated Dashboard component to use new color variables and improved loading indicators. - Introduced ModelIcon component for rendering model-specific icons. - Enhanced useUsageData hook to allow background refetching of usage data. - Refactored index.css to implement a new warm apricot color theme and added glassmorphism effects. - Added utility function for formatting dates in a short format. - Modified main.tsx to conditionally render the App or Tray based on the window label.
… translations - Implemented i18n using i18next for language management. - Added language selection in settings with support for system, English, and Chinese. - Translated various components and UI elements to support English and Chinese. - Created JSON files for English and Chinese translations for common, dashboard, providers, settings, and tray. - Updated ProviderEditor and Settings components to utilize translations. - Added hooks for managing language preferences and configuration events. - Enhanced theme management to synchronize with language changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TokenMeter is a Tauri 2 + React desktop application for real-time API usage tracking and monitoring.
Features
Backend (Rust)
Frontend (React)
Internationalization (i18n)
Tray Window
Infrastructure
Technical Stack
Testing