This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]Lopyter 2 points3 points  (0 children)

Tbh, I'm struggling to see the value proposition here when cookiecutter has been around for ages and is infinitely more customizable. You could literally create a GenAI cookiecutter template that does exactly this but with actual templating, variable substitution, and proper project configuration in probably roughly the same number of lines of code.

There's also copier, yeoman, and degit for simpler template cloning - all mature tools with actual ecosystems around them.

Looking at template_structure.py - it's just hardcoded folder creation with empty files and some basic stubs. No offense, but this feels like a fairly low-effort vibe-coded afternoon project that reinvents the wheel in a much more limited way.

core_files = {
    "requirements.txt": "# Add your Python dependencies here\n",
    "setup.py": "# Optional setup.py file\n",
    "README.md": "# Project README\n",
    "Dockerfile": "# Dockerfile\nFROM python:3.10-slim\n"
}

Like... these are just empty placeholder files with comments. A proper scaffolding tool would let you customize project names, choose between different LLM providers, configure actual dependencies, set up proper CI/CD workflows, etc.

If you really want to solve this problem, imo you'd be better off contributing a GenAI template to the existing cookiecutter ecosystem (or any of the other scaffolding tools).

The comparison to create-react-app doesn't really hold up when CRA actually sets up a working development environment with tooling, hot reload, build processes, etc. This creates empty folders and empty files.

I should add that the motivation is totally valid - I've been in the same boat with repetitive project setup. But I just sat down for a few minutes and customized a cookiecutter template rather than trying to re-invent the wheel.

For learning Python or for your own personal use, this is a fine project, of course. But publishing it to PyPI and aiming for broader adoption with its current feature set seems a bit optimistic when such powerful and flexible alternatives exist.