1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! # Scrollcast
//!
//! A fast Rust library for converting Git repositories to beautifully formatted documents.
//!
//! ## Features
//!
//! - Convert repositories to PDF, EPUB, HTML, and Markdown
//! - Syntax highlighting for 300+ programming languages
//! - Git integration with .gitignore support
//! - Pure Rust implementation with no external dependencies
//!
//! ## Example
//!
//! ```rust,no_run
//! use scrollcast::{FileProcessor, MarkdownGenerator, OutputFormat, create_renderer, DocumentMetadata};
//! use std::path::Path;
//!
//! #[tokio::main]
//! async fn main() -> anyhow::Result<()> {
//! let input_path = Path::new("./my-repo");
//! let output_path = Path::new("./output.pdf");
//!
//! // Process files
//! let mut processor = FileProcessor::new(input_path, true, Vec::new())?;
//! let files = processor.discover_files().await?;
//!
//! // Generate markdown
//! let generator = MarkdownGenerator::new();
//! let markdown = generator.generate_markdown(&files, input_path, false).await?;
//!
//! // Create renderer and convert
//! let metadata = DocumentMetadata {
//! title: "My Repository".to_string(),
//! author: "Author".to_string(),
//! created_at: chrono::Utc::now(),
//! };
//!
//! let mut renderer = create_renderer(OutputFormat::Pdf, "kate".to_string())?;
//! renderer.render(&markdown, output_path, &metadata).await?;
//!
//! Ok(())
//! }
//! ```
pub use FileProcessor;
pub use ;
pub use ;
pub use Config;
pub use Theme;