Back to Projects Archive (12)
Systems / DSALATEX ENGINE
Hyperleaf
Web LaTeX Typesetting Studio with Tectonic Rust Engine
Highlight 01Tectonic Typesetting
Highlight 02Rust Engine
Highlight 03In-Memory PDF Compilation
Project Overview & Problem Statement
A browser-based LaTeX editing environment powered by Node.js and the modern Tectonic typesetting engine, eliminating heavy multi-gigabyte TeX Live distributions.
The Engineering Problem:Traditional LaTeX compilation tools require 5GB+ TeX Live installations, slow CLI workflows, and complex dependency setup.
System Architecture & Data Flow
Integrates a Monaco code editor frontend streaming LaTeX source to a containerized Node.js backend. The compilation pipeline pipes raw buffers into the Tectonic CLI, caching intermediate package dependencies and outputting PDF streams with sub-second turnaround.
Architectural Solution:Engineered a web LaTeX studio leveraging the modern Tectonic engine with automated package fetching and live in-browser PDF preview.
Key Engineering Challenges
Executing untrusted LaTeX compilation without spawning long-running shell forks or risking server-side file traversal.
Implementation Decisions:Contained Tectonic within isolated Docker worker nodes with memory limits, pipe-based stream inputs, and automated dependency bundle resolution.
Feature Implementation & Capabilities
Real-time LaTeX syntax highlighting and Monaco editor integration
Sub-second compilation using the lightweight Tectonic typesetting engine
Live split-pane PDF rendering with instant scroll sync
Stateless containerized architecture ready for Docker and cloud deployment
Technology Stack
Node.jsTectonicDockerLaTeXMonaco EditorExpress
Next Project
PathFinder Nexus
Autonomous Adaptive Learning & Navigation Platform