How nuistmrchest/blyagger works
Blyagger is a Linux-only static blog publishing tool. Its workflow reads an origin.txt article, parses text, image markers and code into an Article, renders a blog page, updates the blog index, copies image assets, then stages, commits and pushes the repository. Source excerpts show the main runtime calls; the image-copy and upload operations are invoked by the CLI, while successful remote publication depends on the configured Git environment.
Main entry points: main.rs Publisher CLI · core_logic.rs Article Parser · html_generator.rs HTML Helpers · repo.rs Index Logic
Components 14
Article Input
- Publisher CLI
src/main.rs - origin.txt
Article Rendering
- Article Parser
src/core_logic.rs - Article Components
src/core_logic.rs - HTML Helpers
src/html_generator.rs - Page Template
src/const_str.rs
Site Updates
- Article HTML
- Blog Index
- Index Logic
src/repo.rs - Image Assets
- Image Copy
src/main.rs
Publishing
- Git Upload
src/repo.rs
Other components
- Blog Author
- Git Remote
Connections 16
- Blog Author → Publisher CLI: runs
README.md - Publisher CLI → origin.txt: reads
src/main.rs - Publisher CLI → Article Parser: constructs
src/main.rs - Article Parser → Article Components: creates
src/core_logic.rs - Article Parser → HTML Helpers: formats with
src/core_logic.rs - Article Components → HTML Helpers: formats with
src/core_logic.rs - Article Parser → Page Template: assembles with
src/core_logic.rs - Publisher CLI → Article HTML: writes
src/main.rs - Publisher CLI → Blog Index: reads
src/main.rs - Publisher CLI → Index Logic: calls
src/main.rs - Index Logic → HTML Helpers: renders entry
src/repo.rs - Publisher CLI → Blog Index: writes
src/main.rs - Publisher CLI → Image Assets: copies
src/main.rs - Publisher CLI → Image Copy: invokes
src/main.rs - Publisher CLI → Git Upload: calls
src/main.rs - Git Upload → Git Remote: pushes
src/repo.rs