frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ctx – Context manager for Cloud,K8s VPNs, SSH tunnels, secret managers

https://github.com/vlebo/ctx
2•vlebo•1h ago
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 env

Key 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/fish

Written 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.

Comments

vlebo•1h ago
roast it or love it :)

The Slow Death of Productivity: Why Time.sleep() Is Killing Your Automation

https://pypi.org/project/nano-wait/
1•LuizSeabra•41s ago•1 comments

Show HN: Collecting AI Developer Tools

https://aihunt.dev/
1•fullofdev•1m ago•0 comments

Proposal: Generic Methods for Go

https://github.com/golang/go/issues/77273
1•pansa2•1m ago•0 comments

'Organized syndicates' fraudulently access health records, lawsuit says

https://www.washingtonpost.com/health/2026/01/22/electronic-health-record-fraud-lawsuit/
1•bookofjoe•2m ago•1 comments

JWT authentication bypass in HarbourJwt via "unknown alg"

https://pentesterlab.com/blog/cve-2026-23993-harbourjwt-unknown-alg-jwt-bypass
1•mooreds•5m ago•0 comments

Justice Department Opens Criminal Probe into Silicon Valley Spy Allegations

https://www.wsj.com/us-news/law/justice-department-opens-criminal-probe-into-silicon-valley-spy-a...
1•nradov•6m ago•0 comments

Results from the 2025 Go Developer Survey

https://go.dev/blog/survey2025
2•mooreds•6m ago•0 comments

Show HN: Skill Generator – Turn terminal workflows into AI agent skills

1•ezulabs•7m ago•0 comments

A multi-entry CFG design conundrum

https://bernsteinbear.com/blog/multiple-entry/
1•ibobev•7m ago•0 comments

Infinite Random Rectangles – The Poisson Rect Process

https://www.boristhebrave.com/2026/01/22/infinite-random-rectangles-the-poisson-rect-process/
1•ibobev•8m ago•0 comments

Mana LLM OS

https://www.mana.space/
1•behzadhaghgoo•10m ago•0 comments

EV battery leader CATL set to launch first sodium-ion batteries in vehicles

https://electrek.co/2026/01/23/ev-battery-leader-plans-first-sodium-ion-batteries-passenger-cars/
1•breve•10m ago•0 comments

The Time Oxygen Almost Killed Everything [video]

https://www.youtube.com/watch?v=qERdL8uHSgI
2•mooreds•10m ago•0 comments

Zulip AI use policy and guidelines

https://zulip.readthedocs.io/en/latest/contributing/contributing.html#ai-use-policy-and-guidelines
1•Philpax•12m ago•0 comments

Ask HN: Why don't winter gloves have mechanical fingers?

1•amichail•13m ago•2 comments

Show HN: The one-stop-place for gen-alpha events

https://www.bloxrn.com
1•claude_sh_1959•13m ago•0 comments

The New "Full Stack"

https://twitter.com/ray_daze/status/2014813876878262301
2•alexjray•15m ago•0 comments

EquipmentShare (YC W15) goes public

https://www.ycombinator.com/blog/congratulations-to-equipmentshare/
5•subsequent•15m ago•2 comments

Show HN: Free Top Font Library: Bestfonts.co – Find Free Top Fonts in Seconds

https://bestfonts.co
1•LetsBuildThis•15m ago•0 comments

Tim O'Reilly – AI and the Next Economy

https://www.oreilly.com/radar/ai-and-the-next-economy/
1•rmason•15m ago•1 comments

Tiny Sand Grains May Solve 5k-Year-Old Stonehenge Mystery

https://studyfinds.org/sand-may-solve-stonehenge-mystery/
1•rmason•16m ago•0 comments

Show HN: CIE – Open-source code intelligence engine for AI coding assistants

https://github.com/kraklabs/cie
1•kraklabs•16m ago•0 comments

Urjo

https://urjo.com/
3•wawayanda•17m ago•0 comments

Breath carries clues to gut microbiome health

https://medicine.washu.edu/news/breath-carries-clues-to-gut-microbiome-health/
1•gmays•18m ago•0 comments

Wine 11.1 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://gitlab.winehq.org/wine/wine/-/releases/wine-11.1
2•neustradamus•19m ago•0 comments

Winapp, the Windows App Development CLI – Windows Developer Blog

https://blogs.windows.com/windowsdeveloper/2026/01/22/announcing-winapp-the-windows-app-developme...
1•MaysonL•20m ago•0 comments

North America divided into regions of 1M people

https://www.anita.garden/assets/na1m.png
3•owodc•23m ago•0 comments

Akin to believing light beer is a solution to alcoholism: My time at Patagonia

https://arestlesstransplant.substack.com/p/akin-to-believing-light-beer-is-a
1•chaseadam17•24m ago•0 comments

AI is poisoning itself and pushing LLMs toward collapse,but there's a cure

https://www.zdnet.com/article/ai-is-poisoning-itself-model-collapse-cure/
1•CrankyBear•29m ago•0 comments

Interfaces and Traits in C

https://antonz.org/interfaces-in-c/
2•weinzierl•34m ago•0 comments