IdeaCredIdeaCred

fmueller/scribae

82

CLI to turn Markdown notes into SEO briefs, drafts, metadata, and translations using LLMs.

What's novel

CLI to turn Markdown notes into SEO briefs, drafts, metadata, and translations using LLMs.

Code Analysis

10 files read · 3 rounds

A CLI tool that orchestrates a multi-stage LLM workflow (idea → brief → write → feedback → refine → meta → translate) to turn local Markdown notes into structured SEO content packages, with a novel offline MT + LLM post-edit translation pipeline that preserves Markdown structure.

Strengths

The translation pipeline is genuinely well-engineered: markdown-aware segmentation, protected token substitution, batched seq2seq MT with model routing (Marian/NLLB/pivot), LLM post-editing with strict structural validation, and a multi-level fallback chain. The codebase demonstrates consistent patterns across all workflow stages with typed Pydantic outputs, language enforcement, and clean separation between CLI, business logic, and prompts.

Weaknesses

The core LLM workflow stages (idea, brief, write, feedback, refine) are largely prompt engineering + pydantic-ai wrappers rather than novel algorithms — the real substance is in the translation pipeline. There's significant code duplication across the workflow modules (each repeats the same prepare_context → generate → render pattern with near-identical error handling), and the asyncio.run-in-sync pattern for LLM calls is a code smell that limits testability.

Score Breakdown

Innovation
5 (25%)
Craft
83 (35%)
Traction
8 (15%)
Scope
80 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+8
Polish+0
Releases+4
Has License+5
Code Quality+24
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+3
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+6
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

131

Contributors

2

Files

83

Active weeks

13

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

Apache-2.0