frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ingest.sh – A portable shell script for codebase summarization

https://github.com/hamzakat/ingest.sh
2•hamzakat•3h ago

Comments

hamzakat•3h ago
Hi there

I worked on this tool in an afternoon (with GLM 4.6) to solve a problem I'm facing: in some workspaces, AI coding assistants aren't allowed, forcing you to use web-based chatbots or local LLMs . To get meaningful help, you need to provide context about your codebase, but manually copying files is tedious.

While there are great tools like Gitingest and Repomix, they require installing packages which isn't straightforward in air-gapped work environments! I wanted something more portable - just a shell script that works anywhere you have a terminal.

GitHub: https://github.com/hamzakat/ingest.sh

alganet•3h ago
> #!/bin/bash

I know that "portable" often means that it has no dependencies and it's self-contained, like in portableapps.com.

However, in shell scripting, the word "portable" is often used to describe a script that is not tied to a specific interpreter (it's not a bash script, or a zsh script, it just runs in any bourne shell).

I often recommend people to do both (can run on any shell and it is self-contained requiring no external dependencies), portable in any way.

---

You could, in theory, distribute this as a single file that runs on both bash and powershell, by making a polyglot, such as this one:

https://gist.github.com/alganet/2c1c004d0580e8d92cc1c167fa4f...

It would be called `ingest.cmd`. If you make the names of the functions the same across both, maybe you can even de-duplicate some parts of it into the part of the polyglot that addresses both interpreters (as long as that common part only deals in calling commands passing parameters).

---

> show_help() {

> echo "Usage: $0 [options] [source directory]"

> echo ""

May I introduce you to shell HEREDOCs? They're a great way to embed text, such as help snippets, directly into code without the need to resort to multiple echo calls.

https://linuxize.com/post/bash-heredoc/

AutoAgents – a Rust-Based Multi-Agent Framework for LLM-Powered Intelligence

https://github.com/liquidos-ai/AutoAgents
1•saivishwak•59s ago•1 comments

The status symbol? A big family

https://www.ft.com/content/a4025e93-7552-4f8f-8ce2-e785a7d950a4
1•ibobev•1m ago•0 comments

Bamboozle Me, Daddy

https://www.experimental-history.com/p/bamboozle-me-daddy
1•paulpauper•3m ago•0 comments

Nvidia sells tiny new computer that puts big AI on your desktop

https://arstechnica.com/ai/2025/10/nvidia-sells-tiny-new-computer-that-puts-big-ai-on-your-desktop/
2•joshcartme•3m ago•1 comments

GitHub Bans Vmfunc

https://twitter.com/vmfunc/status/1978079375183536440
1•ivanmontillam•4m ago•0 comments

How RDMA Became the Fuel for Fast Networks (2020)

https://blogs.nvidia.com/blog/what-is-rdma/
1•transpute•4m ago•0 comments

The illusory difference between sincerity and irony

https://www.sebjenseb.net/p/the-illusory-difference-between-sincerity
1•paulpauper•4m ago•0 comments

ServiceTitan expand workforce development opportunities thru Path to Pro Program

https://www.servicetitan.com/press/servicetitan-expands-path-to-pro-program
1•NoRagrets•6m ago•0 comments

Sam Altman says ChatGPT will soon sext with verified adults

https://www.theverge.com/news/799312/openai-chatgpt-erotica-sam-altman-verified-adults
1•tortilla•8m ago•2 comments

Show HN: Scorecard – Evaluate LLMs like Waymo simulates cars

https://docs.scorecard.io/intro/overview
6•Rutledge•9m ago•0 comments

What Does the Research Say About the Phonics Advantage?

https://freddiedeboer.substack.com/p/is-phonics-instruction-a-reading
1•paulpauper•9m ago•0 comments

How valuable is AI in economic terms?

https://www.dealflowiq.com/p/how-valuable-is-ai-in-economic-terms
1•koolhead17•10m ago•0 comments

Equity Compensation: A Lottery Ticket with Terrible Odds

https://renderghost.leaflet.pub/3m24fqoisbs2n
1•flail•12m ago•0 comments

Goldman Sachs agrees to acquire $7B AUM VC firm Industry Ventures

https://www.cnbc.com/2025/10/13/goldman-sachs-agrees-to-acquire-7-billion-vc-firm-industry-ventur...
1•JumpCrisscross•13m ago•0 comments

ChatGPT Insight Tracker

https://greasyfork.org/en/scripts/552509-chatgpt-insight-tracker
3•aayushdutt•14m ago•0 comments

Protein Powders and Shakes Contain High Levels of Lead

https://www.consumerreports.org/lead/protein-powders-and-shakes-contain-high-levels-of-lead-a4206...
2•raybb•14m ago•0 comments

Show HN: Mylinux: a minimalist Linux disro by a 13 year old

https://github.com/pro1234123/Mylinux
1•Mylinux-os•15m ago•0 comments

Why we talk past each other about payments and crypto

https://www.praf.me/currency-control
1•_praf•18m ago•0 comments

SmolBSD – build your own minimal BSD system

https://smolbsd.org
1•birdculture•19m ago•0 comments

Ask HN: Are 'Comments' section in personal websites/blogs useful?

1•sahilarora535•20m ago•1 comments

Built an AI coach to stop tilt and revenge trades. Does this make sense?

https://ai-trading-discipline.replit.app/
1•KirillKaliagin•21m ago•1 comments

Looking for the red flags in Apple's Formula 1 TV deal

https://sixcolors.com/post/2025/10/looking-for-the-red-flags-in-apples-formula-1-tv-deal/
2•tosh•24m ago•0 comments

Pilates started in a WWI internment camp

https://www.popsci.com/health/how-pilates-started/
2•bookofjoe•25m ago•0 comments

Do AI Website Builders Follow UX Best Practices? We Put Them to the Test

https://www.crazyegg.com/blog/ai-website-builders-ux-test/
2•mooreds•25m ago•0 comments

I Sail and Sleep Alone at Night Far Offshore [video]

https://www.youtube.com/shorts/lpqa-1KwhrQ
2•keepamovin•26m ago•0 comments

Riot That 'Killed' Disco

https://www.bbc.com/culture/article/20230922-the-night-angry-rock-fans-destroyed-disco-music
1•lando2319•28m ago•0 comments

Opinion: Why I'm handing in my Pentagon press pass

https://www.npr.org/2025/10/14/g-s1-93297/pentagon-reporter-opinion-press-policy
20•nobody9999•28m ago•4 comments

Are Foundation Models Ready for Industrial Defect Recognition? A Reality Check

https://arxiv.org/abs/2509.20479
1•PaulHoule•34m ago•0 comments

Madagascar's military takes power, fleeing president impeached

https://www.reuters.com/world/asia-pacific/madagascars-president-dissolves-national-assembly-esca...
1•JumpCrisscross•36m ago•0 comments

Show HN:I built a free AI tool that scans and sorts financial news for traders

https://www.fxradar.live/
2•LuckyAleh•36m ago•1 comments