Skip to main content

Bootstrap Claude Code web environments

Project description

ccweb

Bootstrap Claude Code web environments with one command.

uvx ccweb init

Generates setup.sh, session-start.sh, diagnose.sh, and wires .claude/settings.json for your project. When you start a Claude Code web session, the VM is automatically provisioned with your selected toolchains.

Quick start

# In your project root
uvx ccweb init

# Commit and push
git add scripts/ .claude/settings.json
git commit -m "Add Claude Code web environment setup"
git push

# Start a Claude Code web session — it auto-provisions
# Then verify:
uvx ccweb doctor

Options

uvx ccweb init --toolchains node,python       # Just Node + Python
uvx ccweb init --toolchains go --extras gh    # Go with gh CLI
uvx ccweb init --force                        # Overwrite existing files
uvx ccweb init --scripts-dir ci/scripts       # Custom scripts directory

Toolchains

node, python, go, rust, ruby, java, deno, elixir, zig, dotnet, php — default: all

Extras

gh, uv, pnpm, yarn, bun, browser, sqlite, postgres, redis, docker — default: all

How it works

  1. setup.sh runs once when a new VM is created. Installs system packages, toolchains, and persists environment variables to /etc/environment.

  2. session-start.sh runs on every session start (new + resumed). Sources env vars, detects project lockfiles, and installs dependencies. Auto-runs setup.sh if the VM hasn't been provisioned yet.

  3. diagnose.sh checks what's installed, what's missing, and what's misconfigured.

  4. .claude/settings.json wires the SessionStart hook so session-start.sh runs automatically.

Web configurator

Use the interactive configurator at ccweb.nicolaeandrei.com to pick toolchains and copy the command.

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

ccweb-0.2.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

ccweb-0.2.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file ccweb-0.2.0.tar.gz.

File metadata

  • Download URL: ccweb-0.2.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for ccweb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 966683a21a19461e7087e85246f6ea7d811928611df196bf5b0813782bc1accd
MD5 d2c490ef485965fed99858184402a8e6
BLAKE2b-256 dd9f0ead5f358e23592f3f75e54adbf130656de0087a84d807face74ff75362e

See more details on using hashes here.

File details

Details for the file ccweb-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ccweb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for ccweb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed18ccc33fb0c09499f4c558db28fb9e9f93b1ffc5ed892b6caf2e5ba6416d2
MD5 e9e344ed2037ff98b13064a4b786016b
BLAKE2b-256 a49744545906d971a88fadc67b380aaa2e3e1a42825f90c7c4224cc9f15f807e

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