Intelligent Project Scaffolding Tool - Generate complete, production-ready project structures with AI-powered analysis.
Auto Starter CLI uses Large Language Models to analyze your project requirements and automatically generate a comprehensive folder structure, boilerplate code, configuration files, and development environment setup.
- AI-Powered Analysis: Uses LLMs (Ollama/OpenAI) to understand your project needs
- Multi-Stack Support: Frontend, Backend, and Fullstack projects
- Design Pattern Aware: MVC, Feature-based, Clean Architecture, Hexagonal
- Complete Setup: Dependencies, dev tools, Docker, CI/CD, and testing
- Technology Agnostic: Supports React, Vue, FastAPI, Django, and more
- Instant Development: Ready-to-code projects with proper structure
- Docker - Install from docker.com
- Ollama - We'll guide you through the setup
- OpenAI API key with credits
# Clone the repository
git clone https://github.com/jain-prach/auto-project-starter-cli.git
cd auto-starter-cli
# Install dependencies
pip install -r requirements.txt- Start Ollama with Docker:
# Pull and run Ollama container
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
# The tool will automatically pull qwen2.5:3b model on first use- Generate your project:
python -m auto_starter.main myapp --llm=ollama --model=qwen2.5:3b# Set your API key
export OPENAI_API_KEY="your-api-key-here"
# Generate project
python -m auto_starter.main myapp --llm=openai --model=gpt-4o-miniWhen you run the command, you'll be prompted for:
Project name? myapp
Project type (frontend, backend, fullstack)? fullstack
Design patterns (e.g., MVC, feature-based, clean-architecture, hexagonal)? feature-based
Key features (comma-separated)? auth, users, posts, comments
Frontend tech (e.g., React, Vue)? react
Backend tech (e.g., FastAPI, Django)? fastapi
Database (e.g., Postgres, MongoDB)? postgres
Testing framework (e.g., Jest, Pytest)? pytest
Package manager (e.g., npm, yarn, pip, poetry)? npm
The tool creates a complete project structure including:
- Organized directories following your chosen design pattern
- Feature-based modules for scalable architecture
- Separation of concerns (frontend/backend for fullstack)
package.json/requirements.txt- Dependencies.gitignore- Git ignore patternsREADME.md- Project documentation- Framework-specific configs (e.g.,
tsconfig.json,pyproject.toml)
Dockerfile- Container configurationdocker-compose.yml- Multi-service orchestration- Database and service configurations
- Test framework configuration
- Sample test files
- Testing utilities and helpers
- CI/CD workflows (GitHub Actions)
- Linting and formatting configs
- Development dependencies
- Entry point files with basic setup
- Feature modules with standard patterns
- API routes and components
- Database models and connections
- React, Vue, Angular
- TypeScript, JavaScript
- Tailwind CSS, Styled Components
- FastAPI, Django, Flask
- Node.js, Express
- Python, JavaScript/TypeScript
- PostgreSQL, MongoDB, MySQL
- SQLite for development
- MVC: Model-View-Controller separation
- Feature-based: Organized by business features
- Clean Architecture: Dependency inversion principles
- Hexagonal: Ports and adapters pattern
# Use different Ollama model
python -m auto_starter.main myapp --llm=ollama --model=llama2:7b
# Use different OpenAI model
python -m auto_starter.main myapp --llm=openai --model=gpt-4# OpenAI API Key
export OPENAI_API_KEY="your-key"
# Ollama endpoint (if not default)
export OLLAMA_HOST="http://custom-host:11434"# Check if Ollama is running
curl http://localhost:11434/api/tags
# Restart Ollama container
docker restart ollama
# Pull model manually
docker exec -it ollama ollama pull qwen2.5:3b- "Project directory already exists": Choose a different name or remove existing directory
- "Ollama not detected": Ensure Docker container is running on port 11434
- "Invalid JSON": Model output parsing failed - try again or use different model
The tool follows this workflow:
- Input Collection: Gathers your project requirements
- LLM Analysis: AI analyzes requirements and generates project structure
- Structure Creation: Creates folders and files based on analysis
- Code Generation: Generates boilerplate code for each module
- Configuration: Sets up development environment and tools
- Git Initialization: Initializes repository with initial commit
For a fullstack React + FastAPI project with authentication:
myapp/
βββ frontend/
β βββ src/
β β βββ features/
β β β βββ auth/
β β β βββ components/
β β β βββ hooks/
β β β βββ services/
β β βββ components/
β βββ package.json
β βββ tsconfig.json
βββ backend/
β βββ features/
β β βββ auth/
β β βββ models.py
β β βββ routes.py
β β βββ services.py
β βββ main.py
β βββ requirements.txt
βββ docker-compose.yml
βββ Dockerfile
βββ README.md
We welcome contributions! See CONTRIBUTING.md for guidelines.
- Powered by Ollama and OpenAI
- Built with Python, Typer, and Rich
- Template engine: Jinja2
Ready to scaffold your next project? Run the command and watch the magic happen!