Skip to content

Commit 0a42934

Browse files
authored
Merge pull request #39 from zinja-coder/banner
feat: implemented banner for ASCII title, version
2 parents 74e9a4a + 2e8dc26 commit 0a42934

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

src/main/java/jadx/gui/plugins/JadxAIMCP.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
import java.util.prefs.Preferences;
5353
import java.util.function.Function;
5454

55+
// Importing custom banner string
56+
import jadx.gui.plugins.JadxAIMCPBanner;
57+
5558
public class JadxAIMCP implements JadxPlugin {
5659
private MainWindow mainWindow;
5760
private Javalin app;
@@ -240,8 +243,9 @@ public void start() {
240243
app.get("/rename-field", this::handleRenameField);
241244
app.get("/health", this::handleHealth);
242245

246+
logger.info(JadxAIMCPBanner.banner);
243247
logger.info(
244-
"// -------------------- JADX AI MCP PLUGIN -------------------- //\n - By Jafar Pathan (https://github.com/zinja-coder)\n - To Report Issues : https://github.com/zinja-coder/jadx-ai-mcp\n\n");
248+
"// -------------------- JADX AI MCP PLUGIN -------------------- //\n\n");
245249
logger.info("JADX AI MCP Plugin HTTP Server Started at http://127.0.0.1:" + currentPort + "/");
246250
} catch (Exception e) {
247251
logger.error("JADX-AI-MCP Plugin Error: Could not start HTTP Server on. Exception: "
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package jadx.gui.plugins;
2+
3+
public class JadxAIMCPBanner {
4+
public static final String banner =
5+
"\n" +
6+
" ░█████ ░███ ░███████ ░██ ░██ ░███ ░██████ ░███ ░███ ░██████ ░█████████ \n" +
7+
" ░██ ░██░██ ░██ ░██ ░██ ░██ ░██░██ ░██ ░████ ░████ ░██ ░██ ░██ ░██ \n" +
8+
" ░██ ░██ ░██ ░██ ░██ ░██░██ ░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██ ░██ \n" +
9+
" ░██ ░█████████ ░██ ░██ ░███ ░█████████ ░██ ░██ ░████ ░██ ░██ ░█████████ \n" +
10+
"░██ ░██ ░██ ░██ ░██ ░██ ░██░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ \n" +
11+
"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ \n" +
12+
" ░██████ ░██ ░██ ░███████ ░██ ░██ ░██ ░██ ░██████ ░██ ░██ ░██████ ░██ \n" +
13+
"\n\n"+
14+
"\nAuthor -> Jafar Pathan (zinja-coder@github)"+
15+
"\nFor Issues -> https://github.com/zinja-coder/jadx-ai-mcp"+
16+
"\nPlugin Version -> v3.3.3";
17+
}

0 commit comments

Comments
 (0)