This commit is contained in:
urieljarethbusiness-cpu
2026-05-17 10:14:14 -06:00
parent d8773b2508
commit 64b3d15b90
61 changed files with 7612 additions and 0 deletions
@@ -0,0 +1,15 @@
from __future__ import annotations
from pathlib import Path
from backend.app.services.markdown_builder import title_from_path
from backend.app.services.processors.base import ProcessedContent
class TextProcessor:
def process(self, path: Path) -> ProcessedContent:
return ProcessedContent(
title=title_from_path(path),
body=path.read_text(encoding="utf-8", errors="replace"),
processor="text",
)