Open Source Repositories
Every repository pairs production source code with illustrated architecture essays for bidirectional traceability.
01 · twn39/pylibheif
Pythonpylibheifv1.23.1
High-performance Python bindings for libheif (HEIC / AVIF / JPEG2000) via nanobind
Zero-copy Python/C++ bridge for modern HEIF containers featuring bidirectional NumPy Buffer Protocol access, >300k OPS streaming I/O, Pillow plugin integration, and a CLI toolkit.
- ›Zero-copy encoded binary export via lifetime-decoupled read-only memoryview
- ›GIL-free multi-threaded HEIC, AVIF & JPEG2000 codecs with >300k OPS stream I/O
- ›Seamless zero-copy NumPy plane sharing, Pillow plugin, and standalone wheels
uv add pylibheif02 · twn39/pyopenxlsx
Pythonpyopenxlsxv1.6.0
High-throughput Python Excel (.xlsx) binding powered by the OpenXLSX-NX C++ kernel
Delivers order-of-magnitude faster .xlsx read/write throughput and lower memory overhead than pure-Python openpyxl while preserving an idiomatic Pythonic API.
- ›C++17 native XML & ZIP streaming under the hood with ergonomic Pythonic wrappers
- ›Supports Agile encryption, streaming I/O, vector shapes, and threaded comments
- ›Ships full .pyi type stubs and prebuilt wheels across macOS, Linux, and Windows
uv add pyopenxlsx03 · twn39/codegraph-gen
Pythoncodegraph-genv1.7.0
Multi-language static codebase knowledge graph compiler built for AI Coding Agents
Parses 11 languages via tree-sitter, clusters cohesive components with Louvain community detection, and exports database-free Markdown vaults (Obsidian-style) tailored for Claude Code and Codex.
- ›Extracts cross-file calls, inheritance, and import edges across 11 languages via tree-sitter
- ›Detects architectural God Nodes, circular file imports, and mutual recursion cycles
- ›Stat-First incremental caching and generated AGENTS.md protocols with zero LLM API cost
Architecture notes in progress
uv tool install codegraph-gen04 · twn39/yt-dlp-qt-gui
Pythonyt-dlp-qt-guiv0.7.0
Lightweight, modern cross-platform desktop client built on PySide6 and yt-dlp
Wraps yt-dlp format probing, stream muxing, subtitle embedding, and proxy routing inside a responsive multi-threaded PySide6 desktop interface across macOS, Windows, and Linux.
- ›Non-blocking QThread worker architecture keeps 60fps UI responsiveness under concurrent downloads
- ›Supports 1,000+ streaming sites (YouTube, Bilibili, Vimeo) with automatic FFmpeg stream merging
- ›Bilingual UI, resumeable task queues, codec/resolution presets, and clipboard monitoring
Architecture notes in progress
uv sync && uv run python main.py05 · twn39/OpenXLSX-NX
C++OpenXLSX-NXv1.12.1
Next-generation security-hardened C++17 library for high-speed .xlsx processing
An actively engineered C++17 continuation of OpenXLSX featuring enterprise fuzz-hardening, AST formula calculation, style deduplication, agile encryption, and low-memory streaming.
- ›Hardened against malformed OOXML inputs with LLVM libFuzzer plus ASan/UBSan verification
- ›Built-in AST formula engine, automatic style deduplication, and high-throughput streaming
- ›Minimal external dependencies with clean CMake integration across all major compilers
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build06 · twn39/tex2math
Rusttex2mathv2.4.1
Blazing-fast, zero-copy Rust compiler & CLI converting LaTeX math to native MathML
Combines full AST parsing via winnow combinators with KaTeX-grade symbol dictionaries to emit standards-compliant MathML XML—rendering complex math in modern browsers with zero client JS.
- ›Slice-oriented winnow parser combinator AST handles deeply nested fractions, radicals & matrices
- ›Emits native browser MathML (Chrome 109+, Safari, Firefox) eliminating heavy JS math runtimes
- ›Pure Rust with resilient error recovery—ideal for SSR pipelines, CLIs, and WebAssembly targets
cargo add tex2math