Skip to main content

CLI launcher for Claude Code through the claude.shop proxy.

Project description

claude-shop

A tiny CLI launcher for Claude Code that points it at the claude.shop proxy. Buy a token, install one Python package, and start coding.

Install

pip install claude-shop

You also need the claude binary on your PATH — install it via the official Claude Code instructions.

Usage

# Launch Claude Code through the proxy
claude-shop start <YOUR_TOKEN>

# Forward extra args to claude
claude-shop start <YOUR_TOKEN> --resume
claude-shop start <YOUR_TOKEN> -p "explain this repo"

# Verify the proxy is reachable
claude-shop check <YOUR_TOKEN>

# Show version
claude-shop --version

start injects two environment variables for the spawned claude process and inherits everything else from your shell:

Variable Value
ANTHROPIC_AUTH_TOKEN your token
ANTHROPIC_BASE_URL https://claudeshop.duckdns.org

The exit code of claude is propagated. Ctrl-C returns 130 as usual.

How it works

claude-shop start is a thin wrapper:

  1. Looks up claude on PATH (or the binary named in CLAUDE_SHOP_CLAUDE_BIN).
  2. Builds an env dict from your current environment plus the two proxy variables.
  3. Runs claude via subprocess.run, passing through any extra arguments.

claude-shop check issues GET https://claudeshop.duckdns.org/health so you can quickly tell whether the proxy is up. Token validity itself is checked by the proxy when claude makes its first request.

Buying a token

Tokens are sold on FunPay; see the storefront at claudeshop.duckdns.org.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_shop-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_shop-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file claude_shop-0.1.0.tar.gz.

File metadata

  • Download URL: claude_shop-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for claude_shop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 16503d6c22c62fdc6a0d34d476e3580ae38f5b2be2d508602c8c6df28772626e
MD5 b122d4d362143ad09b7486fa48948eee
BLAKE2b-256 67ab286e3acbcf84e07f88151be09d58aa520a73ee5e7461b76ba92a2bcf486b

See more details on using hashes here.

File details

Details for the file claude_shop-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: claude_shop-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for claude_shop-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 691b0aebfd45fb05d03613f65801469ae5010155a03d58eb4cfb640dde8b9c71
MD5 3f1670130aad7871e0f83254609d8426
BLAKE2b-256 88fbeedc16792da4cae0a944c2e53edc9883f5846cd5d5eb8219989b9e8d8f7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page