Files
ai-ffmpeg-cli/.github/ISSUE_TEMPLATE/bug_report.md
d-k-patel 5f54f63b13 feat: add token tracking and ASCII art interface
Add comprehensive token usage tracking and beautiful ASCII art interface
to enhance user experience and provide cost transparency.

- Add TokenTracker class for real-time token usage monitoring
- Implement ASCII art banner with pyfiglet integration
- Add cost estimation based on OpenAI pricing models
- Display real-time token usage after each AI operation
- Add 'tokens' command in interactive mode for usage statistics
- Show session summary with detailed analytics at session end

- Integrate token tracking into OpenAIProvider with optional TokenTracker
- Add pyfiglet and tiktoken dependencies to pyproject.toml
- Create ascii_art.py module for banner display functionality
- Update main.py to initialize and manage token tracking sessions
- Add session management with unique session IDs
- Implement detailed usage tables with rich formatting

- Update README.md with token tracking features and examples
- Add ASCII art banner to welcome screen documentation
- Include cost transparency and usage analytics sections
- Update version to 0.2.5 in README examples
- Remove Windows from supported OS list in bug report template

- Add comprehensive unit tests for TokenTracker functionality
- Add unit tests for ASCII art display features
- Ensure proper error handling and edge cases covered

- Real-time cost estimates displayed after each operation
- Beautiful ASCII art welcome banner that adapts to terminal width
- Session-based token tracking with detailed summaries
- Interactive 'tokens' command for on-demand usage statistics
- Rich formatted tables for better readability

Breaking Changes: None
Dependencies Added: pyfiglet>=1.0.0, tiktoken>=0.5.0
2025-08-22 11:30:11 +05:30

931 B

name, about, title, labels, assignees
name about title labels assignees
Bug report Create a report to help us improve [BUG]
bug
needs-triage

Bug Description

A clear and concise description of what the bug is.

Steps to Reproduce

  1. Run command: aiclip "..."
  2. See error: ...
  3. Expected behavior: ...

Environment

  • OS: [e.g., macOS 14.0, Ubuntu 22.04]
  • Python version: [e.g., 3.10.0]
  • aiclip version: [e.g., 0.2.2]
  • ffmpeg version: [e.g., 6.0]

Error Details

# Paste the full error message here

Additional Context

  • What were you trying to accomplish?
  • Any relevant files or configurations?
  • Does this happen with all inputs or specific ones?

Checklist

  • I've searched existing issues for duplicates
  • I've provided all required environment details
  • I've included the exact command that caused the issue
  • I've checked that ffmpeg is properly installed and accessible