Conversation
Enable users with Langfuse Cloud accounts to use this template without Docker by adding a --cloud flag to install and validation scripts. - install-hook.sh --cloud: interactive prompts for API keys and region (EU/US/custom) with key format validation (pk-lf-*/sk-lf-*) - validate-setup.sh --cloud: skips Docker/port/openssl checks, adds cloud API health check reading LANGFUSE_HOST from settings.json - New settings-examples/cloud-settings.json for reference - README: split quick start into Cloud (Option A) and Self-Hosted (Option B) paths with comparison table and cloud troubleshooting Existing self-hosted flow is completely unchanged when flags are absent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--cloudflag toinstall-hook.shfor interactive Langfuse Cloud setup (API key prompts, region selection EU/US/custom, key format validation)--cloudflag tovalidate-setup.shto skip Docker/port/openssl checks and verify cloud API health insteadsettings-examples/cloud-settings.jsonas a cloud configuration referenceExisting self-hosted flow is completely unchanged when
--cloudflag is absent.Test plan
--cloud— behavior should be identical./scripts/install-hook.sh --cloudwith test credentials, verify~/.claude/settings.jsonhas correct valuespk-lf-/sk-lf-./scripts/validate-setup.sh --cloud --postagainst a real Langfuse Cloud instancepython3 -m pytest tests/test_hook_unit.py(no hook changes)bash -n scripts/install-hook.sh && bash -n scripts/validate-setup.sh✅🤖 Generated with Claude Code