Initra

A cross-platform CLI for scaffolding production-ready starter projects in Python, Node.js, Ruby, and Java.

Languages 4 (Python, Node.js, Ruby, Java)
Frameworks 13 Total
Features Auto setup + GitHub + VS Code
Installation pipx install initra

Project Overview

Initra is a production-grade CLI tool that scaffolds fully-configured starter projects from a single command. Whether you're building a FastAPI microservice, an Express TypeScript server, a Next.js full-stack app, or a Rails blog, Initra generates boilerplate code, initializes git repositories, creates virtual environments, and installs dependencies—all automatically.

Core Features

  • Multiple Languages & Frameworks – Flask, FastAPI, Django, Aiohttp (Python); Express, Next.js, Koa (Node.js); Rails, Sinatra (Ruby); Spring Boot, Javalin (Java)
  • Automatic Setup – Project directory creation, Git repository initialization, framework-specific boilerplate, language-appropriate .gitignore, dependency files, dependency installation, Python virtualenv creation
  • Developer Integrations – Create GitHub repositories with --gh flag, open projects in VS Code with --open flag, TypeScript support for Express, interactive prompts
  • Flexible Options – --ts, --gh, --public, --open, --no-install, --no-git, --dry-run, --output-dir, --json, --list
  • Production-Ready Output – Working starter code with health endpoints, comprehensive README, test directories, Git commits

Supported Stacks

Python

  • Flask – Lightweight
  • FastAPI – Modern, async
  • Django – Full-featured
  • Aiohttp – Async framework

Node.js

  • Express (JS/TS)
  • Next.js
  • Koa

Ruby

  • Rails
  • Sinatra

Java

  • Spring Boot
  • Javalin

Quick Start Examples

FastAPI REST API

initra myapi python fastapi

Auto-configured with virtual environment, automatic dependency installation, ready to run with uvicorn.

TypeScript Express + GitHub

initra api node express --ts --gh --open

Scaffold with TypeScript, create GitHub repo, and open in VS Code instantly.

Next.js Full-Stack

initra webapp node next --gh --open

Full-stack React with server-side rendering, GitHub integration, and immediate development setup.

Spring Boot Microservice

initra service java springboot

Enterprise-grade microservice scaffold with Maven, dependencies pre-configured.

Rails Blog

initra blog ruby rails

Full Rails app with database migrations, asset pipeline, testing framework.

Dry-Run Preview

initra project python fastapi --dry-run

Preview exactly what will be created without writing any files.

Installation

Recommended

pipx install initra

Alternative

python3 -m pip install initra

Command Format

initra <name> <language> <framework> [options]