logoalt Hacker News

KronisLVyesterday at 7:11 PM0 repliesview on HN

A small launcher for Claude Code, to make switching between different providers and configurations easier:

https://ccode.kronis.dev/

For example, if I downgrade from Max to Pro I'd still be able to use the subscription, but also run sessions with other models (less expensive/local) as desired:

  ccode init-config          # initializes a new config file for me to set everything up
  ccode edit-config          # opens it in my editor so I can change, can also include editor as argument e.g. vim
  
  ccode                      # launches whatever my default profile is
  ccode --deepseek           # Using their API key, they have a discount this month
  ccode --openrouter         # Whatever OpenRouter model I have configured in the config file
  ccode --openrouter-preset  # Also supports OpenRouter presets e.g. if I don't want to use quantized models
  ccode --deepseek --control # launches a Remote Control session, shows up in web/desktop app as a regular session
  ccode --deepseek --auto    # overrides the default permissions, --yolo also works
  
  ... (and so on, there's more examples on the website)
Source available, pre-built binaries on itch.io, pay-what-you-want with a minimum price of 0 USD, probably get it for free first if interested in taking a look.

I finally got around to signing app for Mac, which is what this post originally was about: https://news.ycombinator.com/item?id=48075366 (the new versions will be out soon)

Also thinking that I might make it an Anthropic API --> OpenAI API proxy that allows talking to providers that don't support the Anthropic API directly, alongside allowing switching models dynamically during a session (Claude Code wouldn't even have to know about it, it'd just send requests to a local endpoint and the proxy would do the rest).

Early on, but Go is lovely to work with, mdBook is great for getting a site off the ground and I'm really surprised that more people don't use Itch.io for distributing software (or the pay-what-you-want model in general), it's dead simple!