The article already contains most of the information on how to do this:
Color banners
Your banner.txt files can now contain ANSI color codes. You can do crazy things like this:
If you look at the Spring docs , you can find more information on how to configure banner.txt .
So, by adding the banner.txt file to the classpath, you can add your own banner. The tile background can be changed using ${AnsiBackground.NAME} , where NAME is the name of the color. A list of colors can be found in the AnsiColor class.
Below nyan cat you can see a little text with :: Meow :: Running Spring Boot 1.3.0.RC1 :: \ΓΆ/ to create such text, you can use placeholder ${spring-boot.version} .
You can also create a banner programmatically with SpringApplication.setBanner() , but as I already installed, all this is in the docs.
The source for the real Nyan cat banner can be found on GitHub , as pointed out by Stephane .
g00glen00b Nov 19 '15 at 8:01 2015-11-19 08:01
source share