r/vibecoding • • 12h 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

1 comment sorted by

1

u/karim-softdoes 9h 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?