frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Layer – Hide your personal AI files from Git without touching gitignore

https://crates.io/crates/git-layer
3•aungsiminhtet•1h ago
I built a small CLI called layer.

It manages .git/info/exclude so you can keep local-only files in a repo without adding them to the shared .gitignore.

This came from a normal team repo problem.

People keep their own local files in a repo: API_SPEC.md, BACKEND_GUIDE.md, ARCHITECTURE_NOTES.md, CLAUDE.md, prompt files, scratch notes, temporary investigation docs, and other markdown files with custom names that are useful for one developer but should not be committed.

The usual answer is “just put it in .gitignore”, but that gets messy fast because these files are different for each person. The shared .gitignore gets bigger and noisier for everyone else.

Git already has .git/info/exclude for local-only ignore rules, but most people do not really manage it directly.

So I made a CLI for it.

Example:

cargo install git-layer

layer add API_SPEC.md BACKEND_GUIDE.md my-notes/ layer status

The files stay on disk, but disappear from git status.

One thing that also mattered for me is that tools like Claude Code, Codex, and Cursor often respect git ignore state in their repo view and file suggestions.

So even if a hidden file can still be used when referenced directly, it may stop showing up naturally in autocomplete, file pickers, or repo context. Sometimes I want those files hidden, and sometimes I want to temporarily show them again.

So it also has simple on/off commands:

layer off layer on

Another issue I ran into was history. Once a file is hidden from Git, Git cannot really help you track changes to it anymore. If an AI tool rewrites part of it badly, deletes useful content, or you want to recover an older version, normal Git history is gone.

So I added local snapshot/history for layered files too.

Still a small tool, but it has been useful for my own workflow.

Repo: https://github.com/aungsiminhtet/git-layer

Curious if other people have the same problem, or if you handle it differently.

Qwen3 512k context via TurboQuant on Mac mini

https://twitter.com/powtac/status/2037813823571194078
3•pow-tac•4m ago•0 comments

Post-Productivity

https://www.generalistcareer.com/p/post-productivity
2•millytamati•10m ago•1 comments

The Adolescence of Technology

https://www.darioamodei.com/essay/the-adolescence-of-technology#fnref:1
2•dgellow•17m ago•0 comments

Claude Mythos: A Cyber Threat

https://www.youtube.com/watch?v=JGubyPD_EU0
4•danebalia•18m ago•0 comments

Prince of Arabia for the Flipper (Cf Prince of Persia)

https://lab.flipper.net/apps/princeofarabia
2•matthewsinclair•22m ago•0 comments

Reverse-Engineering the Apollo 11 Code with AI

https://www.airealist.ai/p/reverse-engineering-the-apollo-11
4•julsimon•22m ago•0 comments

ClickWar Game

https://clickwar.ultimateteam.hu/
2•agerivagyok•22m ago•0 comments

The Comforting Lie of SHA Pinning

https://www.vaines.org/posts/2026-03-24-the-comforting-lie-of-sha-pinning/
2•chillax•23m ago•0 comments

Show HN: Immutable – Audit logs with SHA-256

https://getimmutable.dev/
3•umarey•26m ago•0 comments

I need flash USDT(trc20/erc20/bep20)

2•timiti•29m ago•0 comments

Cat Itecture: Better Cat Window Boxes

https://gwern.net/catitecture
2•gggscript•31m ago•0 comments

One endpoint. Best model. Any task

https://www.codesota.com/api-landing
2•Brosper•31m ago•1 comments

AV1's open, royalty-free promise in question as Dolby sues Snapchat over codec

https://arstechnica.com/gadgets/2026/03/av1s-open-royalty-free-promise-in-question-as-dolby-sues-...
4•pjmlp•33m ago•0 comments

Adults Lose Skills to AI. Children Never Build Them

https://www.psychologytoday.com/us/blog/the-algorithmic-mind/202603/adults-lose-skills-to-ai-chil...
4•ndr42•36m ago•1 comments

My heuristics are wrong. What now?

https://brooker.co.za/blog/2026/03/20/ic-leadership.html
2•r4um•37m ago•0 comments

Office Chair Is $50 Cheaper Than We've Seen Before

https://www.wired.com/story/branch-ergonomic-chair-pro-amazon-spring-sale-2026/
2•joozio•46m ago•0 comments

CERN uses tiny AI models burned into silicon for real-time LHC data filtering

https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_L...
15•TORcicada•48m ago•12 comments

Open Source Gave Me Everything Until I Had Nothing Left to Give

https://kennethreitz.org/essays/2026-03-18-open_source_gave_me_everything_until_i_had_nothing_lef...
5•ta988•49m ago•0 comments

Mysterious Trading Patterns Follow Trump into War

https://www.axios.com/2026/03/25/trump-iran-oil-insider-trading
2•karakoram•51m ago•1 comments

AI Research Is Getting Harder to Separate from Geopolitics

https://www.wired.com/story/made-in-china-ai-research-is-starting-to-split-along-geopolitical-lines/
3•joozio•52m ago•0 comments

Why This Jump in Gas Prices Feels Different

https://www.nytimes.com/2026/03/18/upshot/gas-prices-lookup.html
1•karakoram•53m ago•1 comments

Google to finance data center project leased to Anthropic

https://seekingalpha.com/news/4569914-google-to-finance-data-center-project-leased-to-anthropic
2•maneprajakta•57m ago•0 comments

Show HN: Spectator a cross platform DSL for cybersecurity

1•CzaxTanmay•59m ago•0 comments

I Caught a 3.4M Daily Download Supply Chain Attack

https://miles0sage.github.io/codeguard-mcp/blog.html
2•Miles0•1h ago•1 comments

The Superorganism Explained in 7 Minutes

https://natehagens.substack.com/p/why-the-world-feels-like-its-falling
2•shrubby•1h ago•1 comments

Simple English Wikipedia

https://simple.wikipedia.org/wiki/Main_Page
5•microflash•1h ago•1 comments

Building NetPulse: from MRTG replacement to something much bigger

https://as215855.net/posts/building-netpulse
1•miyuru•1h ago•0 comments

Over 11,000 munitions in 16 Days of the Iran War

https://www.rusi.org/explore-our-research/publications/commentary/over-11000-munitions-16-days-ir...
1•stubish•1h ago•0 comments

TUI for Vibe Coders

https://github.com/hritupitu/vibetui/tree/main
2•hritvikagarwal•1h ago•2 comments

Reducing our monorepo size to improve developer velocity

https://dropbox.tech/infrastructure/reducing-our-monorepo-size-to-improve-developer-velocity
2•vinhnx•1h ago•1 comments