IdeaCredIdeaCred

acathon/fastman-cli

80

A powerful command-line interface for FastAPI: Generators, Database Management, and Project Scaffolding.

What's novel

A powerful command-line interface for FastAPI: Generators, Database Management, and Project Scaffolding.

Code Analysis

8 files read · 3 rounds

A CLI tool that scaffolds complete FastAPI projects with multiple architecture patterns, generates CRUD features/models/services, installs authentication (JWT/OAuth/Keycloak/Passkey), and manages database migrations — essentially a Laravel-style artisan for the FastAPI ecosystem.

Strengths

The AST-aware injection system (injection.py) is genuinely well-designed — idempotent marker blocks, structural fallback via ast.parse, and validation-before-write ensure user files are never corrupted. The command architecture is clean with a proper registry pattern, signature DSL for help, and pattern-fit enforcement that prevents incompatible operations.

Weaknesses

The scaffolded code generation in scaffold.py uses f-strings rather than the Jinja2 template system, creating an inconsistency in the codebase and making it harder to maintain complex templates. The test suite exists (6 test files) but I couldn't verify depth; the project also lacks a proper argument parser (hand-rolled option/flag parsing in base.py is fragile compared to argparse/click).

Score Breakdown

Innovation
4 (25%)
Craft
78 (35%)
Traction
13 (15%)
Scope
83 (25%)

Signal breakdown

Innovation

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

Craft

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

Traction

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

Scope

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

Evidence

Commits

54

Contributors

2

Files

105

Active weeks

5

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

3

Forks

0

License

MIT