An ATProtocol powered blogging engine.
at main 1.7 kB view raw
1//! # Blahg - ATProtocol Blog AppView 2//! 3//! Blahg is a Rust-based ATProtocol AppView that renders personal blog content. 4//! It consumes ATProtocol records to create a blog-like experience by discovering 5//! and displaying relevant posts. 6//! 7//! ## Architecture 8//! 9//! - **ATProtocol Integration**: Uses the atproto ecosystem crates for identity resolution and record processing 10//! - **Storage Layer**: Flexible storage backends including SQLite, PostgreSQL, and content storage 11//! - **Rendering**: Markdown rendering with syntax highlighting 12//! - **Event Processing**: Real-time consumption of ATProtocol events via jetstream 13//! 14//! ## Key Components 15//! 16//! - [`config`] - Configuration management 17//! - [`consumer`] - ATProtocol event consumption 18//! - [`process`] - Event processing and record handling 19//! - [`storage`] - Data persistence layer 20//! - [`render`] - Markdown rendering 21//! - [`http`] - Web server and API endpoints 22//! - [`identity`] - ATProtocol identity resolution 23//! - [`lexicon`] - ATProtocol record type definitions 24 25#![warn(missing_docs)] 26 27/// Configuration management for the Blahg application. 28pub mod config; 29/// ATProtocol event consumption and handling. 30pub mod consumer; 31/// Error types and handling for the Blahg application. 32pub mod errors; 33/// HTTP server and web API endpoints. 34pub mod http; 35/// ATProtocol identity resolution and caching. 36pub mod identity; 37/// ATProtocol record type definitions and lexicon. 38pub mod lexicon; 39/// Event processing and record handling logic. 40pub mod process; 41/// Markdown rendering with syntax highlighting. 42pub mod render; 43/// Data persistence layer with multiple backend support. 44pub mod storage; 45/// Template management and rendering. 46pub mod templates;