frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Git-lazy-mount mount a repo without cloning it. Works with ordinary Git

https://github.com/mohsen1/git-lazy-mount
7•mohsen1•1h ago
Hello!

This is an attempt to make google3 style repo clones work with Git. In a HN thread a few days ago the idea sparked for me.

It can be super useful for very large repos that need to be cloned for AI coding sessions that might only need a subset of files to accomplish something.

Similar to google3, files appear to be there and can be read and edited but they are only fetched when they are needed.

It works with normal Git commands so there is no need for a new CLI.

On huge catch is, running grep will force fetch all files that grep glob matches. AI coding sessions run the Grep tool quite often. To mitigate this, git-lazy-mount comes with sgrep that offloads grepping to a remote code search engine like SourceGraph.

With this, microVMs that run AI sessions can stay lean and start up much faster.

I am guessing this is probably faster than baking in the git repo in the image but I have not measured performance of it yet. It is definitely useful if the microVM is spun up with unknown repositories (something like Claude on web).

Curious to hear your thoughts and criticism

Thanks!

Comments

mohsen1•1h ago
Link to the discussion that gave me the idea: https://news.ycombinator.com/item?id=48631726#48634278
Imustaskforhelp•1h ago
This is interesting and I always like how there are some of us who actually get some ideas from the HN thread and end up building it. Kudos.

A problem that I am interested in is porting large pieces of software from one language to another perhaps with the heavy weight lifting done by LLMs. Do you feel like it can be of use within it and how could I use it within solving this problem, I'd be curious to know.

mohsen1•1h ago
Thanks! Two thoughts:

- if this port is happening on a single machine, you are better off with work trees. You can reuse worktrees if creating a new one is expensive. https://github.com/satococoa/git-worktreeinclude can help you initing work trees smooth

- If you want the system scale on the cloud with many many VMs doing work on the repo and repo is large enough that lazy-mount gives you meaningful perf benefits, yes definitely. It can be useful. Note that if the repo is private, you will need to configure sgrep's code search backend to be reachable from the microVMs

SpaceX's newest Starmind will make earth data centers obsolete

https://www.teslarati.com/spacex-starmind-ai-satellite-vs-starlink/
1•avgarrison•1m ago•1 comments

Show HN: ShotBrief – Daily photography briefings, should you shoot tomorrow?

https://shotbrief.app/
1•bigwindow1•2m ago•0 comments

Was GLM-5.2 trained on Opus 4.5 outputs?

https://1chat.com/research/was-glm-5-2-trained-on-outputs-from-opus-4-5
1•coolspot•2m ago•0 comments

Anthropic's Claude is winning over paid consumers, a market owned by ChatGPT

https://techcrunch.com/2026/06/25/anthropics-claude-is-winning-over-paid-consumers-a-market-owned...
2•sambcui•3m ago•1 comments

Foundation and Manifesto of Futurism (1909)

https://thelastpromontory.com/texts/foundation-and-manifesto-of-futurism/
1•Schlagbohrer•3m ago•0 comments

Ceiling Fans [video]

https://www.youtube.com/watch?v=_KWdCqpXB7A
2•tosh•5m ago•0 comments

Bureaucracy Is Eating the World

https://xn--gckvb8fzb.com/bureaucracy-is-eating-the-world/
1•surprisetalk•5m ago•0 comments

Adobe is buying Topaz Labs, the AI video enhancer

https://thenextweb.com/news/adobe-acquires-topaz-labs-ai-enhancement
1•microflash•6m ago•0 comments

What Should Be Done

https://www.hyperdimensional.co/p/what-should-be-done
1•bluepeter•7m ago•0 comments

AI Makes Bad Product Decisions Look Like Finished Software

https://www.vincentschmalbach.com/ai-makes-bad-product-decisions-look-like-finished-software-cost...
1•vincent_s•7m ago•1 comments

The BBC switches off its oldest service

https://www.economist.com/britain/2026/06/25/the-bbc-switches-off-its-oldest-service
1•andsoitis•8m ago•0 comments

Show HN: A cool portfolio I made

https://ahmed-z0.pages.dev/
1•ahmed-z00•8m ago•0 comments

The AI backlash is only getting started

https://www.economist.com/leaders/2026/06/25/the-ai-backlash-is-only-getting-started
3•andsoitis•8m ago•0 comments

Six critical 9.9-CVSS vulnerabilities were found in Canonical's LXD today only

https://github.com/canonical/lxd/security
1•jabrr7•9m ago•0 comments

Vision for the Godot Engine

https://godotengine.org/article/godot-vision-statement-2026/
2•HelloUsername•11m ago•0 comments

Micron exec suggests Apple's aggressive purchasing tactics fuel memory shortage

https://9to5mac.com/2026/06/25/micron-exec-suggests-apples-aggressive-purchasing-tactics-helped-f...
1•ksec•11m ago•0 comments

Reading the news is the new smoking

https://www.experimental-history.com/p/reading-the-news-is-the-new-smoking
11•wesleyd•13m ago•5 comments

"Careless People" author sues Meta

https://www.engadget.com/2202234/careless-people-sarah-wynn-wiliams-sues-meta/
1•NordStreamYacht•14m ago•0 comments

SEC Proposes Rescission of Regulation NMS Rules

https://www.sec.gov/newsroom/press-releases/2026-54-sec-proposes-rescission-regulation-nms-rules-...
1•noitpmeder•15m ago•1 comments

What's New in Soulver 4?

https://documentation.soulver.app/whats-new-in-soulver-4
1•ksec•15m ago•0 comments

Secret gifts from public swell Treasury's coffers

https://www.bbc.co.uk/news/articles/cvgdn3134w1o
2•thunderbong•17m ago•0 comments

Going Critical

https://meltingasphalt.com/interactive/going-critical/
1•surprisetalk•20m ago•0 comments

Tom Stoppard's Arcadia saved lives

https://lithub.com/how-tom-stoppards-arcadia-literally-saved-lives/
1•speckx•20m ago•0 comments

The first open-source, agentic video production system

https://github.com/calesthio/OpenMontage
1•grajmanu•20m ago•0 comments

BadBlocker: 11M Users, One Server Call Away from Compromise

https://www.island.io/blog/badblocker-11-million-users-one-server-call-away-from-compromise
1•Tomte•21m ago•0 comments

Digital Restaurants: The rarity of the pad and pen

https://micahblachman.com/p/digital-restaurants
1•subdomain•22m ago•0 comments

Incident CVE-2026-LGTM

https://nesbitt.io/2026/06/26/incident-report-cve-2026-lgtm.html
2•mooreds•22m ago•0 comments

Show HN: Repositron a typed CRUD for SQLAlchemy with no per-table boilerplate

https://repositron.fa.dev.br/
1•felipeadeildo•24m ago•0 comments

Show HN: Novakit.tech – pre-built Claude Code skills, no prompting required

https://novakit.tech/
1•snehalpateldev•24m ago•0 comments

Show HN: Ponder – the best articles and essays on the internet

https://www.readponder.com/
2•wingdiction•24m ago•1 comments