r/vibecoding • • 3d ago

Showcase/Project I built a free, open-source DECA study app that runs on your Claude subscription (no API key)

I built **Learn DECA**, a desktop study app for DECA business competition exams, and I wanted to share how it uses Claude.

It talks to Claude through the Claude Code CLI you're already signed into, so it runs on a Pro/Max plan with no API key and no extra bill. A few things I learned making it that others might find useful:

  • **Token cost:** a one-word chat message was costing about 10,000 tokens of plan before the model said anything, almost all of it tool menus. I cut that to about 2,600 by mounting no tools, skipping generated titles and suggestions, and running the CLI with its own environment notes and slash commands switched off.
  • **Running out of plan:** it detects the usage-limit message and switches to a free helper model (a local Ollama model, or a free Gemini/Groq key) so studying can continue until the plan resets.
  • **Privacy:** Claude Code shares your account email with the model, and my tutor happily read it out when asked. So every reply is now scrubbed (emails, home-folder names, keys, phone numbers), including mid-stream, instead of trusting the prompt.
  • It also supports ChatGPT (via Codex) and Grok subscriptions.

The app itself: practice with explanations, a review queue for misses, timed mock exams, and case-study scoring, for any DECA cluster (you import your own sample exam; no exam content is included).

Code and downloads: https://github.com/archdog1219-sketch/learn-deca Happy to answer questions about the subscription approach.

1 Upvotes

2 comments sorted by

1

u/karim-softdoes 3d ago

the email thing is a good catch, I wouldn't have expected the cli to put the account email into context at all. how do you handle the mid-stream scrub when an email or key gets split across two chunks? buffering until whitespace, or something smarter?

1

u/Excellent_Drummer780 2d ago

it buffers at whitespace, but that turned out not to be enough. Each chunk is joined to what was held from the last one. Everything up to the last space is scrubbed and sent, and the tail waits, so jane + doe@gm + ail.com is caught as one email. The finished reply also gets a full scrub, so a miss could only affect what was shown live.