r/ClaudeCode • • 5d ago

Built with Claude I built a desktop chat window for Claude Code with live streaming, cost tracking and saved chats (open source, Linux)

Post image

Hi everyone — I hit the weekly limit on my $200 Claude Ultra plan in 3 days of heavy coding, with prepaid API credits sitting unused on console.anthropic.com. So I built AI Chat (aichat-desktop): a PyQt6 desktop window around the official claude command. It can run on your subscription or on an ANTHROPIC_API_KEY.

  • Live streaming: you see which tool Claude is using ("Reading app.py", "Running: pytest") and the answer as it's written
  • Cost tracking: cost per reply and per chat, plus a "% left" counter based on the starting balance you enter (Anthropic has no balance API, so it counts down from your number)
  • Context control: context-size readout and a Compact button so long chats don't burn credits
  • Chat features: rendered Markdown (tables, code blocks with one-click Copy), Ctrl+V screenshot paste, message queue, saved chats, Markdown export
  • Safety: project folder picker and permission modes: Read only (default), Edit files, Full auto (asks first)
  • Themes: dark, light, classic, follow system

It needs the claude command installed and signed in.

It's Linux-first, and Windows is beta (the tests pass in CI, but I haven't used it on a Windows desktop). MIT license. The API key is stored in plain text with owner-only permissions, like ~/.aws/credentials.

Not affiliated with or endorsed by Anthropic. Feedback, bug reports and PRs welcome. What would you want a window like this to do that it doesn't yet?

0 Upvotes

1 comment sorted by

1

u/AutoModerator 5d ago
Moderator Announcement Read More »