frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Claude-account – switch Claude Code accounts without logging in again

https://github.com/hamzarehmandeveloper/claude-account
12•hamza_rehman•1h ago
I use separate Claude Code accounts for work and personal projects. Having to log out and go through the login flow every time I switched accounts became annoying, so I built a small CLI to solve it.

The commands are intentionally simple:

claude account add myworkaccount claude account add mypersonalaccount claude account use myworkaccount claude account current

After switching, Claude Code works normally:

claude claude "fix this bug in main.py" Repository: https://github.com/hamzarehmandeveloper/claude-account

Give it a try

Comments

pandoro•46m ago
I use this: https://gist.github.com/KMJ-007/0979814968722051620461ab2aa0...

Simple and works great but requires one alias per account

orliesaurus•41m ago
simple and easy - thank you
cowlby•33m ago
This is great. My enhancement was to create a .claude-profile file which specifies the account alias. "claude" can be aliased to read the file, set the correct env var, and launch claude.

Another benefit was if no .claude-profile file exists, claude refuses to launch.

bdemirkir•23m ago
Or use https://omp.sh and add multiple accounts. omp tracks usage and when limit is reached it uses the next account.
AlexErrant•13m ago
Sadly incompatible with Claude subs.
dotancohen•15m ago
Does it share the global ~/.claude/CLAUDE.md file? For some use case I'd like that, for others it could be problematic.
cute_boi•11m ago
Do you expect vibe-coded slop to care about such things? Also, there's already another app, https://github.com/realiti4/claude-swap, which is also vibe-coded, but it's maintained and tested.
brentmitchell25•5m ago
Another way for those who use mise. You can auto-switch accounts by directory:

~/development/account1/mise.toml

[env]

CLAUDE_CONFIG_DIR = "{{ env.HOME }}/.claude-account1"

Gemini Robotics 2 brings whole body intelligence to robots

https://deepmind.google/blog/gemini-robotics-2-brings-whole-body-intelligence-to-robots/
192•ai2027•1h ago•154 comments

Physicists Solve a Muon Mystery. Now, Old Results Don't Add Up

https://www.quantamagazine.org/physicists-solve-a-muon-mystery-now-old-results-dont-add-up-20260729/
52•ibobev•1h ago•9 comments

The Economic Benefit of Refactoring

https://martinfowler.com/articles/exploring-gen-ai/refactoring-economic-benefit.html
64•javaeeeee•1h ago•27 comments

Hacker Public Radio

https://hackerpublicradio.org/
63•bmacho•2h ago•7 comments

Why is everyone trying to build a solid-state battery?

https://www.construction-physics.com/p/why-is-everyone-trying-to-build-a
93•crescit_eundo•4h ago•112 comments

SDL_GPU minimal, single-header, high-performance 2D graphics painting library

https://github.com/n67094/sdl_gp
34•n67094•2h ago•13 comments

RFC 8890 – The Internet is for End Users (2020)

https://mnot.net/blog/2020/for_the_users
77•notarobot123•3h ago•23 comments

Launch HN: Prized (YC S26) – Let non-engineer staff build secure internal tools

https://prized.dev
47•marinoseliades•3h ago•23 comments

Upper stage impacting the moon on 2026 August 5

https://www.projectpluto.com/25010d.htm
70•ryannevius•3h ago•19 comments

Paging Through a Parquet File in DuckDB: File_row_number or Offset?

https://rusty.today/blog/paging-parquet-duckdb-file-row-number-vs-offset/
24•rustyconover•2h ago•3 comments

Show HN: Claude-account – switch Claude Code accounts without logging in again

https://github.com/hamzarehmandeveloper/claude-account
13•hamza_rehman•1h ago•8 comments

Ron Gilbert started production on Thimbleweed Park 2

https://www.grumpygamer.com/twp2_announce/
184•alberto-m•8h ago•83 comments

RCade: The Arcade Cabinet with CI/CD Deployment, Custom Graphics Card for CRT [video]

https://www.youtube.com/watch?v=W-OpIbLUOU0
17•evakhoury•19h ago•1 comments

How to Mount a Balcony Awning

https://solar.lowtechmagazine.com/2025/07/how-to-mount-a-balcony-awning/
7•karakoram•5d ago•0 comments

Are We Stuck with Lean?

https://mathoverflow.net/questions/513742/are-we-stuck-with-lean
73•jjgreen•5h ago•29 comments

Mbodi AI (YC P25) Is Hiring Robotics/Research Engineers

https://www.ycombinator.com/companies/mbodi-ai/jobs
1•chitianhao•4h ago

Building a native C# implementation of CEL engine

https://bsid.io/writing/building-a-cel-engine-for-net
32•jackedEngineer•2d ago•5 comments

Gpiozero Flow

https://bennuttall.com/blog/2026/07/gpiozero-flow/
109•benn_88•6h ago•33 comments

3D Pinball for Windows (1995)

https://98.js.org/programs/pinball/space-cadet.html
62•mushstory•5h ago•30 comments

The Alice and Bob After Dinner Speech (1984)

https://hex.ooo/library/alicebob.html
29•kamma4434•3d ago•5 comments

Go LLM SDK for streaming, tool-calling AI backends (plus frontend React lib)

https://github.com/grafana/ai-sdk
46•matryer•5h ago•13 comments

Why Don't People Use Formal Methods? (2019)

https://www.hillelwayne.com/post/why-dont-people-use-formal-methods/
92•Thom2503•4h ago•63 comments

The Glass Famine

https://edconway.substack.com/p/the-glass-famine
93•baud147258•3d ago•45 comments

Trusted URLs via Cryptographic Signatures

https://blog.certisfy.com/2026/04/trusted-urls-via-cryptographic.html
9•Edmond•2h ago•9 comments

Azulejo

https://en.wikipedia.org/wiki/Azulejo
137•Amorymeltzer•1d ago•43 comments

CosmosEscape: Taking over Every Database in Azure Cosmos DB

https://www.wiz.io/blog/cosmosescape-taking-over-every-database-in-azure-cosmos-db
41•uvuv•4h ago•10 comments

Pgtestdb's template cloning approach to testing is fast

https://brandur.org/fragments/pgtestdb
7•peterldowns•1h ago•2 comments

The first watch featuring computer functions

https://by.seiko-design.com/140th/en/topic/58.html
76•stefanv•4d ago•29 comments

You can't solve computer use by ignoring the interface

https://steelmanlabs.com/blog/computer-use-is-far-from-solved
50•mpavlov•5h ago•25 comments

Reversing Abstractions: An Existential Crisis

https://www.humprog.org/~stephen/blog/research/recovering-abstraction.html
5•tosh•2h ago•0 comments