Build Log
Projects
Open-source systems built session by session. Each project is a study in depth.
local-lib.rs
pub fn hash_file(path: &Path) -> std::io::Result<String> {
let mut f = std::fs::File::open(path)?;
let mut hasher = blake3::Hasher::new();
let mut buf = vec![0u8; 1 << 16];
loop {
let n = f.read(&mut buf)?;
if n == 0 { break; }
hasher.update(&buf[..n]);
}
Ok(hasher.finalize().to_hex().to_string())
}
Nov 2026
·
Rust
Local Lib
A Tauri + Rust desktop app that indexes your PDFs and ebooks where they sit on disk, pulls real metadata and covers, and gives you a reader built for study: annotations, OCR, offline read-aloud, notes, flashcards and full-text search. Everything stays on your machine.
Library that indexes in place
Watched folders pick up new, moved and deleted files, BLAKE3 content hashes catch duplicates, and metadata comes from embedded data, ISBN/DOI and Crossref, Open Library or Google Books.
Reader for real study
PDF, EPUB, MOBI, DjVu, DOCX and more, with highlights, ink and shapes, reflow and crop, OCR for scans, and natural offline read-aloud that can export to M4B audiobooks.
Notes, search and review
A Markdown notebook with back-links to highlights, SQLite FTS5 search across the library, FSRS flashcards, and citations in 2,800+ CSL styles.
RustTauriSQLiteReactTypeScript
lectern.rs
pub fn review(s: CardState, grade: Grade) -> CardState {
let q = f64::from(grade.quality());
let ease = (s.ease + (0.1 - (5.0 - q) * (0.08 + (5.0 - q) * 0.02)))
.max(MIN_EASE);
if grade.quality() < 3 {
return CardState { ease, interval_days: 1, repetitions: 0 };
}
// ...1 day, 6 days, then interval × ease
}
Nov 2026
·
Rust
Lectern
A Tauri + Rust desktop app that turns YouTube playlists, MIT OCW, NPTEL, OpenStax, LibreTexts and Open Yale into structured courses with offline video, timestamped notes, progress tracking and spaced repetition. All data stays on your machine.
Courses from open sources
Imports YouTube playlists (Data API or yt-dlp), MIT OCW, NPTEL, OpenStax, LibreTexts and Open Yale into modules and lessons, keeping each license and source link.
Offline study player
A download queue with resume and verification, a local Range-serving media server, and the YouTube player behind our own controls and hotkeys.
Notes, search and review
Notes anchored to a video time or a PDF page, SQLite FTS5 search across transcripts, notes and PDFs, and SM-2 flashcards.
RustTauriSQLiteReactTypeScript