frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

PowerAI – A zero-dependency local terminal AI harness using Ollama

https://github.com/Luizhcrs/powerai
2•luizhcrs•1h ago

Comments

luizhcrs•1h ago
Hi HN,

I built PowerAI (open source) to solve the constant context-switching problem when working in the terminal—specifically having to pause, open a browser, and search for CLI flags, debugging syntax, or past command outputs (`lsof`, `tar`, `find`, `netstat`, etc.).

Instead of building a heavy Python-based CLI wrapper with runtime startup overhead and virtual environments, I built a native shell harness with sub-2ms latency.

Key Engineering Details: - 100% Local Inference: Runs on top of local Ollama (http://127.0.0.1:11434). Zero telemetry, no cloud calls. - Output Memory Buffer: Automatically captures rolling stdout so you can query `ai what was the port in the previous output?` without copying or pasting. - Safety Gate: Never auto-executes suggested commands. Requires explicit Enter/Y confirmation or Esc/N cancellation. - Typo Auto-Healing: Native shell error hook intercepts command-not-found errors (e.g. `mrdir` -> suggests `mkdir`). - Zero Python: Pure POSIX shell + C-compiled `jq` fallback on Unix (<2ms overhead) and native .NET on Windows.

Links: - GitHub: https://github.com/Luizhcrs/powerai - Web Simulator: https://luizhcrs.github.io/powerai/ - Documentation: https://luizhcrs.github.io/powerai/docs.html

1-Line Install: - macOS / Linux: `curl -fsSL https://raw.githubusercontent.com/Luizhcrs/powerai/main/inst... | bash` - Windows: `irm https://raw.githubusercontent.com/Luizhcrs/powerai/main/inst... | iex`

Feedback and technical critiques are very welcome!

Water Behind the Watts: The Hidden Risk of Powering Data Centers

https://www.ceres.org/resources/reports/water-behind-the-watts-the-hidden-risk-of-powering-data-c...
1•hn_acker•53s ago•0 comments

Waymo Is Coming to the EU

https://www.reuters.com/technology/waymo-begin-testing-autonomous-vehicles-munich-2026-08-25/
1•cwoebker•1m ago•0 comments

How the Legal System Is Ruining Plants [video]

https://www.youtube.com/watch?v=ZNWmy0CKePc
1•Teever•2m ago•0 comments

Skinner Box: How to Control People Habits and How Games Abuse This

https://steemit.com/gaming/@ahmadmanga/skinner-box-how-to-control-people-habits-and-how-games-abu...
1•Bluestein•3m ago•0 comments

Orbs

https://ampcode.com/notes/orbs-explained
1•tosh•3m ago•0 comments

Show HN: Typeclip – types your clipboard like a human, for screen recordings

https://github.com/cssllcio/typeclip
1•izenme•3m ago•0 comments

The AI Trade Is Becoming a Macro Trade

https://www.emergingtrajectories.com/lh/ai-trade-is-macro/
1•cl42•3m ago•0 comments

Understanding Server-side Commercial Fingerprinting [pdf]

https://www.sysnet.ucsd.edu/~voelker/pubs/server-fp-www26.pdf
1•bobbiechen•4m ago•0 comments

Turn your IG posts into T shirts

https://omeweed.com/creators
1•mmorga71•4m ago•0 comments

My Friend Aaron

https://rorz.io/writing/my-friend-aaron
4•sarreph•5m ago•0 comments

Intelligence Is the Primitive. Applications Are the Diffusion Layer

https://www.a16z.news/p/intelligence-is-the-primitive-applications
1•7777777phil•6m ago•0 comments

LatticeDB – Like SQLite but for graph databases

https://github.com/jeffhajewski/latticedb
2•smiths1999•7m ago•1 comments

I made an autonomous quadcopter for safely capturing drones over prisons etc. [video]

https://www.youtube.com/watch?v=u2dsefy-Dsc
2•avolare•8m ago•0 comments

Show HN: Is this the limit of what a solo founder can build?

https://limitpixel.com/
1•truth_behold•8m ago•0 comments

I made a list of developer programs

https://pran.sh/blog/awesome-developer-programs
1•snorlaxmorlax•11m ago•0 comments

Freedom to Handcraft Software

https://rohanrd.mataroa.blog/blog/freedom-to-handcraft-software/
1•quaintdev•14m ago•0 comments

Do Minimum Wages Help Workers in Poor and Low-Income Families?

https://www.nber.org/papers/w35628
1•paulpauper•14m ago•0 comments

Disabling the lid sensor on a ThinkPad P14s Gen4

https://blog.melnib.one/2026/08/23/disabling-the-lid-sensor-on-a-thinkpad-p14s-gen4/
1•speckx•14m ago•0 comments

Show HN: Offer discounts and get more visitors

https://outdiscount.lol/
1•devarifhossain•14m ago•0 comments

Re: Re: Re: Pritchard on Liberal Happiness

https://www.astralcodexten.com/p/re-re-re-pritchard-on-liberal-happiness
1•paulpauper•14m ago•0 comments

Fake GTA 6 Extended Look and demo sites deliver an infostealer

https://www.malwarebytes.com/blog/threat-intel/2026/08/fake-gta-6-extended-look-and-demo-sites-de...
1•Alephinitesimal•14m ago•0 comments

Programmer Science Fiction

https://stoates.substack.com/p/programmer-science-fiction
1•paulpauper•14m ago•0 comments

A hosted platform for Epic Game's lore VCS

https://lorepit.com/
1•forelle2•16m ago•1 comments

Validation Drone-Based, Glaciogenic Cloud Seeding in the Kenai Peninsula

https://www.rainmaker.com/blog/alaska-validation-report
1•ridiculous_leke•17m ago•0 comments

The ArtQrCode a twist on the classic black and white Quick Response Code

https://art-qrcode.com/
2•Bluestein•18m ago•0 comments

Knowledge Compressor

https://githubnext.com/posts/knowledge-compressor/
4•Mappleton•18m ago•1 comments

Gamma acquires Accel-backed design startup Lica

https://techcrunch.com/2026/08/25/gamma-acquires-accel-backed-design-startup-lica/
2•rbanffy•18m ago•0 comments

Show HN: Player vs. Computer – fight your computer in my web game

https://github.com/Rubinoslaw/Player-vs-Computer/
1•PolishDevelop22•18m ago•0 comments

SpaceX – Starbase, LA

https://www.spacex.com/sites/starbase-la
1•bilsbie•21m ago•0 comments

Do I buy that Texas could turn blue?

https://www.natesilver.net/p/do-i-really-buy-that-texas-could
3•7777777phil•22m ago•0 comments