Skip to content

sinit - command line shiny Spring Boot project initialzer πŸš€

License

Notifications You must be signed in to change notification settings

maciejwalkowiak/sinit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

sinit

sinit - command line shiny Spring Boot project initialzer πŸš€

Highlights

  • generates new project from https://start.spring.io
  • adds option to create a new Git repository and push to Github
  • adds option to open project in Intellij IDA or Gitpod

sinit in action

Installation

At this stage only Homebrew packages are available:

$ brew tap maciejwalkowiak/sinit
$ brew install sinit

Interested in making package for other operating systems? Go ahead πŸ™‚

Once the package is installed, just run sinit in your terminal.

How does it work?

Check sinit.sh file in the repository - I think it is quite straightforward.

The basic idea is - it uses what's offered in https://start.spring.io - so if new Spring Boot version is released, there is no need to upgrade the sinit package.

It uses Github CLI to create the repository, and gum for fancy UI.

To open Intellij IDEA or browser with Gitpod it calls open command which AFAIK is available only on MacOS - it may not be trivial to use it on Linux πŸ€·β€β™‚οΈ.

Contributing

If you have any ideas how to improve it, go ahead and file an issue/PR!