Skip to main content

Haft

The Spring Boot CLI that Spring forgot to build

Install with one command:

curl -fsSL https://raw.githubusercontent.com/KashifKhn/haft/main/install.sh | bash

Offline First

No internet required. All Spring Initializr metadata is bundled. Work anywhere, anytime.

Interactive TUI

Beautiful terminal interface with keyboard navigation. No more copy-pasting from browsers.

Code Generation

Generate complete CRUD resources with a single command. Entity, Repository, Service, Controller, DTOs.

Smart Defaults

Sensible defaults that match industry standards. Java 21, Spring Boot 3.4, YAML config.

Back Navigation

Made a mistake? Press Esc to go back. No need to restart the entire wizard.

Dependency Search

Find any Spring starter instantly. Press / to search through all available dependencies.

See It In Action

Haft Demo

Why Haft?

Spring InitializrHaft
Project BootstrapYesYes
Works OfflineNoYes
Resource GenerationNoYes
Dependency ManagementNoYes
Terminal UINoYes
Lifecycle CompanionNoYes

Quick Start

# Install
curl -fsSL https://raw.githubusercontent.com/KashifKhn/haft/main/install.sh | bash

# Create a new project
haft init

# Generate a CRUD resource
cd my-project
haft generate resource User