ahadiff

Learn from your vibe coding instead of just clicking Accept. AhaDiff turns each AI diff into a code-verified lesson, quiz, and review. · 别再无脑 vibe coding 啦

What is ahadiff?

Learn from your vibe coding instead of just clicking Accept. AhaDiff turns each AI diff into a code-verified lesson, quiz, and review. · 别再无脑 vibe coding 啦!让你从 vibe coding 中学到真东西。每次改动都变成能查证的课程、测验和复习。

Overview of ahadiff

What it is

AhaDiff (知返) is a tool that helps users learn from code changes. Instead of just accepting AI-generated diffs, it turns each diff into a code-verified lesson, quiz, and review. It works with Git changes, two file versions, a pasted diff, a saved snapshot, or one Markdown document. It keeps lessons and review history in the working folder. It can be used without Git for file, patch, snapshot, and document learning.

Key features

  • Five ways to start in the WebUI: Git changes, two files, a pasted diff, a saved snapshot, or one Markdown document.
  • Saved snapshots: save an earlier file as a local comparison reference and compare it with a later version.
  • Document and format evidence: study one Markdown document, or follow citations to Markdown sections, Notebook cells, and JSON/TOML/YAML key paths in a comparison.
  • Active transfer practice: request open questions that ask to predict a result, complete a similar example, or explain an error; compare attempt with reference and rate understanding.
  • Clearer model controls: settings distinguish model default from turning thinking off, show only supported controls, and preview model limits before saving.

Use cases

  • Learn from your own bug fixes, reviewed commits, or AI edits.
  • Study a colleague's code changes or a review patch.
  • Analyze changes in code, SQL, configuration, Markdown, or Notebook versions.
  • Use without Git: compare two text files, paste a unified diff, or study a single Markdown document.

Getting started

Install AhaDiff with Python 3.11+ using pipx or uv tool: bash pipx install ahadiff # or uv tool install ahadiff Start the WebUI in a working folder: bash ahadiff serve This opens http://127.0.0.1:8765. Add a model provider in Settings, then choose a source to start learning.

License and pricing

AhaDiff is open source under the MIT license. No pricing information is stated beyond being open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/agi-is-going-to-arriveahadiff.svg)](https://yunodb.com/tools/agi-is-going-to-arriveahadiff?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/agi-is-going-to-arriveahadiff?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/agi-is-going-to-arriveahadiff.svg" alt="Featured on YunoDB" height="20"></a>