frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ghost – Local-first agent that runs and auto-fixes Python tests

https://github.com/tripathiji1312/ghost
1•swarnim1312•1d ago
Hey,

This is my first time here, but I really need good reviews and insights from professionals and people.

I built Ghost because I have a bad habit: I write code first, tell myself I’ll write the tests later, and then never do because setting up mocks and imports breaks my flow state. I wanted a tool that acts less like a chatbot and more like a background daemon that handles the grunt work. What it does: Ghost watches your file system. When you save a .py file, it: Scans Context: Instead of dumping raw files, it uses Python’s ast module to map functions and classes to minimize token usage. Generates: Writes a pytest suite using your local LLM (Ollama) or Groq. Executes & Heals: Runs the test in a subprocess. If it fails (e.g., ModuleNotFoundError or syntax errors), it captures the stderr, feeds it back to the model, and patches the file automatically. The "Judge" Problem: A big issue with AI testing tools is that they often modify tests to match buggy code ("testing the implementation"). I added a "Judge" step: if a test fails due to a logic error (AssertionError), a separate prompt analyzes whether the source code is buggy or the test is wrong. If the code is buggy, it halts and alerts you rather than fixing the test to pass. Stack: Python (Watchdog, Rich) LLM Support: Ollama (Local), Groq (Fast), OpenAI. License: MIT It’s definitely still in beta, but the self-healing loop is working well for my side projects. I’d love feedback on the AST context injection strategy or the self-healing logic. Repo: https://github.com/tripathiji1312/ghost Pip: pip install ghosttest

Preferred Sources in [Google] Search Expands Worldwide in English

https://blog.google/feed/preferred-sources-expands/
1•healsdata•2m ago•0 comments

What AI Learned from Cancer Slides Shocked Researchers

https://scitechdaily.com/what-ai-learned-from-cancer-slides-shocked-researchers/
1•ashishgupta2209•3m ago•0 comments

Why Not Make All Car Brakes Like Hybrid Car Brakes

https://www.bogleheads.org/forum/viewtopic.php?t=465077
1•ilamont•8m ago•0 comments

Review: The Little Book of Data

https://bobonbooks.com/2025/06/16/review-the-little-book-of-data/
1•teleforce•9m ago•0 comments

Apple releases 2d to 3D image generator open source

https://twitter.com/minchoi/status/2000951667416875081
1•tomcam•12m ago•1 comments

Act-1: A Robot Foundation Model Trained on Zero Robot Data

https://www.sunday.ai/journal/no-robot-data
1•jinqueeny•12m ago•0 comments

South Korean contractors on Taiwan submarines jailed for leaking documents

https://www.reuters.com/world/china/south-korean-contractors-taiwan-submarines-jailed-leaking-doc...
2•wslh•15m ago•0 comments

Magic Link

https://megafunnels.olspsystem.com/mega_team-builders-8507?referrer_id=1586259&source=d1
1•limodave•16m ago•0 comments

Show HN: Injector – Field-tag-only dependency injection for Go

https://github.com/mickamy/injector
1•mickamy•17m ago•0 comments

Venezuela's Maduro says Trump's comments on land and oil reveal his true motives

https://www.cnn.com/2025/12/17/americas/venezuela-oil-land-trump-motives-intl-latam
4•Bender•22m ago•1 comments

Langgraph – Low Level Orchestration Framework

https://github.com/langchain-ai/langgraph
1•rammy1234•22m ago•0 comments

Ask HN: Those making $500/month on side projects in 2025 – Show and tell

1•cvbox•22m ago•1 comments

Electric soup cup that enhances salty taste

https://www.japantimes.co.jp/news/2025/09/10/japan/kirin-electric-cup-enhances-salty-taste/
1•geox•27m ago•1 comments

Mini-SGLang: A lightweight yet high-performance inference framework for LLM

https://github.com/sgl-project/mini-sglang
1•limoce•30m ago•0 comments

US admits liability in helicopter collision with American jet that killed 67

https://www.cnbc.com/2025/12/17/us-army-helicopter-collision-american-airlines-jet.html
8•pseudolus•33m ago•0 comments

Show HN: Solance – Discover Music Through Friends

https://www.solance.app/
1•Solance•38m ago•0 comments

I made a simple form for restaurants and cafes to list their location on OSM

https://localcafe.org/locations/submit/new
2•fullstacking•39m ago•2 comments

Tucker claims Trump will declare war on Venezuela tonight address to nation

https://www.dailymail.co.uk/news/article-15393611/venezuela-trump-address-nation-oval-office-war....
6•Bender•40m ago•8 comments

Apple Announces Changes to iOS in Japan

https://www.apple.com/newsroom/2025/12/apple-announces-changes-to-ios-in-japan/
4•soheilpro•44m ago•0 comments

We Built GPT Image 1.5 Because AI Image Generators Still Suck

https://loraai.io/es/gpt-image-15
1•xbaicai•45m ago•2 comments

English has become easier to read

https://www.worksinprogress.news/p/english-prose-has-become-much-easier
1•pseudolus•48m ago•0 comments

Shiver Offroad lives and operates on the move

https://www.expandable-trailers.com/na/news/shiver-offroad-mansion
1•gnabgib•49m ago•0 comments

Coinbase adds prediction markets and stocks in push to be one-stop trading app

https://www.cnbc.com/2025/12/17/coinbase-prediction-markets-stock-trading-stablecoins.html
3•PieUser•49m ago•0 comments

How China built its Manhattan Project rival west AI chips

https://www.reuters.com/world/china/how-china-built-its-manhattan-project-rival-west-ai-chips-202...
6•markus_zhang•51m ago•0 comments

Waymo and Tesla's self-driving systems are more similar than people think

https://www.understandingai.org/p/waymo-and-teslas-self-driving-systems
1•cusaitech•51m ago•1 comments

Show HN: Made a plugin where you can generate consistent illustrations in Figma

https://www.figma.com/community/plugin/1582491263591994064/ilus-ai-consistent-illustration-generator
1•Kristjan_Retter•51m ago•0 comments

How Much Water Do AI Data Centers Use?

https://undark.org/2025/12/16/ai-data-centers-water/
1•EA-3167•56m ago•0 comments

Ask HN: Alternative to lean domain search without .blog

https://2worddomain.com/
1•aleks5678•57m ago•1 comments

Dan Bongino announces he's QUIT FBI to return to popular talk show

https://www.dailymail.co.uk/news/article-15393967/Dan-Bongino-announces-hes-QUIT-FBI-return-popul...
1•Bender•1h ago•0 comments

The ATF's digitization of 900M gun sales records and the legal debate around it

https://medium.com/statute-circuit/the-atfs-quiet-digital-transformation-and-why-it-matters-8a10a...
2•delschlangen•1h ago•0 comments