Ctx
Context manager for Cloud,K8s VPNs, SSH tunnels, secret managers
Details
- External ID
- 46737344
- Source
- HN
- Company
- —
- Product
- Ctx
- Website domain
- github.com
- Launched
- Jan. 23, 2026
- Cohort
- —
- Upvotes
- 7
- Upvotes percentile
- 0.3544137022397892
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hey HN,I built ctx because I was tired of the mental overhead of managing multiple client environments. Every context switch meant: change AWS profile, switch kubeconfig, start the right SSH tunnels, set the right env vars, remember which VPN i need to connect to. Miss one step and you're deploying to the wrong environment.The problem: Existing tools are siloed. kubectx handles Kubernetes. aws-vault handles AWS. direnv needs .envrc files everywhere. SSH tunnel managers don't know about your cloud context. Nothing ties them together.ctx does one thing: Atomic context switches across all of these at once.ctx use client-a-prod# Now your shell has:# - AWS_PROFILE=client-a-prod# - KUBECONFIG pointing to their cluster# - Nomad/Consul env vars set# - SSH tunnels to their bastion started# - VPN connected# - Secrets loaded in envKey features:- Single YAML per context defines everything- CLoud SSO integration - detects expired sessions, triggers login automatically, caches tokens so switching back is instant- Browser profiles - ctx open grafana opens Chrome/Firefox with the right profile (useful when each client has different SSO/Google accounts)- SSH tunnels auto-start on context switch, auto-reconnect on failure- Production safety: color-coded prompts, confirmation required for prod contexts- Per-terminal isolation - different terminals can be in different contexts simultaneously- Shell integration for bash/zsh/fishWritten in Go, single binary, no dependencies.GitHub: [https://github.com/vlebo/ctx/]I'd love feedback on the design. The config format took a few iterations to get right - balancing simplicity with flexibility for complex setups.
Enrichment
- Theme
- self-hosted infrastructure and security tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- context manager for cloud and vpn credentials
- Manually corrected
- False
Could you build this?
Yes A CLI tool that manages environment variables, kubeconfig contexts, and cloud profile switches via straightforward shell commands and config files.
Discussion
3 comments analyzed.
Feature requests: window management
Competitors
Other products that read as similar to this one — 121 launches clear the similarity bar, closest 8 shown.
Attention rank: #77 of 122 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 85 days after the earliest competitor.
- SecretEnv · hn · 2026-05-05 · 5 upvotes · similarity 0.45
- ContextVM · hn · 2026-02-25 · 6 upvotes · similarity 0.43
- Ctx, save tokens by loading only the relevant tools · hn · 2026-06-16 · 8 upvotes · similarity 0.43
- Building a Cloud Native Kubernetes Java Client · hn · 2025-10-30 · 6 upvotes · similarity 0.42
- CLI-use · hn · 2026-04-21 · 7 upvotes · similarity 0.40
- CloudSlash · hn · 2026-01-05 · 5 upvotes · similarity 0.39
- kairon · github · 2026-09-11 · 11 upvotes · similarity 0.39
- KeyEnv · hn · 2026-01-18 · 5 upvotes · similarity 0.39
Other launches for this product
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.