trixo
v1.0.0
Published
Multi-stack project scaffolder CLI tool - Generate professional project structures for Python, JavaScript, Go, and more
Maintainers
Readme
Trixo
Multi-stack project scaffolder CLI tool
Generate professional project structures for multiple languages and frameworks with a single command.
Features
- 🚀 Multi-language support: Python, JavaScript/TypeScript, Go, Rust
- 🎯 Framework templates: FastAPI, Django, Flask, Express, Gin, and more
- ⚙️ Modular options: Choose from ORM, migrations, Docker, testing, and more
- 📦 Production-ready: Includes best practices, configurations, and documentation
- 🔧 Extensible: Easy to add new languages, frameworks, and options
Installation
npm install -g trixoOr use with npx:
npx trixo my-projectUsage
trixo [project-name]Example
# Interactive mode
trixo
# With project name
trixo my-fastapi-appSupported Stacks
Python
FastAPI - Modern, fast web framework with async support
- SQLAlchemy ORM
- Alembic migrations
- Docker & Docker Compose
- pytest testing
- Structured logging
- And more...
Django (coming soon)
Flask (coming soon)
JavaScript/TypeScript
- Express (coming soon)
Go
- Gin (coming soon)
Quick Start
Create a FastAPI project:
trixo my-api # Select: Python → FastAPI # Choose options: ORM, Migrations, Docker, Tests, etc.Navigate to your project:
cd my-apiSet up environment:
cp .env.example .env # Edit .env with your settingsInstall dependencies:
pip install -r requirements.txtRun migrations (if enabled):
alembic upgrade headStart the server:
uvicorn app.main:app --reload
Project Structure
A typical FastAPI project generated with Trixo:
my-api/
├── app/
│ ├── api/ # API routes
│ ├── core/ # Configuration & logging
│ ├── db/ # Database models & session
│ └── main.py # FastAPI application
├── tests/ # Test files
├── alembic/ # Database migrations
├── requirements.txt # Python dependencies
├── Dockerfile # Docker configuration
├── docker-compose.yml
└── README.md # Project documentationOptions
When generating a project, you can choose from various options:
- ORM - SQLAlchemy ORM for database operations
- Migrations - Alembic for database migrations
- Docker - Dockerfile for containerization
- Docker Compose - Multi-container setup with PostgreSQL
- Testing - pytest with async support
- Environment Files - .env configuration
- Production Config - Production-ready settings
- Development Config - Development settings
- Linter - ruff for code linting
- Formatter - black for code formatting
- Pre-commit Hooks - Git hooks for code quality
- Logging - Structured logging with structlog
- Monitoring - Health check endpoints
- README - Comprehensive documentation
Development
# Clone the repository
git clone https://github.com/martian56/trixo.git
cd trixo
# Install dependencies
npm install
# Build
npm run build
# Run in development
npm run devContributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
ISC
Author
Fuad Alizada
