Skip to content

Release v0.1.2: Extended Time Periods

Choose a tag to compare

@mboss37 mboss37 released this 17 Aug 15:51
· 3 commits to master since this release

πŸš€ New Features

Extended Time Periods

  • 90d: Last 90 days of usage data
  • 1y: Last 1 year of usage data
  • all: Last 5 years of usage data (maximum practical limit)

Watch Mode Improvements

  • Watch mode now works with all time periods
  • Real-time monitoring for any historical period
  • Perfect for long-term trend analysis

API Compatibility

  • Confirmed OpenAI API supports up to 5+ years of data
  • Enhanced pagination handling for longer periods
  • Improved error handling and timeouts

πŸ“¦ Downloads

Pre-built binaries available for:

  • Linux (AMD64 & ARM64)
  • macOS (Intel & Apple Silicon)
  • Windows (AMD64)

πŸ”§ Installation

# Download and install (Linux/macOS)
wget https://github.com/mboss37/tokenwatch/releases/download/v0.1.2/tokenwatch-linux-amd64
chmod +x tokenwatch-linux-amd64
sudo mv tokenwatch-linux-amd64 /usr/local/bin/tokenwatch

# Test installation
tokenwatch --version

πŸ“š Usage Examples

# New extended periods
tokenwatch usage --period 90d    # Last 90 days
tokenwatch usage --period 1y     # Last 1 year
tokenwatch usage --period all    # Last 5 years

# Watch mode with any period
tokenwatch usage -w -p 90d       # Watch 90-day period
tokenwatch usage -w -p 1y        # Watch 1-year period
tokenwatch usage -w -p all       # Watch 5-year period