A line-level version control system with granular blame, pluggable diff algorithms, and AI-assisted commit tracking — built from scratch in C#.
TECH STACK
C#.NETWindows FormsSQLiteSHA-256AES-256xUnit
Li'nage is a custom-built version control system that tracks the history of individual lines rather than whole files — giving far deeper insight into how code evolves over time.
Built in C# with a four-layer clean architecture (Presentation → Controllers → Core → Infrastructure), it implements:
- Pluggable diff algorithms — Myers (O(ND)), Patient (long files), and Minimal (O(N log N))
- AI-assisted commit tracking — detects and surfaces AI-generated contributions
- Multi-protocol authentication — HTTP/HTTPS tokens, SSH keys, and OAuth
- Visual commit graph — interactive DAG visualization of branch history
- Snapshot-based recovery — cryptographic integrity checks via SHA-256, rollback to any state
- Secure credential storage — AES-256 encrypted via Windows Credential Manager
Data is persisted in SQLite for metadata and NTFS for file storage.