Spaces:
Paused
Paused
|
Download README.md from jodaro01/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/spaces/jodaro01/claude-code/resolve/main/README.md
- Command line
-
hf download hf://spaces/jodaro01/claude-code/README.md
-
curl -L -o README.md https://huggingface.co/spaces/jodaro01/claude-code/resolve/main/README.md
1.34 kB
metadata
title: Claude Code
emoji: 🧠
colorFrom: indigo
colorTo: gray
sdk: docker
app_port: 7860
pinned: false
suggested_storage: small
suggested_variables:
- name: WORKSPACE_GIT_REPO
description: >-
Optional Git repository URL to clone into /workspace/project on first
boot.
suggested_secrets:
- name: ZAI_API_KEY
description: Z.AI / GLM key used by Claude Code.
- name: SLACK_BOT_TOKEN
description: Slack bot token for Socket Mode replies.
- name: SLACK_APP_TOKEN
description: Slack app-level token for Socket Mode.
- name: ACCESS_TOKEN
description: Strong password for browser IDE access.
Claude Code on Hugging Face Spaces
This private Docker Space runs Anthropic Claude Code in a protected browser IDE/terminal.
Set these Space secrets before starting:
ZAI_API_KEYorANTHROPIC_AUTH_TOKENSLACK_BOT_TOKENSLACK_APP_TOKENACCESS_TOKEN
Optional variable:
WORKSPACE_GIT_REPO, clones into/workspace/projecton first boot
Open the Space, sign in with ACCESS_TOKEN, open the integrated terminal, then run:
claude
The image installs Claude Code via the npm package and exposes it through code-server's browser terminal. When Slack secrets are present, the Space also starts a Socket Mode Slack bot that answers app mentions with Claude Code output.