Skip to content

melhalees/spring-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌱 Spring Init

A CLI tool to help you initialize Spring Boot projects interactively using spring init, enhanced with fuzzy selection (fzf) and cross-platform support.


πŸ“¦ Features

  • βœ… Detects your operating system (Linux, macOS, or Windows via WSL/Git Bash)
  • βœ… Installs fzf automatically if not available (on supported systems)
  • βœ… Downloads and installs the spring-init.sh script from GitHub
  • βœ… Adds it to your PATH automatically
  • βœ… Launches via the spring-init command
  • πŸš€ Designed for quick project scaffolding with Spring Initializr

πŸ› οΈ Installation

1. One-liner install script

Paste this in your terminal:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/melhalees/spring-init/master/install.sh)"

2. Restart your terminal or reload shell config

source ~/.bashrc  # or ~/.zshrc depending on your shell

3. Usage

After installation, simply run:

spring-init

You'll be guided through project creation steps, and you can fuzzy-search for dependencies (planned feature).

πŸ–₯️ Supported Platforms

OS Status Notes
Linux βœ… Supported Installs fzf automatically via apt if available
macOS βœ… Supported Installs fzf automatically via brew
Windows ⚠️ Partial Works via WSL or Git Bash (manual fzf install may be needed)

πŸ“‚ Where is the Script Installed?

The CLI tool will be installed to:

~/.local/bin/spring-init

🧾 License

MIT License Β© 2025 Mohamed Elhalees

🀝 Contribute

Have ideas for better prompts, features, or integration with more tools?
PRs and issues are welcome β€” feel free to contribute!

About

A CLI tool to help you initialize Spring Boot projects interactively.

Topics

Resources

Stars

Watchers

Forks

Languages